Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(tracking cats for other parameters)
(overhaul, from sandbox, per talk)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|<!--then:
+
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span|<div}} class="noprint plainlinksneverexpand navbar" style="background:none; padding:0; font-weight:normal; {{{fontstyle|}}}; font-size:88%; {{{style|}}}"><!--
-->&nbsp;<span class="noprint plainlinksneverexpand navbar" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}">|<!--else:
+
 
--><div class="noprint plainlinksneverexpand navbar" style="background-color:transparent; padding:0; white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}"><!--
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
-->}}<!--
+
-->This box:&#32;}}<!--
 +
 
 +
-->{{#if:{{{brackets|}}}|&#91;}}<!--
 +
 
 +
-->[[{{transclude|{{{1}}}}}|<span title="View this template" style="{{{fontstyle|}}}"><!--
 +
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
 +
 
 +
-->&nbsp;'''·'''&nbsp;[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discussion about this template" style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
  
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
+
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
-->|<!--else:
+
-->&nbsp;'''·'''&nbsp;[{{fullurl:{{transclude|{{{1}}}}}|action=edit}}<span title="Edit this template" style="{{{fontstyle|}}};">{{#if:{{{mini|}}}|e|edit}}</span>]<!--
-->This box:&nbsp;<!--
 
 
-->}}<!--
 
-->}}<!--
  
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
+
-->{{#if:{{{brackets|}}}|]}}<!--
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{viewplain|}}}|view|v}}</span>]]|<!--else:
 
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{mini|}}}|v|view}}</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]]{{#ifeq:{{{noedit}}}|1||&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="You can edit this template. Please use the preview button before saving.">{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
 
-->}}<!--
 
  
 
-->{{#if:{{{nodiv|}}}|<!--then:
 
-->{{#if:{{{nodiv|}}}|<!--then:
 
--></span>&nbsp;|<!--else:
 
--></span>&nbsp;|<!--else:
--></div><!--
+
--></div>}}</includeonly><noinclude>
-->}}{{#if:{{{fontcolor|}}}|[[Category:Tnavbar templates using fontcolor parameter|{{NAMESPACE}} {{{1|}}} {{PAGENAME}}]]}}{{#if:{{{miniv|}}}|[[Category:Tnavbar templates using miniv parameter|{{NAMESPACE}} {{{1|}}} {{PAGENAME}}]]}}{{#if:{{{viewplain|}}}|[[Category:Tnavbar templates using viewplain parameter|{{NAMESPACE}} {{{1|}}} {{PAGENAME}}]]}}</includeonly><noinclude>
+
 
{{pp-template|small=yes}}
+
{{Template sandbox notice}}
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 09:23, 14 March 2009


Template:Template sandbox notice