Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(subst:'ing, Replaced: {{·}} → {{subst:·}} (4) using AWB)
(incorporate new single letter "v" option + single "view" option based upon User:Trialsanderrors comments on talk)
Line 5: Line 5:
 
-->}}<!--
 
-->}}<!--
  
-->{{#ifeq:{{{mini|}}}{{{plain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
 
-->This box:&nbsp;<!--
 
-->This box:&nbsp;<!--
 
-->}}<!--
 
-->}}<!--
Line 13: Line 13:
 
-->}}<!--
 
-->}}<!--
  
-->{{#if:{{{mini|}}} |<!--then:(nothing)--> |<!--else:
+
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:
 +
-->[[Template:{{{1}}}|<span title="View this template.">v{{#if:{{{plainview|}}}|iew}}</span>]]<!--
 +
-->|<!--else:(nothing)--> |}}<!--
 +
 
 +
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
 
-->[[Template:{{{1}}}|<span title="View this template.">view</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">talk</span>]]&nbsp;<span style="font-size:80%;">•</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>]<!--
 
-->[[Template:{{{1}}}|<span title="View this template.">view</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">talk</span>]]&nbsp;<span style="font-size:80%;">•</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>]<!--
 
-->}}<!--
 
-->}}<!--

Revision as of 12:29, 20 November 2006


Template:Navbar/doc