Difference between revisions of "Template:Navbar"

From WPRDC Wiki
Jump to navigation Jump to search
>Netscott
>CesarB
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box:&nbsp;}}{{#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>]}}{{#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>{{esoteric}}
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box:&nbsp;}}{{#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>]}}{{#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>{{/doc}}</noinclude>
==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}}
 
==Note to editors==
This template is represented across [[Special:Whatlinkshere/Template:Tnavbar|thousands of pages]] please tread lightly when editing here.  Conducting sufficient [[Template:Template sandbox|sandbox testing]] to establish the validity of edits relative to Tnavbar is '''strongly''' encouraged prior to attempting to integrate changes.
 
==Examples==
<pre>{{Tnavbar|Name of Template|mini= |nodiv= |plain= }}</pre>
 
=== Required parameters ===
*<code><nowiki>{{Tnavbar|Name of Template}}</nowiki></code> the template name is required.
 
=== Optional parameters ===
{| class="wikitable"
! Optional parameter !! colspan=2 | Produces...
|-
|Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar|mini=1}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar|mini=1}} like so.
|-
|<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}}
|}
==See also==
<big>'''Please note:''' The following see alsos refer to previous versions of Tnavbar that are now deprecated. Any templates utilizing the following versions of Tnavbar should be updated to use Tnavbar with Tnavbar's added parameter system. Please do not further employ the following templates when adding Tnavbar to given templates.</big>
 
{| class="wikitable"
! Template !! colspan=2 | This... !! colspan=2 | Produces...
|-
| '''This template''' || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar|Tnavbar}} like so.
|-
| {{tl|Tnavbar-mini}} || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar-mini|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar-mini|Tnavbar}} like so.
|-
|  {{tl|Tnavbar-plain}} || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar-plain|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar-plain|Tnavbar}} like so.
|-
| {{tl|Tnavbar-nodiv}} || &rarr; || Good for "blending" into text. <nowiki>{{Tnavbar-nodiv|Tnavbar}}</nowiki> || &rarr; || Good for "blending" into text. {{Tnavbar-nodiv|Tnavbar}}
|-
| {{tl|Tnavbar-mini-nodiv}} || &rarr; || Good for "blending"  <nowiki>{{Tnavbar-mini-nodiv|Tnavbar}}</nowiki> into text. || &rarr; ||Good for "blending"  {{Tnavbar-mini-nodiv|Tnavbar}} into text.
|-
| {{tl|Tnavbar-plain-nodiv}} || &rarr; || <nowiki>{{Tnavbar-plain-nodiv|Tnavbar}}</nowiki> Good for "blending" into text.  || &rarr; || {{Tnavbar-plain-nodiv|Tnavbar}} Good for "blending" into text.
|}
 
 
[[cs:Šablona:Tnavbar]]
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>

Revision as of 03:52, 27 August 2006