Vorlage:Navbar-header: Unterschied zwischen den Versionen

try User:Rich Farmbrough's idea for a bgcolor criteria
(across TRs and TDs)
(try User:Rich Farmbrough's idea for a bgcolor criteria)
Zeile 1: Zeile 1:
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color: transparent;"><tr style="background-color: transparent;"><td width="20%" style="background-color: transparent;">&nbsp;</td><td align="center" style="background-color: transparent;">{{{1}}}</td><td align="right" width="20%" style="background-color: transparent;"><div class="noprint plainlinksneverexpand" id="Tnavbar-mini-header" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000;">[{{fullurl:Template:{{{2}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]&middot;[{{fullurl:Template_talk:{{{2}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>]&middot;[{{fullurl:Template:{{{2}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]&nbsp;</span></div></td></tr></table><noinclude>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="{{{bgcolor}}}"><tr bgcolor="{{{bgcolor}}}"><td width="20%" bgcolor="{{{bgcolor}}}">&nbsp;</td><td align="center" bgcolor="{{{bgcolor}}}">{{{1}}}</td><td align="right" width="20%" bgcolor="{{{bgcolor}}}"><div class="noprint plainlinksneverexpand" id="Tnavbar-mini-header" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000;">[{{fullurl:Template:{{{2}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]&middot;[{{fullurl:Template_talk:{{{2}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>]&middot;[{{fullurl:Template:{{{2}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]&nbsp;</span></div></td></tr></table><noinclude>
==Usage==
==Usage==
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-mini|Heading|Name of Template'''<nowiki>}}</nowiki>''' inside  a given [[Wikipedia:Navigational templates|template]] to add  a centred heading with '''v''' &middot; '''d''' &middot; '''e''' navigational functionality.
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-mini|Heading|Name of Template'''<nowiki>}}</nowiki>''' inside  a given [[Wikipedia:Navigational templates|template]] to add  a centred heading with '''v''' &middot; '''d''' &middot; '''e''' navigational functionality.
Anonymer Benutzer