Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
m (rv; the {{{style|}}} allow you to stuff like {{tnavbar|pagename|style=float:right}} without adding an extra div around the template)
m (249 revisions imported: Export Template:Quote from mediawiki.org)
 
(98 intermediate revisions by 34 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space:nowrap; font-size:xx-small; {{{style|}}}">|<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|}}}|1||This box:&nbsp;}}{{#if:{{{mini|}}}|[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]{{·}}[{{fullurl: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>]{{·}}[{{fullurl:Template:{{{1}}}|action=history}} <span style="color:#002bb8;" title="Past versions of this template.">h</span>]}}{{#if:{{{mini|}}}||[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">view</span>]{{·}}[{{fullurl: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:{{{plain|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=history}} <span style="color:#002bb8;" title="Past versions of this template.">hist</span>].}}}}{{#if:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>
+
<span class="noprint plainlinks navbar" style="{{{style|}}}"><small><!--
{{/doc}}
 
  
<!--NB Add metadata to the /doc page linked above, not here - thanks!-->
+
-->{{#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