163
edits
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
<!--T:13--> | <!--T:13--> | ||
When one of the following examples is placed inside a given [[ | When one of the following examples is placed inside a given [[Special:MyLanguage/Help:Templates|template]], it adds navbar navigational functionality: | ||
Line 39: | Line 39: | ||
: {{tlx|Navbar|Navbar|fontstyle{{=}}color:green}} | : {{tlx|Navbar|Navbar|fontstyle{{=}}color:green}} | ||
<!--T:14--> The | <!--T:14--> The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template's name when parsed by the servers. | ||
<!--T:15--> For example, | <!--T:15--> For example, {{tlx|Navbar|navbar/doc}} gives: | ||
{{Navbar|navbar/doc}} | {{Navbar|navbar/doc}} | ||
Line 47: | Line 47: | ||
=== Font-size === <!--T:16--> | === Font-size === <!--T:16--> | ||
<!--T:17--> Font-size is | <!--T:17--> Font-size is <code>88%</code> when used in a navbar, and <code>100%</code> when nested in a navbox. | ||
<!--T:18--> In the navbar, the weight is " | <!--T:18--> In the navbar, the weight is "<code>normal</code>"; when nested in navbox, it takes on the outer setting. | ||
<!--T:19--> The middot is bold. | <!--T:19--> The middot is bold. | ||
Line 101: | Line 101: | ||
== Notes == <!--T:42--> | == Notes == <!--T:42--> | ||
<!--T:43--> Navbar is contained within a | <!--T:43--> Navbar is contained within a {{tag|div}} in order to accommodate a horizontal unnumbered list. | ||
<!--T:44--> This means it cannot be placed inside a | <!--T:44--> This means it cannot be placed inside a {{tag|span}} or other inline element, because Tidy will 'fix' situations where it finds block elements inside inline elements. | ||
<!--- PLEASE ADD METADATA TO THE <includeonly> SECTION HERE ---> | <!--- PLEASE ADD METADATA TO THE <includeonly> SECTION HERE ---> |