Fandom

BioShock Wiki

Module:FeaturedArticle

2,316pages on
this wiki
Add New Page
Talk0
--<pre>
local p = {}
 
function p.FeaturedArticle( frame )
	local sTime = frame.args[1]
	local iMonthnr = os.date( "%m" )
	local iWeeknr  = os.date( "%W" )
	local iArticlenr
 
	if sTime == 'week' then
		if iWeeknr == 53 then
			iArticlenr = 52
		elseif iWeeknr == 0 then
		    iArticleNr = 1
		else
			iArticlenr = iWeeknr
		end
	else
		iArticlenr = iMonthnr
	end
	return iArticlenr
end
return p
--</pre>

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki