Difference between revisions of "Template:Navbar"

From WPRDC Wiki
Jump to navigation Jump to search
imported>Rex the first
(rm This box from short and added proper spaces)
>Netscott
(rv, those examples are good... and many are still in usage... let's ease into changes...)
Line 1: Line 1:
<includeonly>{{
<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">This box: [{{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>]</div><noinclude>
#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" 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;">}}
{{#if:{{{short|}}}||This box:}}[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{
#if:{{{short|}}}|v|&nbsp;view&nbsp;}}</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{
#if:{{{short|}}}|t|&nbsp;talk&nbsp;}}</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">{{
#if:{{{short|}}}|e|&nbsp;edit}}</span>]
{{
#if:{{{nodiv|}}}|</span>&nbsp;|</div>
}}</includeonly><noinclude>
==Usage==
==Usage==
Copyable empty example:
Simply place '''<nowiki>{{</nowiki>'''Tnavbar|Name of Template'''<nowiki>}}</nowiki>''' inside  a given [[Wikipedia:Navigational templates|template]] to add '''view''' '''talk''' '''edit''' navigational functionality to it.
<nowiki>{{Tnavbar|Name of Template|short= |nodiv= }}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to adds '''view''' &bull;  '''talk''' &bull;  '''edit''' navigational functionality.  
 
<nowiki>{{Tnavbar|Tnavbar}}</nowiki> gives {{Tnavbar|Tnavbar}}
 
==Note to editors==
==Note to editors==
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 hundreds of pages (if not thousands)]</span>; please tread lightly when editing here.
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 hundreds of pages (if not thousands)]</span>; please tread lightly when editing here.


==Examples / See also==
==Examples / See also==
<pre>{{Tnavbar|Name of Template|short= |nodiv= }}</pre>
=== Required parameters ===
*<nowiki>{{Tnavbar|Name of Template}}</nowiki> the template name is required.
=== Optional parameters ===
{| class="wikitable"
{| class="wikitable"
! Optional parameter !! colspan=2 | Produces...
! Template !! colspan=2 | This... !! colspan=2 | Produces...
|-
| '''This template''' || → || Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar}} like so.
|-
| {{tl|Tnavbar-mini}} || → || Divides into a separate section: <nowiki>{{Tnavbar-mini|Tnavbar}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar-mini|Tnavbar}} like so.
|-
| {{tl|Tnavbar-plain}} || → || Divides into a separate section: <nowiki>{{Tnavbar-plain|Tnavbar}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar-plain|Tnavbar}} like so.
|-
|-
|Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar|short=1}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar|short=1}} like so.
| {{tl|Tnavbar-nodiv}} || → || Good for "blending" into text. <nowiki>{{Tnavbar-nodiv|Tnavbar}}</nowiki> || → || Good for "blending" into text. {{Tnavbar-nodiv|Tnavbar}}  
|-
|-
|<nowiki>{{Tnavbar|Tnavbar|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.
| {{tl|Tnavbar-mini-nodiv}} || → || Good for "blending"  <nowiki>{{Tnavbar-mini-nodiv|Tnavbar}}</nowiki> into text. || → ||Good for "blending"  {{Tnavbar-mini-nodiv|Tnavbar}} into text.
|-
|-
|<nowiki>{{Tnavbar|Tnavbar|short=1|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|short=1|nodiv=1}} Good for "blending" into text.
| {{tl|Tnavbar-plain-nodiv}} || → || <nowiki>{{Tnavbar-plain-nodiv|Tnavbar}}</nowiki> Good for "blending" into text. || → || {{Tnavbar-plain-nodiv|Tnavbar}} Good for "blending" into text.
|}
|}


[[cs:Šablona:Tnavbar]]
[[cs:Šablona:Tnavbar]]
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>

Revision as of 08:02, 27 July 2006

This box: [{{fullurl:Template:{{{1}}}}} view] • [{{fullurl:Template_talk:{{{1}}}}} talk] • [{{fullurl:Template:{{{1}}}|action=edit}} edit]

Usage

Simply place {{Tnavbar|Name of Template}} inside a given template to add viewtalkedit navigational functionality to it.

Note to editors

This template is likely represented across hundreds of pages (if not thousands); please tread lightly when editing here.

Examples / See also

Template This... Produces...
This template Divides into a separate section: {{Tnavbar|Tnavbar}} like so. Divides into a separate section: Template:Tnavbar like so.
{{Tnavbar-mini}} Divides into a separate section: {{Tnavbar-mini|Tnavbar}} like so. Divides into a separate section: Template:Tnavbar-mini like so.
{{Tnavbar-plain}} Divides into a separate section: {{Tnavbar-plain|Tnavbar}} like so. Divides into a separate section: Template:Tnavbar-plain like so.
{{Tnavbar-nodiv}} Good for "blending" into text. {{Tnavbar-nodiv|Tnavbar}} Good for "blending" into text. Template:Tnavbar-nodiv
{{Tnavbar-mini-nodiv}} Good for "blending" {{Tnavbar-mini-nodiv|Tnavbar}} into text. Good for "blending" Template:Tnavbar-mini-nodiv into text.
{{Tnavbar-plain-nodiv}} {{Tnavbar-plain-nodiv|Tnavbar}} Good for "blending" into text. Template:Tnavbar-plain-nodiv Good for "blending" into text.

cs:Šablona:Tnavbar