Template:Navbar
<languages/>
|#default = | = {{#ifeq: | | Template:{{{1}}} | }}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [{{fullurl:{{TALKPAGENAME:{{#switch:
|#default = | = {{#ifeq: | | Template:{{{1}}} | }}
}}}}}} <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = | = {{#ifeq: | | Template:{{{1}}} | }}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}} Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.{{#if:Lua error: callParserFunction: function "#translation" was not found. <translate>
Usage
General
When one of the following examples is placed inside a given [[<tvar name=1>Special:MyLanguage/Help:Templates</tvar>|template]], it adds navbar navigational functionality: </translate>
- {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:Navbar||Navbar}}{{#if:mini=1||mini=1}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
- {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:Navbar||Navbar}}{{#if:plain=1||plain=1}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
- {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:Navbar||Navbar}}{{#if:fontstyle=color:green||fontstyle=color:green}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
<translate> The <tvar name=1>{{subst:PAGENAME}}
</tvar> will be substituted with the template's name when parsed by the servers.</translate>
<translate> For example, <tvar name=1>{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:navbar/doc||navbar/doc}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}</tvar> gives:</translate>
|#default = Navbar/doc | = {{#ifeq: | | Template:navbar/doc | Navbar/doc }}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Navbar/doc | = {{#ifeq: | | Template:navbar/doc | Navbar/doc }}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}}
<translate>
Font-size
</translate>
<translate> Font-size is <tvar name=1>88%
</tvar> when used in a navbar, and <tvar name=2>100%
</tvar> when nested in a navbox.</translate>
<translate> In the navbar, the weight is "<tvar name=1>normal
</tvar>"; when nested in navbox, it takes on the outer setting.</translate>
<translate> The middot is bold.</translate>
<translate>
Examples
Required parameters
</translate>
- {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> template name</translate>||<translate> template name</translate>}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} — <translate> the template name is required.</translate>
<translate>
Optional parameters
</translate>
<translate> Options</translate> | <translate> Parameters</translate> | <translate> Produces...</translate> | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<translate> Basic</translate> | {{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> template name</translate>||<translate> template name</translate>}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
{{{text}}}|<translate> This box:</translate>}} }}{{#if:|[}}[[{{#switch: | #default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |
#default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}} | |
<translate> Different text</translate> | {{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> template name</translate>||<translate> template name</translate>}}{{#if:text=<translate> This template:</translate>||text=<translate> This template:</translate>}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
<translate> This template:</translate>|<translate> This box:</translate>}} }}{{#if:|[}}[[{{#switch: | #default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |
#default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}} | |
<translate> Without "This box:" text</translate> | {{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> template name</translate>||<translate> template name</translate>}}{{#if:plain=1||plain=1}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
{{{text}}}|<translate> This box:</translate>}} }}{{#if:|[}}[[{{#switch: | #default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |
#default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}} | |
<translate> Short version</translate> | {{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> template name</translate>||<translate> template name</translate>}}{{#if:mini=1||mini=1}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
{{{text}}}|<translate> This box:</translate>}} }}{{#if:|[}}[[{{#switch: | #default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:1|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:1|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |
#default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:1|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}} | |
<translate> With a color option</translate> | {{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> template name</translate>||<translate> template name</translate>}}{{#if:fontstyle=color:green||fontstyle=color:green}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
{{{text}}}|<translate> This box:</translate>}} }}{{#if:|[}}[[{{#switch: | #default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|<span style="color:green" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="color:green" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |
#default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|action=edit}} <span style="color:green" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}} | |
<translate> With brackets</translate> | {{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> template name</translate>||<translate> template name</translate>}}{{#if:brackets=1||brackets=1}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
{{{text}}}|<translate> This box:</translate>}} }}{{#if:1|[}}[[{{#switch: | #default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |
#default = Navbar/doc | =
{{#ifeq: | |
Template:navbar/doc | Navbar/doc
}} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}} | |
<translate> Custom namespace</translate> | {{#if:{{safesubst:#switch: | no | n | false | 0 = | = | ¬ = | yes | y | true | 1 = yes | #default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Navbar|Navbar]]{{#if:<translate> namespaced template name</translate>||<translate> namespaced template name</translate>}}{{#if:plain=1||plain=1}}{{#if:brackets=1||brackets=1}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
{{{text}}}|<translate> This box:</translate>}} }}{{#if:1|[}}[[{{#switch: User | #default = User:Example | =
{{#ifeq: User | |
Template:User:Example | Example
}} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: User |
#default = User:Example | =
{{#ifeq: User | |
Template:User:Example | Example
}} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}} |
TemplateData
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:navbar|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Navbar | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages{{#translation:}}]] | [[Category:Documentation subpages without corresponding pages{{#translation:}}]] }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:navbar|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Navbar | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages{{#translation:}}]] | [[Category:Documentation subpages without corresponding pages{{#translation:}}]] }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} {{#switch:<translate></translate> |=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:Navbar/doc|{{#ifeq:Template:Navbar|{{#switch:
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:navbar|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}
Navbar
{{#ifeq:Navbar|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:navbar|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
{{#switch:
|=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:Navbar/doc|{{#ifeq:Template:Navbar|{{#switch:
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:navbar|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||This is the TemplateData documentation for this template used by VisualEditor and other tools.}}
Navbar
{{#ifeq:Navbar|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:navbar|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
Lua error: expandTemplate: template loop detected.
}} }} <templatedata> { "description": { "en": "Adds edit links to navboxes and other templates", "cs": "Přidá odkazy na úpravy do navboxů a dalších šablon", "tr": "Gezinti kutularına ve diğer şablonlara düzenleme bağlantıları ekler", "fr": "Ajoute des liens de modification aux boîtes de navigation et aux autres modèles" }, "format": "inline", "params": { "1": { "label": { "en": "Template name", "cs": "Název šablony", "tr": "Şablon adı", "fr": "Nom du modèle" }, "description": { "en": "The template for which to create navbar links", "cs": "Šablona, pro kterou se mají vytvářet odkazy na navigační liště", "tr": "Gezinti çubuğu bağlantılarının oluşturulacağı şablon", "fr": "Modèle pour lequel les liens de la barre de navigation seront créés." }, "autovalue": "{{subst:PAGENAME}}", "required": true, "type": "wiki-template-name" }, "text": { "label": { "en": "Text", "cs": "Text", "tr": "Metin", "fr": "Texte" }, "description": { "en": "Custom leading text", "cs": "Vlastní úvodní text", "tr": "Özel satır aralığı metni", "fr": "Texte principal personnalisé." }, "default": { "en": "This box:", "cs": "Box:", "tr": "Bu kutu:" }, "type": "line" }, "mini": { "label": { "en": "Mini?", "cs": "Mini?", "tr": "Mini mi?", "fr": "Minimal" }, "description": { "en": "Only emit “v · d · e”", "cs": "Omezené zobrazení “v · d · e”", "tr": "Yalnızca “g · t · d” yayınlar", "fr": "Affichage restreint “v · d · e”" }, "type": "boolean" }, "plain": { "label": { "en": "Plain?", "cs": "Jasné?", "tr": "Düz mü?", "fr": "Brut" }, "description": { "en": "Omit leading text", "cs": "Vynechat úvodní text", "tr": "Baştaki metni çıkar", "fr": "Affichage sans texte principal." }, "default": "{{{mini}}}", "type": "boolean" }, "brackets": { "label": { "en": "Brackets?", "cs": "Závorky?", "tr": "Parantezler mi?", "fr": "Crochets" }, "description": { "en": "Surround links with brackets", "cs": "Ohraničení článků závorkami [ ]", "tr": "Parantezli çevre bağlantıları", "fr": "Les liens seront entre crochets [ ]" }, "type": "boolean" }, "noedit": { "label": { "en": "No Edit", "cs": "Neupravovat", "tr": "Düzenleme Yok", "fr": "Sans édition" }, "description": { "en": "Omit the “Edit” link", "cs": "Vynechat odkaz “Upravit”", "tr": "“Düzenle” bağlantısını atlayın", "fr": "Le lien pour modifier n'est pas affiché." }, "type": "boolean" }, "style": { "label": { "en": "Style", "cs": "Styl", "tr": "Stil", "fr": "Style" }, "description": { "en": "The CSS style attribute", "cs": "Atribut stylu CSS", "tr": "CSS stil özelliği", "fr": "Attribut du style CSS." }, "type": "string" }, "fontstyle": { "label": { "en": "Font Style", "cs": "Styl fontu", "tr": "Yazı Tipi Stili", "fr": "Style de fonte" }, "description": { "en": "The CSS style attribute for text", "cs": "Atribut stylu CSS pro text", "tr": "Metin için CSS stil niteliği", "fr": "Attribut CSS de style pour le texte." }, "type": "string" } } } </templatedata> {{#switch:Navbar|sandbox|doc=|#default= [[Category:Formatting templates{{#translation:}}]] }}
<translate>
Notes
</translate> <translate> Navbar is contained within a <tvar name=1>{{#if:|
|
}}{{#switch:pair
|c|close =
|s|single
|o|open
|p|pair = <div{{#if:| {{{params}}}}}
}}{{#switch:pair
|c|close =
|s|single = />
|o|open = >
|p|pair = >...
}}{{#switch:pair
|s|single
|o|open =
|c|close
|p|pair = </div>
}}{{#if:|
|
}}</tvar> in order to accommodate a horizontal unnumbered list.</translate> <translate> This means it cannot be placed inside a <tvar name=1>{{#if:|
|
}}{{#switch:pair
|c|close =
|s|single
|o|open
|p|pair = <span{{#if:| {{{params}}}}}
}}{{#switch:pair
|c|close =
|s|single = />
|o|open = >
|p|pair = >...
}}{{#switch:pair
|s|single
|o|open =
|c|close
|p|pair = </span>
}}{{#if:|
|
}}</tvar> or other inline element, because Tidy will 'fix' situations where it finds block elements inside inline elements.</translate>| [[Category:Template documentation pages{{#translation:}}]] }}