User:FlyingRagnar/VersionTabs: Difference between revisions
Jump to navigation
Jump to search
FlyingRagnar (talk | contribs) No edit summary |
FlyingRagnar (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
{{#if: {{{3|}}} | | {{#if: {{{3|}}} | | ||
{{*}}[[#tabs-2{{!}}{{{3|}}}]] | {{*}}[[#tabs-2{{!}}{{{3|}}}]] | ||
}} | |||
{{#if: {{{5|}}} | | |||
{{*}}[[#tabs-3{{!}}{{{5|}}}]] | |||
}} | |||
{{#if: {{{7|}}} | | |||
{{*}}[[#tabs-4{{!}}{{{7|}}}]] | |||
}} | |||
{{#if: {{{9|}}} | | |||
{{*}}[[#tabs-5{{!}}{{{9|}}}]] | |||
}} | |||
{{#if: {{{11|}}} | | |||
{{*}}[[#tabs-6{{!}}{{{11|}}}]] | |||
}} | |||
{{#if: {{{13|}}} | | |||
{{*}}[[#tabs-7{{!}}{{{13|}}}]] | |||
}} | |||
{{#if: {{{15|}}} | | |||
{{*}}[[#tabs-8{{!}}{{{15|}}}]] | |||
}} | |||
{{#if: {{{17|}}} | | |||
{{*}}[[#tabs-9{{!}}{{{17|}}}]] | |||
}} | |||
{{#if: {{{19|}}} | | |||
{{*}}[[#tabs-10{{!}}{{{19|}}}]] | |||
}} | }} | ||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
| Line 11: | Line 35: | ||
{{#if: {{{3|}}} | | {{#if: {{{3|}}} | | ||
<div id="tabs-2">{{{4|}}}</div> | <div id="tabs-2">{{{4|}}}</div> | ||
}} | |||
{{#if: {{{5|}}} | | |||
<div id="tabs-4">{{{6|}}}</div> | |||
}} | |||
{{#if: {{{7|}}} | | |||
<div id="tabs-4">{{{8|}}}</div> | |||
}} | |||
{{#if: {{{9|}}} | | |||
<div id="tabs-5">{{{10|}}}</div> | |||
}} | |||
{{#if: {{{11|}}} | | |||
<div id="tabs-6">{{{12|}}}</div> | |||
}} | |||
{{#if: {{{13|}}} | | |||
<div id="tabs-7">{{{14|}}}</div> | |||
}} | |||
{{#if: {{{15|}}} | | |||
<div id="tabs-8">{{{16|}}}</div> | |||
}} | |||
{{#if: {{{17|}}} | | |||
<div id="tabs-9">{{{18|}}}</div> | |||
}} | |||
{{#if: {{{19|}}} | | |||
<div id="tabs-10">{{{20|}}}</div> | |||
}}</onlyinclude></includeonly><noinclude> | }}</onlyinclude></includeonly><noinclude> | ||
It is utilized to display different versions (releases) of the same game in a tab readable format. | It is utilized to display different versions (releases) of the same game in a tab readable format. | ||
Revision as of 21:58, 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
are totally sweet
are boring
are hard to find
| |||||||||||||||||||||||||||||||||||||||||||
Wiki markup
{{User:FlyingRagnar/VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}