Template:Navbar: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: {{documentation}} → {{doc}})
(should work fine, or probably needs removing obsolete ':<lang>' suffixes if used)
Line 1: Line 1:
{{lang|Template:Navbar}}
<onlyinclude><includeonly>{{navbar3
| {{#if: {{{1|}}} | [[{{{1}}}]] }}
| {{#if: {{{2|}}} | [[{{{2}}}]] }}
| {{#if: {{{3|}}} | [[{{{3}}}]] }}
| width={{{width|}}}
}}</includeonly></onlyinclude>
{{doc}}
{{doc}}
<includeonly>
<onlyinclude>{{navbar3
| {{#if: {{{1|}}} | {{Lx|{{{1}}}}} }}
| {{#if: {{{2|}}} | {{Lx|{{{2}}}}} }}
| {{#if: {{{3|}}} | {{Lx|{{{3}}}}} }}
| width = {{{width|}}}
}}</onlyinclude>
</includeonly>

Revision as of 12:48, 9 September 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

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

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