Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!

Difference between revisions of "Template:VersionTabs"

From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
(imported from [http://dragon-quest.org/w/index.php?title=Template:VersionTabs&oldid=49021]. Very cool template, User:FlyingRagnar)
 
m (→‎top: replacing deleted, missing templates, replaced: {{*}} → * (10))
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><onlyinclude><div class="tabs">{{#if: {{{1|}}} | {{*}}[[#{{!}}{{{1|}}}]]}}{{#if: {{{3|}}} | {{*}}[[#{{!}}{{{3|}}}]]}}{{#if: {{{5|}}} | {{*}}[[#{{!}}{{{5|}}}]]}}{{#if: {{{7|}}} | {{*}}[[#{{!}}{{{7|}}}]]}}{{#if: {{{9|}}} | {{*}}[[#{{!}}{{{9|}}}]]}}{{#if: {{{11|}}} | {{*}}[[#{{!}}{{{11|}}}]]}}{{#if: {{{13|}}} | {{*}}[[#{{!}}{{{13|}}}]]}}{{#if: {{{15|}}} | {{*}}[[#{{!}}{{{15|}}}]]}}{{#if: {{{17|}}} | {{*}}[[#{{!}}{{{17|}}}]]}}{{#if: {{{19|}}} | {{*}}[[#{{!}}{{{19|}}}]]}}
<includeonly><onlyinclude><div class="tabs">{{#if: {{{1|}}} | *[[#{{!}}{{{1|}}}]]}}{{#if: {{{3|}}} | *[[#{{!}}{{{3|}}}]]}}{{#if: {{{5|}}} | *[[#{{!}}{{{5|}}}]]}}{{#if: {{{7|}}} | *[[#{{!}}{{{7|}}}]]}}{{#if: {{{9|}}} | *[[#{{!}}{{{9|}}}]]}}{{#if: {{{11|}}} | *[[#{{!}}{{{11|}}}]]}}{{#if: {{{13|}}} | *[[#{{!}}{{{13|}}}]]}}{{#if: {{{15|}}} | *[[#{{!}}{{{15|}}}]]}}{{#if: {{{17|}}} | *[[#{{!}}{{{17|}}}]]}}{{#if: {{{19|}}} | *[[#{{!}}{{{19|}}}]]}}


{{#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 style="overflow:auto;">{{{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>
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.  


Line 12: Line 12:
===Wiki markup===
===Wiki markup===
<pre>
<pre>
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}
{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns}}
</pre>
</pre>
[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 01:18, 9 May 2020

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

Wiki markup

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