Template:VersionTabs: Difference between revisions

From Dragon Quest Wiki
No edit summary
No edit summary
Line 2: Line 2:


{{#if: {{{1|}}} | <div>{{{2|}}}</div>}}{{#if: {{{3|}}} | <div>{{{4|}}}</div>}}{{#if: {{{5|}}} | <div>{{{6|}}}</div>}}{{#if: {{{7|}}} | <div>{{{8|}}}</div>}}{{#if: {{{9|}}} | <div>{{{10|}}}</div>}}{{#if: {{{11|}}} | <div>{{{12|}}}</div>}}{{#if: {{{13|}}} | <div>{{{14|}}}</div>}}{{#if: {{{15|}}} | <div>{{{16|}}}</div>}}{{#if: {{{17|}}} | <div>{{{18|}}}</div>}}{{#if: {{{19|}}} | <div>{{{20|}}}</div>}}</div></onlyinclude></includeonly><noinclude>
{{#if: {{{1|}}} | <div>{{{2|}}}</div>}}{{#if: {{{3|}}} | <div>{{{4|}}}</div>}}{{#if: {{{5|}}} | <div>{{{6|}}}</div>}}{{#if: {{{7|}}} | <div>{{{8|}}}</div>}}{{#if: {{{9|}}} | <div>{{{10|}}}</div>}}{{#if: {{{11|}}} | <div>{{{12|}}}</div>}}{{#if: {{{13|}}} | <div>{{{14|}}}</div>}}{{#if: {{{15|}}} | <div>{{{16|}}}</div>}}{{#if: {{{17|}}} | <div>{{{18|}}}</div>}}{{#if: {{{19|}}} | <div>{{{20|}}}</div>}}</div></onlyinclude></includeonly><noinclude>
It is utilized 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 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.
This template takes up to 20 parameters, which are passed in pairs for a total of 10 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==

Revision as of 09:34, 1 November 2011

This template is used to display different versions (releases) of the same game in a tab readable format.

Usage

This template takes up to 20 parameters, which are passed in pairs for a total of 10 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
HP MP Experience Gold
Attack Defense Speed

Wiki markup

{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}