Template:Navbar: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div style="width:90%;padding:5px;border:1px solid black;margin-top:30px;margin-left:auto;margin-right:auto;text-align:center;background:#e1ebff">
{{doc}}
{| style="width:100%;background:transparent;"
<includeonly>
|style="background:transparent;text-align:left;width:33%;"| &larr; ''' ''' [[{{{1}}}]]
 
|style="background:transparent;width:33%;"| ''' ''' [[{{{2}}}]]
<onlyinclude>{{navbar3
|style="background:transparent;text-align:right;"| ''' ''' [[{{{3}}}]] &rarr;
| {{#if: {{{1|}}} | {{Lx|{{{1}}}|{{{alt1|{{{1}}}}}}}} }}
|}
| {{#if: {{{2|}}} | {{Lx|{{{2}}}|{{{alt2|{{{2}}}}}}}} }}
</div>
| {{#if: {{{3|}}} | {{Lx|{{{3}}}|{{{alt3|{{{3}}}}}}}} }}
| width = {{{width|}}}
}}</onlyinclude>
 
</includeonly>

Latest revision as of 12:50, 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|}}}|{{{alt2|{{{2}}}}}}]]
← [[{{{1|}}}|{{{alt1|{{{1}}}}}}]]
[[{{{3|}}}|{{{alt3|{{{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