Difference between revisions of "Template:Navbar"

From Self-sufficiency
Jump to: navigation, search
(add colour option)
m (4 revisions from wikipedia:Template:Navbar)
 
(69 intermediate revisions by 24 users not shown)
Line 1: Line 1:
<includeonly><!--
+
<includeonly><div class="noprint plainlinks hlist navbar" style="{{{style|}}}"><!--
-->{{#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|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
-->This box:&nbsp;<!--
+
--><span style="word-spacing:0;{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
-->}}<!--
+
  
-->{{#if:{{{mini|}}} |<!--then:
+
-->{{#if:{{{brackets|}}}|<span style="margin-right:-0.125em;{{{fontstyle|}}}">&#91;</span>}}<!--
-->[[Template:{{{1}}}|<span title="View this template.">v</span>]]{{·}}&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">d</span>]]{{·}}&nbsp;[{{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|}}} |<!--then:(nothing)--> |<!--else:
+
--><ul><!--
-->[[Template:{{{1}}}|<span title="View this template.">view</span>]]{{·}}&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">talk</span>]]{{·}}&nbsp;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!--
+
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
-->}}<!--
+
-->{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
  
-->{{#if:{{{nodiv|}}} |<!--then:
+
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
--></span>&nbsp; |<!--else:
+
-->{{#if:{{{mini|}}}|d|talk}}</span>]]</li><!--
  
-->{{#if:{{{fontcolor|}}} <span style="color:{{{fontcolor|}}}">{{{1}}}|<!--then:
+
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
--></span>{{{1}}}}}<!--
+
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!--
--></div><!--
+
-->{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
 +
--></ul><!--
  
 +
-->{{#if:{{{brackets|}}}|<span style="margin-left:-0.125em;{{{fontstyle|}}}">&#93;</span>}}<!--
  
-->}}</includeonly><noinclude>
+
--></div></includeonly><noinclude>
  
 
+
{{documentation}}
 
+
{{/doc}}  
+
 
+
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]-->
+
 
</noinclude>
 
</noinclude>

Latest revision as of 12:08, 21 December 2011