Vorlage:Navbar: Unterschied zwischen den Versionen

code updates
imported>CBM
(use fontcolor parameter for div per talk page request)
(code updates)
Zeile 1: Zeile 1:
<noinclude><hr/><center>'''{{purge}}''' the Wikipedia cache of this template.<hr/></center><br/></noinclude><includeonly><!--
<includeonly>{{#if:{{{nodiv|}}} |<!--then:
 
-->{{#if:{{{nodiv|}}} |<!--then:
-->&nbsp;<span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|}}}"> |<!--else:
-->&nbsp;<span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|}}}"> |<!--else:
--><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0; font-weight:normal; font-size:xx-small; color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#000}}; white-space:nowrap; {{{style|}}}"><!--
--><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0; font-weight:normal; font-size:xx-small; color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#000}}; white-space:nowrap; {{{style|}}}"><!--
Zeile 11: Zeile 9:


-->{{#if:{{{mini|}}} |<!--then:
-->{{#if:{{{mini|}}} |<!--then:
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>v</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">d</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">e</span>]<!--
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>v</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">d</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">e</span>]<!--
-->}}<!--
-->}}<!--


Zeile 19: Zeile 17:


-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>view</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">talk</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!--
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>view</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">talk</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!--
-->}}<!--
-->}}<!--


Zeile 25: Zeile 23:
--></span>&nbsp; |<!--else:
--></span>&nbsp; |<!--else:
--></div><!--
--></div><!--
-->}}</includeonly><noinclude><!--
-->}}</includeonly><noinclude>
 
{{pp-template|small=yes}}
 
<hr/><center>'''{{purge}}''' the Wikipedia cache of this template.<hr/></center><br/>
-->{{protected template}}
{{/doc}}  
{{/doc}}  
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]-->
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]-->
</noinclude>
</noinclude>
Anonymer Benutzer