Template:Navbar: Difference between revisions
Enwikipedia>Rex the first (rv I hope that has clarified things on the talk page) |
m (242 revisions imported: fixing lua errors) |
||
(159 intermediate revisions by 42 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ |
<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude> |
||
{{documentation}} |
|||
#if:{{{nodiv|}}}| <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| view }}</span>]·[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{ |
|||
#if:{{{short|}}}|t| talk }}</span>]·[{{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| edit}}</span>] |
|||
{{ |
|||
#if:{{{nodiv|}}}|</span> |</div> |
|||
⚫ | |||
==Usage== |
|||
Copyable empty example: |
|||
<nowiki>{{Tnavbar|Name of Template|short= |nodiv= }}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to adds '''view''' • '''talk''' • '''edit''' navigational functionality. |
|||
<nowiki>{{Tnavbar|Tnavbar}}</nowiki> gives {{Tnavbar|Tnavbar}} |
|||
==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. |
|||
==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" |
|||
! Optional parameter !! colspan=2 | Produces... |
|||
|- |
|||
|Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar|short=1}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar|short=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|short=1|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|short=1|nodiv=1}} Good for "blending" into text. |
|||
|} |
|||
[[cs:Šablona:Tnavbar]] |
|||
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude> |