Difference between revisions of "Template:Navbar"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(spacing between v, d, e, h chars to ease selection, +internal comments to aid reading code)
 
(99 intermediate revisions by 31 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|<!---then:--->&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space:nowrap; font-size:xx-small; {{{style|}}}">|<!---else:---><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|<!---then:--->|<!---else:--->This box:&nbsp;}}<!------------>{{#if:{{{mini|}}}|<!---then:--->[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]{{·}} [{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>]{{·}} [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]{{·}} [{{fullurl:Template:{{{1}}}|action=history}} <span style="color:#002bb8;" title="Past versions of this template.">h</span>]}}<!------------>{{#if:{{{mini|}}}|<!---then:--->|<!---else:--->[{{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:{{{plain|}}}|<!---then:--->{{·}} [{{fullurl:Template:{{{1}}}|action=history}} <span style="color:#002bb8;" title="Past versions of this template.">hist</span>].}}}}<!------------>{{#if:{{{nodiv|}}}|<!---then:---></span>&nbsp;|<!---else:---></div>}}</includeonly><noinclude>
+
<includeonly><div class="noprint plainlinks hlist navbar {{#if:{{{mini|}}}|mini}}" style="{{{style|}}}"><!--
{{/doc}}
 
  
<!--NB Add metadata to the /doc page linked above, not here - thanks!-->
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
 +
--><span style="word-spacing:0;{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
  
 +
-->{{#if:{{{brackets|}}}|<span style="margin-right:-0.125em;{{{fontstyle|}}}">&#91;</span>}}<!--
 +
 +
--><ul><!--
 +
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span title="View this template" <!--
 +
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
 +
 +
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" <!--
 +
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|t|talk}}</span>]]</li><!--
 +
 +
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 +
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span title="Edit this template" <!--
 +
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
 +
--></ul><!--
 +
 +
-->{{#if:{{{brackets|}}}|<span style="margin-left:-0.125em;{{{fontstyle|}}}">&#93;</span>}}<!--
 +
 +
--></div></includeonly><noinclude>
 +
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:04, 8 March 2016


Documentation icon Template documentation[create]