Template:Navbar/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
== Previews == | == Previews == | ||
=== {{T|Navbar}} === | === {{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|{{Param||}}|{{Param|2|}}|{{Param|3|}}}} | {{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}} === | === {{T|Navbar-first}} === | ||
Line 41: | Line 44: | ||
* {{T|navbar3}} | * {{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}}