Template:Navbar/en: Difference between revisions
NB>FuzzyBot (Updating to match new version of source page) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 13:54, 14 December 2023
<languages/>
|#default = | = {{#ifeq: | | Template:{{{1}}} | }}
}}|{{#if:|v|view}}]] · [{{fullurl:{{TALKPAGENAME:{{#switch:
|#default = | = {{#ifeq: | | Template:{{{1}}} | }}
}}}}}} {{#if:|d|talk}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = | = {{#ifeq: | | Template:{{{1}}} | }}
}}|action=edit}} {{#if:|e|edit}}]}}{{#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.
Usage
General
When one of the following examples is placed inside a given template, it adds navbar navigational functionality:
- {{#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:||...}}}}
The {{subst:PAGENAME}}
will be substituted with the template's name when parsed by the servers.
For example, {{#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:||...}}}} gives:
|#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:|]}}
Font-size
Font-size is 88%
when used in a navbar, and 100%
when nested in a navbox.
In the navbar, the weight is "normal
"; when nested in navbox, it takes on the outer setting.
The middot is bold.
Examples
Required parameters
- {{#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:template name||template name}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} — the template name is required.
Optional parameters
Options | Parameters | Produces... | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic | {{#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:template name||template name}}{{#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:|]}} | |
Different text | {{#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:template name||template name}}{{#if:text=This template:||text=This template:}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} |
This template:|<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:|]}} | |
Without "This box:" text | {{#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:template name||template name}}{{#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:|]}} | |
Short version | {{#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:template name||template name}}{{#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:|]}} | |
With a color option | {{#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:template name||template name}}{{#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:|]}} | |
With brackets | {{#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:template name||template name}}{{#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|]}} | |
Custom namespace | {{#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:namespaced template name||namespaced template name}}{{#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:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/en|-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:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/en|-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/en|{{#switch:
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/en|-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:en|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/en|-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/en|{{#switch:
|#default = Navbar/doc | = {{#ifeq: | | Template:Navbar/doc | Navbar/doc }}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/en|-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:en|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:navbar/en|-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:en|sandbox|doc=|#default= [[Category:Formatting templates{{#translation:}}]] }}
Notes
Navbar is contained within a {{#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:|
|
}} in order to accommodate a horizontal unnumbered list. This means it cannot be placed inside a {{#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:|
|
}} or other inline element, because Tidy will 'fix' situations where it finds block elements inside inline elements.| [[Category:Template documentation pages{{#translation:}}]] }}