Template:Tabs/doc: Difference between revisions

Template page
No edit summary
Line 11: Line 11:
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
{{Tabs|
{{Tabs|
* [[Fighter]]
* [[Fighter|Overview]]
* [[Fighter movelist|Movelist]]
* [[Fighter neutral|Neutral]]
* [[Fighter punishers|Punishers]]
* [[Fighter combos|Combos]]
* [[Fighter combos|Combos]]
* [[Fighter movelist|Movelist]]
* [[Fighter setups|Setups]]
* [[Fighter ...]]
* [[:Category:Fighter matchup|Matchups]]
* [[Fighter changelog|Changelog]]
}}
}}
</syntaxhighlight>
</syntaxhighlight>

Revision as of 10:14, 10 January 2021

This template is used to group together a series of pages by putting links to them at the top of each page in the series. It's mainly used on character pages so that readers can quickly jump from e.g. Lee combos to Lee movelist.

When this template is used in this manner, a new template should be made which is then included at the top of each page linked to. For example, Template:Lee is included at the top of every page it links to.

Usage

Create e.g. Template:Fighter:

{{Tabs|
* [[Fighter|Overview]]
* [[Fighter movelist|Movelist]]
* [[Fighter neutral|Neutral]]
* [[Fighter punishers|Punishers]]
* [[Fighter combos|Combos]]
* [[Fighter setups|Setups]]
* [[:Category:Fighter matchup|Matchups]]
* [[Fighter changelog|Changelog]]
}}

Then at the top of e.g. Fighter combos:

{{Fighter}}

Example