Template:VersionTabs: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) No edit summary |
FlyingRagnar (talk | contribs) (Updating (reverting?) to old Tabber extension format, which is what the new TabberNeue extension uses) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude>{{#tag:tabber| | ||
{{#if: {{{1|}}} | | |||
{{#if: {{{ | {{{1|}}}={{{2|}}} | ||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{3|}}} | | |||
{{{3|}}}={{{4|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{5|}}} | | |||
{{{5|}}}={{{6|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{7|}}} | | |||
{{{7|}}}={{{8|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{9|}}} | | |||
{{{9|}}}={{{10|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{11|}}} | | |||
{{{11|}}}={{{12|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{13|}}} | | |||
{{{13|}}}={{{14|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{15|}}} | | |||
{{{15|}}}={{{16|}}} | |||
{{!}}-{{!}} | |||
}} | |||
{{#if: {{{17|}}} | | |||
{{{17|}}}={{{18|}}} | |||
}} | |||
}}</onlyinclude></includeonly><noinclude> | |||
This template is used to display different versions (releases) of the same game in a tab readable format. | This template is used to display different versions (releases) of the same game in a tab readable format. | ||
==Usage== | ==Usage== | ||
This template takes up to | 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. | ||
==Example== | ==Example== |
Latest revision as of 22:56, 25 February 2022
This template is used to display different versions (releases) of the same game in a tab readable format.
Usage[edit]
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.
Example[edit]
Sample[edit]
|
Wiki markup[edit]
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}