Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
(trying to make code more transparent)
m (249 revisions imported: Export Template:Quote from mediawiki.org)
 
(90 intermediate revisions by 34 users not shown)
Line 1: Line 1:
<includeonly>
+
<span class="noprint plainlinks navbar" style="{{{style|}}}"><small><!--
{{#if:{{{nodiv|}}}
 
|<!--then:-->&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space:nowrap; font-size:xx-small; {{{style|}}}">
 
|<!--else:--><div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color:transparent; padding:0; font-size:xx-small; color:#000000; white-space:nowrap; {{{style|}}}">
 
}}
 
{{#ifeq:{{{mini|}}}{{{plain|}}}|<!---equals:-->1
 
|<!--then:-->
 
|<!--else:-->This box:&nbsp;
 
}}
 
{{#if:{{{mini|}}}
 
|<!--then:-->[[Template:{{{1}}}|<span title="View this template.">v</span>]]{{·}} [[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">d</span>]]{{·}} [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]
 
}}
 
{{#if:{{{mini|}}}
 
|<!--then:-->
 
|<!--else:-->[[Template:{{{1}}}|<span title="View this template.">view</span>]]{{·}} [[Template talk:{{{1}}}|<span style="color:#002bb8;" title="Discussion about this template.">talk</span>]]{{·}} [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]
 
}}
 
{{#if:{{{nodiv|}}}
 
|<!--then:--></span>&nbsp;
 
|<!--else:--></div>}}</includeonly><noinclude>
 
{{/doc}}
 
  
<!--Note: Interwiki links for this template should be put on [[Template:Tnavbar/doc]]-->
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
 +
--><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
  
</noinclude>
+
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#91;</span>}}<!--
 +
 
 +
--><span style="white-space:nowrap;word-spacing:-.12em;"><!--
 +
-->[[{{ns:10}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
 +
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
 +
 
 +
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
 +
-->[[{{ns:11}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
 +
-->{{#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