Template:Tabs/doc: Difference between revisions

Template page
(Created page with "{{Uses TemplateStyles|Tabs/style.css}} 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 u...")
 
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Uses TemplateStyles|Tabs/style.css}}
{{Uses TemplateStyles|Tabs/style.css}}


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]].
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. the combo page to the movelist.


When the template is used in this manner, it should be made into its own template which is then included at the top of each page in the tabs. For example, [[Template:Lee]] is included at the top of every page it links to.
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. Note that interwiki links automatically become bold non-links if they point to the current page.


== Usage ==
== Usage ==
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 ...]]
* [[Fighter matchups|Matchups]]
* [[Fighter changelog|Changelog]]
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 27: Line 31:


{{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 ...]]
* [[Fighter matchups|Matchups]]
* [[Fighter changelog|Changelog]]
}}
}}

Latest revision as of 22:00, 18 May 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. the combo page to the 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. Note that interwiki links automatically become bold non-links if they point to the current page.

Usage

Create e.g. Template:Fighter:

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

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

{{Fighter}}

Example