User:FlyingRagnar/VersionTabs: Difference between revisions
Jump to navigation
Jump to search
FlyingRagnar (talk | contribs) (Created page with "<includeonly><onlyinclude><div id="tabs"> {{#if: {{{1|}}} | * [[#tabs-1|{{{1|}}} }} {{#if: {{{1|}}} | <div id="tabs-1">{{{2|}}}</div> }}</onlyinclude></includeonly><noinclude> ...") |
FlyingRagnar (talk | contribs) No edit summary |
||
| Line 13: | Line 13: | ||
==Example== | ==Example== | ||
===Sample=== | ===Sample=== | ||
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }} | {{User:FlyingRagnar/VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }} | ||
===Wiki markup=== | ===Wiki markup=== | ||
<pre> | <pre> | ||
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }} | {{User:FlyingRagnar/VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }} | ||
</pre> | </pre> | ||
[[Category:Utility templates|{{PAGENAME}}]] | [[Category:Utility templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 21:46, 19 October 2011
It is utilized to display different versions (releases) of the same game in a tab readable format.
Usage
This template takes up to 8 parameters, which are passed in pairs for a total of 4 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.
Example
Sample
{{#if: ninjas |
- [[#tabs-1|ninjas
}}
are totally sweet
Wiki markup
{{User:FlyingRagnar/VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}