Fandom

BioShock Wiki

Module:FeaturedArticle

2,300pages on
this wiki
Add New Page
Talk0

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.

--<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'
		else
			iArticlenr = iWeeknr
		end
	else
		iArticlenr = iMonthnr
	end
	return iArticlenr
end
return p
--</pre>

Also on Fandom

Random Wiki