Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(Undid revision 274723151 by Happy-melon (talk) That breaks parameter precedence, and 'style' and 'fontstyle' apply to different spans.)
m (249 revisions imported: Export Template:Quote from mediawiki.org)
 
(36 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|<!--then:
+
<span class="noprint plainlinks navbar" style="{{{style|}}}"><small><!--
-->&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|}}}"><!--
 
-->}}<!--
 
  
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
-->|<!--else:
+
--><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
-->This box:&nbsp;<!--
 
-->}}<!--
 
  
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
+
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#91;</span>}}<!--
-->[[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:
+
--><span style="white-space:nowrap;word-spacing:-.12em;"><!--
--></span>&nbsp;|<!--else:
+
-->[[{{ns:10}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
--></div><!--
+
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
-->}}{{#if:{{{fontstyle|}}}{{{fontcolor|}}}|[[Category:Tnavbar templates using obscure parameters|{{{1|}}}]]}}</includeonly><noinclude>
+
 
{{pp-template|small=yes}}
+
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
{{documentation}}
+
-->[[{{ns:11}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
</noinclude>
+
-->{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
 +
 
 +
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 +
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
 +
-->[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!--
 +
-->{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
 +
--></span><!--
 +
 
 +
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#93;</span>}}<!--
 +
 
 +
--></small></span>
 +
<noinclude>{{doc}}</noinclude>

Latest revision as of 21:40, 28 January 2018

{{#if:||This box: }}{{#if:|[}}[[Template:{{{1}}}|{{#if:|v|view}}]] · [[Template talk:{{{1}}}|{{#if:|d|talk}}]]{{#if:|| · [{{fullurl:Template:{{{1}}}|action=edit}} {{#if:|e|edit}}]}}{{#if:|]}} Template:Doc