Zum Inhalt springen

Vorlage:Navbar-header: Unterschied zwischen den Versionen

more simple fixes, updated example
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|Template:{{PAGENAME}}}}}|mini=1|nodiv=1}}
|align="right" width="10%"|{{Tnavbar|{{{2|{{PAGENAME}}}}}|mini=1|nodiv=1}}
|}<noinclude>
|}<noinclude>


Zeile 13: Zeile 13:


==Examples / See also==
==Examples / See also==
{| class="wikitable"
<pre><nowiki>
! Template !! colspan=2 | This... !! colspan=2 | Produces...
{{Tnavbar-header|Header Text}}
|-
{{Tnavbar-header|[[redlink|Linked Text]], Unlinked Text|Template Name|fontcolor=Gray}}
| {{tl|Tnavbar}} || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar|Tnavbar}} like so.
</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}}]]
Anonymer Benutzer