Difference between revisions of "Template:Navbar"

From D&D 5e
Jump to: navigation, search
m (self-rv)
m (249 revisions imported: Export Template:Quote from mediawiki.org)
 
(135 intermediate revisions by 45 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}{{#if:{{{mini|}}}|[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]}}{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box:&nbsp;}}{{#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:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>
+
<span class="noprint plainlinks navbar" style="{{{style|}}}"><small><!--
==Usage==
 
Copyable empty example:
 
<nowiki>{{Tnavbar|Name of Template|mini= |nodiv= |plain= }}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.
 
  
<nowiki>{{Tnavbar|Tnavbar}}</nowiki> gives {{Tnavbar|Tnavbar}}
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
 +
--><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
  
==Note to editors==
+
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#91;</span>}}<!--
This template is likely represented across <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Special:Whatlinkshere/Template:Tnavbar&limit=4000&from=0 thousands of pages]</span>; please tread lightly when editing here.  Conducting sufficient sandbox testing to establish the validity of edits relative to Tnavbar is '''strongly''' encouraged prior to attempting to integrate changes.
 
  
==Examples / See also==
+
--><span style="white-space:nowrap;word-spacing:-.12em;"><!--
<pre>{{Tnavbar|Name of Template|mini= |nodiv= |plain= }}</pre>
+
-->[[{{ns:10}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
 +
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
  
=== Required parameters ===
+
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
*<code><nowiki>{{Tnavbar|Name of Template}}</nowiki></code> the template name is required.
+
-->[[{{ns:11}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
 +
-->{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
  
=== Optional parameters ===
+
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
{| class="wikitable"
+
--><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!--
! Optional parameter !! colspan=2 | Produces...
+
-->[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!--
|-
+
-->{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
|Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar|mini=1}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar|mini=1}} like so.
+
--></span><!--
|-
 
|<nowiki>{{Tnavbar|Tnavbar|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.
 
|-
 
|<nowiki>{{Tnavbar|Tnavbar|mini=1|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text.
 
|-
 
|<nowiki>No "This box:" text. {{Tnavbar|Tnavbar|plain=1}}</nowiki> || → ||No "This box:" text. {{Tnavbar|Tnavbar|plain=1}}
 
|-
 
|<nowiki>Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}}</nowiki> || → ||Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}}
 
|}
 
  
[[cs:Šablona:Tnavbar]]
+
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#93;</span>}}<!--
[[Category:Internal link templates|{{PAGENAME}}]]</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