Template:Navbar/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Doc/subpage}}__NOEDITSECTION__
{{Doc/subpage}}
<!-- Please place categories where indicated at the bottom of this page.) -->
 
These are templates for navigation between multiple pages that form an ordered group, such as the chapters of a game or a tutorial.
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 ==
=== {{tl|Navbar}} ===
=== {{T|Navbar}} ===
The parameters are redarded as page names. Any of these can be omitted.
The parameters are redarded as page names. Any of these can be omitted.
{{navbar|{{Param||}}|{{Param|2|}}|{{Param|3|}}}}
{{navbar|{{Param||}}|{{Param|2|}}|{{Param|3|}}}}




=== {{tl|Navbar-first}} ===
=== {{T|Navbar-first}} ===
{{navbar-first|{{Param}}|{{Param|2}}}}
{{navbar-first|{{Param}}|{{Param|2}}}}




=== {{tl|Navbar-last}} ===
=== {{T|Navbar-last}} ===
{{navbar-last|{{Param}}|{{Param|2}}}}
{{navbar-last|{{Param}}|{{Param|2}}}}




=== {{tl|Navbar2}} ===
=== {{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.
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|}}}}
{{navbar2|{{Param||}}|{{Param|2|}}|{{Param|3|}}|{{Param|4|}}|{{Param|5|}}|{{Param|6|}}}}




=== {{tl|Navbar2-first}} ===
=== {{T|Navbar2-first}} ===
{{navbar2-first|{{Param||}}|{{Param|2|}}|{{Param|3|}}|{{Param|4|}}}}
{{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...
Broken? It just doesn't want to show here. Maybe it's the number of navbars on this page...




=== {{tl|Navbar2-last}} ===
=== {{T|Navbar2-last}} ===
{{navbar2-last|{{Param||}}|{{Param|2|}}|{{Param|3|}}|{{Param|4|}}}}
{{navbar2-last|{{Param||}}|{{Param|2|}}|{{Param|3|}}|{{Param|4|}}}}




=== {{tl|Navbar3}} ===
=== {{T|Navbar3}} ===
The parameters are plain text. Any of these can be omitted. {{tl|Navbar}} and {{tl|Navbar2}} are based on this.
The parameters are plain text. Any of these can be omitted. {{tl|Navbar}} and {{tl|Navbar2}} are based on this.
{{navbar3|{{Param||}}|{{Param|2|}}|{{Param|3|}}}}
{{navbar3|{{Param||}}|{{Param|2|}}|{{Param|3|}}}}
Line 37: Line 37:


== See also ==
== See also ==
* {{tl|navbar}}, {{tl|navbar-first}}, {{tl|navbar-last}}
* {{T|navbar}}, {{T|navbar-first}}, {{T|navbar-last}}
* {{tl|navbar2}}, {{tl|navbar2-first}}, {{tl|navbar2-last}}
* {{T|navbar2}}, {{T|navbar2-first}}, {{T|navbar2-last}}
* {{tl|navbar3}}
* {{T|navbar3}}


[[Category:Navigation Templates]]
[[Category:Navigation Templates]]

Revision as of 13:00, 9 September 2024

Edit-copy.png
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.

These are templates for navigation between multiple pages that form an ordered group, such as the chapters of a game or a tutorial.

Previews

{{Navbar}}

The parameters are redarded as page names. Any of these can be omitted.


[[{{{2|}}}|{{{2|}}}]]
← [[{{{1|}}}|{{{1|}}}]]
[[{{{3|}}}|{{{3|}}}]] →


{{Navbar-first}}

Return to [[{{{1}}}]] [[{{{2}}}]] →


{{Navbar-last}}

← [[{{{1}}}]] Return to [[{{{2}}}]]


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


[[{{{3|}}}|{{{4|}}}]]
← [[{{{1|}}}|{{{2|}}}]]
[[{{{5|}}}|{{{6|}}}]] →


{{Navbar2-first}}

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


{{Navbar2-last}}

← [[{{{1|}}}|{{{2|}}}]] Return to [[{{{3|}}}|{{{4|}}}]]


{{Navbar3}}

The parameters are plain text. Any of these can be omitted. {{Navbar}} and {{Navbar2}} are based on this.


{{{2|}}}
{{{1|}}}
{{{3|}}}


See also