Template:VersionTabs: Difference between revisions

Updating (reverting?) to old Tabber extension format, which is what the new TabberNeue extension uses
mNo edit summary
 
Line 39: Line 39:


==Usage==
==Usage==
This template takes up to 24 parameters, which are passed in pairs for a total of 12 pairs. The first parameter of a pair is the title which should appear on the tab. The second parameter of a pair should be all the content which will appear within the tab.   Note that content passed as a parameter will need to have '|' escaped using [[Template:!]] since this template uses conditional logic parsing.
This template takes up to 24 parameters, which are passed in pairs for a total of 12 pairs. The first parameter of a pair is the title which should appear on the tab. The second parameter of a pair should be all the content which will appear within the tab. Note that content passed as a parameter will need to have '|' escaped using {<nowiki/>{!}} since this template uses conditional logic parsing.


==Example==
==Example==
Line 48: Line 48:
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}
</pre>
</pre>
[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates]]
</noinclude>
</noinclude>