Template:Navbar: Difference between revisions

render code more efficient to cut down on processing
m (one return too many still)
(render code more efficient to cut down on processing)
Line 1:
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}{{#if:{{{mini|}}}|[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" 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>]|This box: [{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" 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>|</div>}}</includeonly><noinclude>
<includeonly>{{
#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}{{
#if:{{{mini|}}}||This box:&nbsp;}}[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{
#if:{{{mini|}}}|v|view}}</span>]{{
#if:{{{mini|}}}|&middot;|&nbsp;&bull;&nbsp;}}[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{
#if:{{{mini|}}}|d|talk}}</span>]{{
#if:{{{mini|}}}|&middot;|&nbsp;&bull;&nbsp;}}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">{{
#if:{{{mini|}}}|e|edit}}</span>]{{
#if:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>
==Usage==
Copyable empty example:
Anonymous user