Vorlage:Navbar-header: Unterschied zwischen den Versionen
K (fixed error) |
(more simple fixes, updated example) |
||
| Zeile 2: | Zeile 2: | ||
|- valign="middle" | |- valign="middle" | ||
|width="10%"|<!-- --> | |width="10%"|<!-- --> | ||
|align="center"|{{#if:{{{fontcolor|}}} |<span style="color:{{{fontcolor|}}}">{{{1}}}</span>|{{{1}}}}} | |align="center"|{{#if:{{{fontcolor|}}} |<span style="color:{{{fontcolor|}}} !important;">{{{1}}}</span>|{{{1}}}}} | ||
|align="right" width="10%"|{{Tnavbar|{{{2| | |align="right" width="10%"|{{Tnavbar|{{{2|{{PAGENAME}}}}}|mini=1|nodiv=1}} | ||
|}<noinclude> | |}<noinclude> | ||
| Zeile 13: | Zeile 13: | ||
==Examples / See also== | ==Examples / See also== | ||
{| | <pre><nowiki> | ||
{{Tnavbar-header|Header Text}} | |||
{{Tnavbar-header|[[redlink|Linked Text]], Unlinked Text|Template Name|fontcolor=Gray}} | |||
</nowiki></pre> | |||
Yields: | |||
{{Tnavbar-header|Header Text}} | |||
{{Tnavbar-header|[[redlink|Linked Text]], Unlinked Text|Template Name|fontcolor=Gray}} | |||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
Version vom 29. Oktober 2006, 18:55 Uhr
| {{{1}}} | Vorlage:Tnavbar |
Usage
Simply place {{Tnavbar-header|Heading|Name of Template}} in the header area of a given template to add a centred heading with right justified v·d·e·h navigational functionality. If there is need for a font color other than black, use {{Tnavbar-header|Heading|Name of Template|fontcolor=#html color code}} instead.
Note to editors
This template is likely represented across hundreds of pages (if not thousands); please tread lightly when editing here.
Examples / See also
{{Tnavbar-header|Header Text}}
{{Tnavbar-header|[[redlink|Linked Text]], Unlinked Text|Template Name|fontcolor=Gray}}
Yields:
| Header Text | Vorlage:Tnavbar |
| Linked Text, Unlinked Text | Vorlage:Tnavbar |