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
Line 1: Line 1:
<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:Card:{{{1|{{PAGENAME}}}}}|/TCG/Card:{{#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>
<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:Card:{{{1|{{PAGENAME}}}}}|/TCG/Card:{{#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}}
{{/doc}}
[[Category:Templates]]</noinclude>
[[Category:Utility templates]]</noinclude>

Revision as of 18:01, 25 April 2023

{{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