Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(Re-implementing style parameter. Now thouroughly debugged.)
m (249 revisions imported: Export Template:Quote from mediawiki.org)
 
(46 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}} |<!--then:
+
<span class="noprint plainlinks navbar" style="{{{style|}}}"><small><!--
-->&nbsp;<span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|}}}"> |<!--else:
 
--><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0; font-weight:normal; font-size:xx-small; color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#000}}; white-space:nowrap; {{{style|}}}"><!--
 
-->}}<!--
 
  
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
-->This box:&nbsp;<!--
+
--><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
-->}}<!--
 
  
-->{{#if:{{{mini|}}} |<!--then:
+
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#91;</span>}}<!--
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;">v</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;" title="Discussion about this template">d</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;" title="You can edit this template. Please use the preview button before saving.">e</span>]<!--
 
-->}}<!--
 
  
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:
+
--><span style="white-space:nowrap;word-spacing:-.12em;"><!--
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;">v{{#if:{{{viewplain|}}}|iew}}</span>]]<!--
+
-->[[{{ns:10}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
-->|<!--else:(nothing)--> |}}<!--
+
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
  
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;">view</span>]]&nbsp;<span style="font-size:80%;"></span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;" title="Discussion about this template">talk</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!--
+
-->[[{{ns:11}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
-->}}<!--
+
-->{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
  
-->{{#if:{{{nodiv|}}} |<!--then:
+
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
--></span>&nbsp; |<!--else:
+
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
--></div><!--
+
-->[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!--
-->}}</includeonly><noinclude>
+
-->{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
{{pp-template|small=yes}}
+
--></span><!--
<hr/><center>'''{{purge}}''' the Wikipedia cache of this template.<hr/></center><br/>
+
 
{{/doc}}  
+
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#93;</span>}}<!--
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]-->
+
 
</noinclude>
+
--></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