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
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><ul class='suiteul' style='width:100%;clear:both;border-bottom:2px solid #555;margin:3px 0 0 0;padding:1px 8px 1px 0;list-style:none'>{{Suite/Eval|{{{1|{{PAGENAME}}}}}/{{{1|{{PAGENAME}}}}}{{#ifexist:{{{1|{{PAGENAME}}}}}/Suite|/{{:{{{1|{{PAGENAME}}}}}/Suite}}|{{#ifexist:Game:{{{1|{{PAGENAME}}}}}|/Gameplay/Game:{{{1|{{PAGENAME}}}}}}}{{#ifexist:Gallery:{{{1|{{PAGENAME}}}}}|/Gallery/Gallery:{{{1|{{PAGENAME}}}}}}}{{#ifexist:Walkthrough:{{{1|{{PAGENAME}}}}}|/Walkthrough/Walkthrough:{{{1|{{PAGENAME}}}}}}}{{#ifexist:Video:{{{1|{{PAGENAME}}}}}|/Video/Video:{{{1|{{PAGENAME}}}}}}}{{#ifexist:Card:{{{1|{{PAGENAME}}}}}|/Cards/Card:{{{1|{{PAGENAME}}}}}}}{{#ifexist:Quotes:{{{1|{{PAGENAME}}}}}|/Quotes/Quotes:{{{1|{{PAGENAME}}}}}}}}}}}</ul><div id="suitediv" class='suitediv' style='width:100%;height:8px;background:#fff;position:relative;z-index:999'></div></includeonly>
<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>
{{/doc}}
[[Category:Utility templates]]</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