Vorlage:Navbar: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(simplify code per User:Dispenser's suggestion)
(further simplication relative to User:Dispenser's logic)
Zeile 1: Zeile 1:
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space: nowrap; font-size:xx-small; {{{style|}}}">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap; {{{style|}}}">}}{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box:&nbsp;}}{{#if:{{{mini|}}}|[[Template:{{{1}}}|<span title="View this template.">v</span>]] &middot; [{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>] &middot; [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]}}{{#if:{{{mini|}}}||[[Template:{{{1}}}|<span title="View this template.">view</span>]] • [{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">talk</span>] • [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]}}{{#if:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>{{/doc}}  
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space: nowrap; font-size:xx-small; {{{style|}}}">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap; {{{style|}}}">}}{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box:&nbsp;}}{{#if:{{{mini|}}}|[[Template:{{{1}}}|<span title="View this template.">v</span>]] &middot; [[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">d</span>]] &middot; [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]}}{{#if:{{{mini|}}}||[[Template:{{{1}}}|<span title="View this template.">view</span>]] • [[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">talk</span>]] • [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]}}{{#if:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>{{/doc}}  


<!--Note: Interwiki links for this template should be put on [[Template:Tnavbar/doc]]-->
<!--Note: Interwiki links for this template should be put on [[Template:Tnavbar/doc]]-->


</noinclude>
</noinclude>

Version vom 31. Oktober 2006, 12:18 Uhr