Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(thinsp has issues, using word-spacing instead.)
(Update from sandbox: now uses horizontal <ul>)
Line 1: Line 1:
<includeonly><span class="noprint plainlinks navbar" style="{{{style|}}}"><!--
+
<includeonly><div class="noprint plainlinks hlist navbar" style="{{{style|}}}"><!--
  
 
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
 
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
--><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
+
--><span style="word-spacing:0;{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
  
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#91;</span>}}<!--
+
-->{{#if:{{{brackets|}}}|<span style="margin-right:-0.125em;{{{fontstyle|}}}">&#91;</span>}}<!--
  
--><span style="white-space:nowrap;word-spacing:-.12em;"><!--
+
--><ul><!--
-->[[{{transclude|{{{1}}}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
+
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
+
-->{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
  
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
+
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
-->[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
+
-->{{#if:{{{mini|}}}|d|talk}}</span>]]</li><!--
-->{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
 
  
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
+
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!--
-->[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!--
+
-->{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
-->{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
+
--></ul><!--
--></span><!--
 
  
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#93;</span>}}<!--
+
-->{{#if:{{{brackets|}}}|<span style="margin-left:-0.125em;{{{fontstyle|}}}">&#93;</span>}}<!--
  
--></span></includeonly><noinclude>
+
--></div></includeonly><noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 11:52, 14 December 2011


50px Template documentation[create]