Difference between revisions of "Template:Navbar"
Jump to navigation
Jump to search
wrong markup
>Baris6161TURK (Adding translate tags and remove unneeded deprecated information.) |
>Shirayuki (wrong markup) |
||
Line 38: | Line 38: | ||
: {{tlx|Navbar|Navbar|fontstyle{{=}}color:green}} | : {{tlx|Navbar|Navbar|fontstyle{{=}}color:green}} | ||
<translate> | <translate>The <tvar|1><code>{{<nowiki/>subst:PAGENAME}}</code></> will be substituted with the template's name when parsed by the servers.</translate> | ||
The <tvar|1><code>{{<nowiki/>subst:PAGENAME}}</code></> will be substituted with the template's name when parsed by the servers.</translate> | <translate>For example, <tvar|1>{{tlx|Navbar|navbar/doc}}</> gives:</translate> | ||
<translate>For example, <tvar|1>{{tlx|Navbar|navbar/doc}}</> gives: | |||
</translate> | |||
{{Navbar|navbar/doc}} | {{Navbar|navbar/doc}} | ||
Line 47: | Line 45: | ||
<translate> | <translate> | ||
=== Font-size === | === Font-size === | ||
</translate> | |||
<translate>Font-size is <tvar|1><code>88%</code></> when used in a navbar, and <tvar|2><code>100%</code></> when nested in a navbox.</translate> | |||
<translate>In the navbar, the weight is "<tvar|1><code>normal</code></>"; when nested in navbox, it takes on the outer setting.</translate> | |||
<translate>The middot is bold.</translate> | |||
<translate> | <translate> | ||
== Examples == | == Examples == | ||
Line 85: | Line 80: | ||
<translate> | <translate> | ||
== Notes == | == Notes == | ||
</translate> | </translate> | ||
<translate>Navbar is contained within a <tvar|1>{{tag|div}}</> in order to accommodate a horizontal unnumbered list.</translate> | |||
<translate>This means it cannot be placed inside a <tvar|1>{{tag|span}}</> or other inline element, because Tidy will 'fix' situations where it finds block elements inside inline elements.</translate> | |||
<!--- PLEASE ADD METADATA TO THE <includeonly> SECTION HERE ---> | <!--- PLEASE ADD METADATA TO THE <includeonly> SECTION HERE ---> |