Template:Navbar/doc: Difference between revisions
Jump to navigation
Jump to search
(Created doc with previews for all navbar templates.) |
|||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Doc/subpage}} | ||
These are templates for navigation between multiple pages that form an ordered group, such as the chapters of a game or a tutorial. | |||
__NOTOC__ | __NOTOC__ | ||
== Previews == | == Previews == | ||
=== {{T|Navbar}} === | |||
Params 1,2 and 3 use {{T|Lx}} to automatically put language prefix on the link, alt1, alt2 and alt3 are alt names that can be specified | |||
{{navbar | |||
| 1 = {{Param||}} | alt1 = {{Param|alt1|{{Param|1}}}} | |||
| 2 = {{Param|2|}} | alt2 = {{Param|alt2|{{Param|2}}}} | |||
| 3 = {{Param|3|}} | alt3 = {{Param|alt3|{{Param|3}}}} | |||
}} | |||
=== {{T|Navbar-first}} === | |||
{{navbar-first|{{Param}}|{{Param|2}}}} | |||
=== {{T|Navbar-last}} === | |||
{{navbar-last|{{Param}}|{{Param|2}}}} | |||
=== | === {{T|Navbar2}} === | ||
{{ | The parameters 1, 3 and 5 are page names and 2, 4 and 6 are the displayed text for the links to them. Any of these can be omitted. | ||
{{navbar2|{{Param||}}|{{Param|2|}}|{{Param|3|}}|{{Param|4|}}|{{Param|5|}}|{{Param|6|}}}} | |||
=== | === {{T|Navbar2-first}} === | ||
{{ | {{navbar2-first|{{Param||}}|{{Param|2|}}|{{Param|3|}}|{{Param|4|}}}} | ||
Broken? It just doesn't want to show here. Maybe it's the number of navbars on this page... | |||
=== Navbar2- | === {{T|Navbar2-last}} === | ||
{{navbar2- | {{navbar2-last|{{Param||}}|{{Param|2|}}|{{Param|3|}}|{{Param|4|}}}} | ||
=== Navbar3 === | === {{T|Navbar3}} === | ||
The parameters are plain text. Any of these can be omitted. {{tl|Navbar}} and {{tl|Navbar2}} are based on this. | |||
{{navbar3|{{ | {{navbar3|{{Param||}}|{{Param|2|}}|{{Param|3|}}}} | ||
== See also == | == See also == | ||
* {{ | * {{T|navbar}}, {{T|navbar-first}}, {{T|navbar-last}} | ||
* {{ | * {{T|navbar2}}, {{T|navbar2-first}}, {{T|navbar2-last}} | ||
* {{ | * {{T|navbar3}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category:Navigation Templates]] | [[Category:Navigation Templates]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 13:06, 9 September 2024

This is a documentation subpage for Template:Navbar.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
These are templates for navigation between multiple pages that form an ordered group, such as the chapters of a game or a tutorial.
Previews
Params 1,2 and 3 use {{Lx}} to automatically put language prefix on the link, alt1, alt2 and alt3 are alt names that can be specified
[[{{{2|}}}|{{{alt2|{{{2}}}}}}]]
← [[{{{1|}}}|{{{alt1|{{{1}}}}}}]]
[[{{{3|}}}|{{{alt3|{{{3}}}}}}]]
→
Return to [[{{{1}}}]] | [[{{{2}}}]] → |
← [[{{{1}}}]] | Return to [[{{{2}}}]] |
The parameters 1, 3 and 5 are page names and 2, 4 and 6 are the displayed text for the links to them. Any of these can be omitted.
[[{{{3|}}}|{{{4|}}}]]
← [[{{{1|}}}|{{{2|}}}]]
[[{{{5|}}}|{{{6|}}}]]
→
Return to [[{{{1|}}}|{{{2|}}}]] | [[{{{3|}}}|{{{4|}}}]] → |
Broken? It just doesn't want to show here. Maybe it's the number of navbars on this page...
← [[{{{1|}}}|{{{2|}}}]] | Return to [[{{{3|}}}|{{{4|}}}]] |
The parameters are plain text. Any of these can be omitted. {{Navbar}}
and {{Navbar2}}
are based on this.
{{{2|}}}
← {{{1|}}}
{{{3|}}} →
See also
- {{navbar}}, {{navbar-first}}, {{navbar-last}}
- {{navbar2}}, {{navbar2-first}}, {{navbar2-last}}
- {{navbar3}}