Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(Update from sandbox, now showing V·T·E in small-caps, per WP:VPT#Changing the "d" to "t" in templates)
(Use CSS class for small-caps)
Line 1: Line 1:
<includeonly><div class="noprint plainlinks hlist navbar" style="{{{style|}}}"><!--
+
<includeonly><div class="noprint plainlinks hlist navbar {{#if:{{{mini|}}}|mini}}" style="{{{style|}}}"><!--
  
 
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
 
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
Line 8: Line 8:
 
--><ul><!--
 
--><ul><!--
 
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span title="View this template" <!--
 
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span title="View this template" <!--
-->style="{{{fontstyle|}}};{{#if:{{{mini|}}}|font-variant:small-caps;">v|">view}}</span>]]</li><!--
+
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
  
 
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" <!--
 
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" <!--
-->style="{{{fontstyle|}}};{{#if:{{{mini|}}}|font-variant:small-caps;">t|">talk}}</span>]]</li><!--
+
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|t|talk}}</span>]]</li><!--
  
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span title="Edit this template" <!--
 
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span title="Edit this template" <!--
-->style="{{{fontstyle|}}};{{#if:{{{mini|}}}|font-variant:small-caps;">e|">edit}}</span>]</li>}}<!--
+
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
 
--></ul><!--
 
--></ul><!--
  

Revision as of 05:06, 24 February 2012


50px Template documentation[create]