Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(Requested change)
(+editplain)
Line 5: Line 5:
 
-->}}<!--
 
-->}}<!--
  
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}{{{editplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
 
-->This box:&nbsp;<!--
 
-->This box:&nbsp;<!--
 
-->}}<!--
 
-->}}<!--
Line 17: Line 17:
 
-->|<!--else:(nothing)--> |}}<!--
 
-->|<!--else:(nothing)--> |}}<!--
  
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
-->{{#if:{{{editplain|}}} |<!--then:
 +
-->[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!--
 +
-->}}<!--
 +
 
 +
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}}{{{editplain|}}} |<!--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 {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->|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 {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->|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 10:42, 30 January 2007

Template:Purge the Wikipedia cache of this template. Template:Protected template Template:Navbar/doc