Template:Suite: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
 
(45 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<includeonly><div class="tt1_suite">
<includeonly><ul class="suiteul" style="clear:both;border-bottom:2px solid #555;margin:3px 0 0 0;padding:1px 8px 1px 0;list-style:none">{{Suite/Eval|{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}/{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}{{#ifexist:{{{1|{{PAGENAME}}}}}/Suite|/{{:{{{1|{{PAGENAME}}}}}/Suite}}|{{#ifexist:Game:{{{1|{{PAGENAME}}}}}|/Gameplay/Game:{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}}}{{#ifexist:Gallery:{{{1|{{PAGENAME}}}}}|/Gallery/Gallery:{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}}}{{#ifexist:Walkthrough:{{{1|{{PAGENAME}}}}}|/Walkthrough/Walkthrough:{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}}}{{#ifexist:Video:{{{1|{{PAGENAME}}}}}|/Video/Video:{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}}}{{#ifexist:TCG:{{{1|{{PAGENAME}}}}}|/TCG/TCG:{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}}}{{#ifexist:Quotes:{{{1|{{PAGENAME}}}}}|/Quotes/Quotes:{{#replace:{{{1|{{PAGENAME}}}}}|/|%2F}}}}}}}}</ul><div id="suitediv" class="suitediv" style="height:8px;background:#fff;position:relative"></div></includeonly><noinclude>
{{#ifexist:{{PAGENAME}}|<nowiki/>
{{/doc}}
*[[{{PAGENAME}}|Main]]
[[Category:Utility templates]]</noinclude>
}}{{#ifexist:Game:{{PAGENAME}}|<nowiki/>
*[[Game:{{PAGENAME}}|Gameplay]]
}}{{#ifexist:Gallery:{{PAGENAME}}|<nowiki/>
*[[Gallery:{{PAGENAME}}|Gallery]]
}}{{#ifexist:Card:{{PAGENAME}}|<nowiki/>
*[[Card:{{PAGENAME}}|Cards]]
}}{{#ifexist:Quotes:{{PAGENAME}}|<nowiki/>
*[[Quotes:{{PAGENAME}}|Quotes]]
}}</div>{{-}}</includeonly><noinclude>{{-}}{{doc}}[[Category:Templates|Suite]]</noinclude>

Latest revision as of 18:41, 22 June 2024

{{suite}} is a template which creates a tab at the top of a page, generally to link to different namespaces (e.g. Game:, Gallery:, etc.), or to link to related pages (e.g. Olympus Coliseum and Underworld)

Add {{suite}} to the top of each page.

If the page needs a custom set of tabs, create a sub-page such as Sora/Suite to manually add tabs. The first tab is always the name of the base page (so in this case Sora), the code for the other tabs is as follows:

(Tab name 2)/(Tab link 2)/(Tab name 3)/(Tab link 3), etc.

For example,

Gameplay/Game:Sora/Gallery/Gallery:Sora

To add a small tab, add

m:

before a tab name.

For example,

m:Nightmare Armor/Armored Ventus Nightmare