Template:VersionTabs: Difference between revisions
adding documentation |
Trig Jegman (talk | contribs) mNo edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{#tag:tabber| | <includeonly><onlyinclude>{{#tag:tabber| | ||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
{{{1|}}}={{{2|}}} | {{{1|}}}={{{2|}}} | ||
| Line 14: | Line 14: | ||
{{#if: {{{7|}}} | | {{#if: {{{7|}}} | | ||
{{{7|}}}={{{8|}}} | {{{7|}}}={{{8|}}} | ||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{9|}}} | | |||
{{{9|}}}={{{10|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{11|}}} | | |||
{{{11|}}}={{{12|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{13|}}} | | |||
{{{13|}}}={{{14|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{15|}}} | | |||
{{{15|}}}={{{16|}}} | |||
{{!}}-{{!}} | |||
}} | }} | ||
{{#if: {{{17|}}} | | |||
{{{17|}}}={{{18|}}} | |||
}} | }} | ||
<noinclude> | }}</onlyinclude></includeonly><noinclude> | ||
This is a | This template is used to display different versions (releases) of the same game in a tab readable format. | ||
[[Category:Utility templates | |||
==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 {<nowiki/>{!}} since this template uses conditional logic parsing. | |||
==Example== | |||
===Sample=== | |||
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }} | |||
===Wiki markup=== | |||
<pre> | |||
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }} | |||
</pre> | |||
[[Category:Utility templates]] | |||
</noinclude> | </noinclude> | ||