User:Mainframe98/Archive/sandbox 6

Converting Template:Featured Article to Lua

 * Main articles: help:Lua and Lua templating/Converting Wikitext templates.

Main Module
local p = {} local FeaturedArticleData = mw.loadData( 'Module:FeaturedArticle/data 2' ) function p.FeaturedArticle( frame ) local FeaturedArticleText = frame.args[1] if FeaturedArticleData[FeaturedArticleText] ~= nil then FeaturedArticleText = FeaturedArticleData [FeaturedArticleText] end return FeaturedArticleText end return p

Data Module 1
Contains Time Switching option, can be reused in other meta templates related to Template:Featured Article. return { ["week"] = "CURRENTWEEK", ["month"] = "CURRENTMONTH", }

Data Module 2
Contains Link to Featured Articles return { ["01"] = "",	["02"] = "",	["03"] = "",	["04"] = "",	["05"] = "",	["06"] = "",	["07"] = "",	["08"] = "",	["09"] = "",	["10"] = "",	["11"] = "",	["12"] = "",	["13"] = "",	["14"] = "",	["15"] = "",	["16"] = "",	["17"] = "",	["18"] = "",	["19"] = "",	["20"] = "",	["21"] = "",	["22"] = "",	["23"] = "",	["24"] = "",	["25"] = "",	["26"] = "",	["27"] = "",	["28"] = "",	["29"] = "",	["30"] = "",	["31"] = "",	["32"] = "",	["33"] = "",	["34"] = "",	["35"] = "",	["36"] = "",	["37"] = "",	["38"] = "",	["39"] = "",	["40"] = "",	["41"] = "",	["42"] = "",	["43"] = "",	["44"] = "",	["45"] = "",	["46"] = "",	["47"] = "",	["48"] = "",	["49"] = "",	["50"] = "",	["51"] = "",	["52"] = "", }

New using Portable Infoboxes

 * To be located at Template:MoSinfobox.

 Vital Statistics

Code

 * Located in slot 12, on User:Mainframe98/Templates/TemplateStore.

  Research Rewards

With trademark BioShock Wiki styling

 * Note: This styling should be used with the CSS located above this section.

State clarification
The CSS for Tabbers tabs is divided in six separate classes. One normal, either active or not, and two pseudo classes for when hovered and clicked. The table below corresponds with the styling located on Help:Tabber.
 * 1) General
 * 2) Not active tab, hovered
 * 3) Not active tab, clicked
 * 4) Active tab
 * 5) Active tab, hovered
 * 6) Active tab, clicked

Code
 Company Data Locations People Appearances

Testing

 * Located in Slot 13.

Warning templates

 * Based on Template:Fanon warning & Template:Warning.

Code
Hello, thank you for your recent contributions. Unfortunately, an you recently made was because it was. You can see what kind of content is allowed in our BioShock Wiki:Content Policy.

If you still want to share your with other people, you could create a [anchorencode:}}">http://bioshock.wikia.com/wiki/User_blog: blog post] about it.

Dlc infobox

 * Based on Template:Game Info Box.

More PI testing

 * Attempt to change Template:Gearinfo to PortableInfoboxes.
 * Located in Slot 14.

Item template
Uses Template:Overview, based on Template:Audio.

Converting Template:Overview to PI
Allows this template to be displayed when using the mobile skin.

Scripted event transclusion template

 * Main template: Template:ScriptedEvent, Template:ScriptedEvent/meta & Template:ScriptedEvent/meta1.
 * Utilizes LST.

{{switch:{{#if:{{{title2|}}}|2|1}}
 * 1=

Scripted Event

 * ''This event is transcluded from . To edit this section, visit #|


 * 2=

Scripted Events
}}


 * ''This event is transcluded from . To edit this section, visit #|

Response template

 * For use on Community Central.

CSS

 * NOTE: Requires rewriting CSS for Portable infoboxes AGAIN! Do NOT implement until rewritten!