Template:Navbar/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ohhlongjonson ←Replaced page with 'WHEEEY' |
meta>DerHexer m Reverted edits by Ohhlongjonson (talk) to last version by Holek |
||
Line 1: | Line 1: | ||
<includeonly>{{esoteric}}{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | |||
<br/><span style="font-size:200%;">Tnavbar</span>{{spaces|2}}('''T'''emplate '''nav'''igation '''bar''') | |||
==Usage== | |||
Copyable examples when inside a given [[Wikipedia:Navigational templates|template]] adds Tnavbar navigational functionality: | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|plain=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|miniv=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|viewplain=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|miniv=1|nodiv=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|viewplain=1|nodiv=1}}</nowiki></tt> | |||
:<tt><nowiki>{{Tnavbar|{{subst:PAGENAME}}|fontcolor=green}}</nowiki></tt> | |||
:The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template's name when parsed by the servers. | |||
:<nowiki>{{Tnavbar|Tnavbar/doc}}</nowiki> gives: {{Tnavbar|Tnavbar/doc}} | |||
==Note to editors with edit access to this template== | |||
This template is represented across [[Special:Whatlinkshere/Template:Tnavbar|tens of thousands of pages]], so please tread lightly when editing here. Conducting sufficient [[Template:Template sandbox|sandbox testing]] ([[Template:Tnavbar/Sandbox|Tnavbar specific]]) 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= |fontcolor= }}</pre> | |||
=== Required parameters === | |||
*<code><nowiki>{{Tnavbar|Name of Template}}</nowiki></code> the template name is required. | |||
=== Optional parameters === | |||
{| class="wikitable" | |||
! Optional parameter !! !! Produces... | |||
|- | |||
|No "This box:" text. <code><nowiki>{{Tnavbar|Template Name|plain=1}}</nowiki></code> || → ||No "This box:" text. {{Tnavbar|Tnavbar/doc|plain=1}} | |||
|- | |||
|<code><nowiki>{{Tnavbar|Template Name|nodiv=1}}</nowiki></code> Good for "blending" into text. || → || {{Tnavbar|Tnavbar/doc|nodiv=1}} Good for "blending" into text. | |||
|- | |||
|Blended no "This box:" text. <code><nowiki>{{Tnavbar|Template Name|plain=1|nodiv=1}}</nowiki></code> || → ||Blended no "This box:" text. {{Tnavbar|Tnavbar/doc|plain=1|nodiv=1}} | |||
|- | |||
| colspan="3"| | |||
|- | |||
|Makes Tnavbar display in a mini version: <code><nowiki>{{Tnavbar|Template Name|mini=1}}</nowiki></code> like so. || → || Makes Tnavbar display in a mini version: {{Tnavbar|Tnavbar/doc|mini=1}} like so. | |||
|- | |||
|<code><nowiki>{{Tnavbar|Template Name|mini=1|nodiv=1}}</nowiki></code> Good for "blending" into text. || → || {{Tnavbar|Tnavbar/doc|mini=1|nodiv=1}} Good for "blending" into text. | |||
|- | |||
| colspan="3"| | |||
|- | |||
|For a fuller simpler access option. <code><nowiki>{{Tnavbar|Template Name|viewplain=1}}</nowiki></code> || → ||For a fuller simpler access option. {{Tnavbar|Tnavbar/doc|viewplain=1}} | |||
|- | |||
|For a simpler access option. <code><nowiki>{{Tnavbar|Template Name|miniv=1}}</nowiki></code> || → ||For a simpler access option. {{Tnavbar|Tnavbar/doc|miniv=1}} | |||
|- | |||
|For a color option. <code><nowiki>{{Tnavbar|Template Name|fontcolor=color}}</nowiki></code> || → ||For a color option. {{Tnavbar|Tnavbar/doc|fontcolor=green}} | |||
|} | |||
== Prepackaged == | |||
;{{tl|tnavbar-header}}: Positions <small>v • d • e</small> on the right edge of the line, often used in non-collapsible navbox heading. | |||
;{{tl|Tnavbar-navframe}}: For use in conjunction with [[Wikipedia:NavFrame|Navframe div]]s, positions <small>v • d • e</small> opposite of the [hide]/[show] feature. | |||
;{{tl|Tnavbar-collapsible}}: For use in conjunction with [[Wikipedia: NavFrame#Collapsible tables|Collapsible tables]],floats <small>v • d • e</small> opposite of the [hide]/[show] feature. | |||
<br/>A list of meta-templates that may be used in place of custom navbox code follows. | |||
== See also == | |||
{{Navigational templates}} | |||
<includeonly> | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> | |||
[[Category:Internal link templates|{{PAGENAME}}]] | |||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | |||
[[ang:Template:Tnavbar-mini-nodiv]] | |||
[[ar:قالب:Tnavbar]] | |||
[[be:Шаблён:Tnavbar]] | |||
[[bn:Template:তথ্যছক-Tnavbar]] | |||
[[bpy:মডেল:Tnavbar]] | |||
[[ca:Plantilla:Tnavbar]] | |||
[[ceb:Template:Tnavbar-plain]] | |||
[[cv:Шаблон:Tnavbar]] | |||
[[da:Skabelon:Tnavbar]] | |||
[[el:Πρότυπο:Tnavbar-mini-nodiv]] | |||
[[es:Plantilla:Barnavp]] | |||
[[fa:الگو:نوارپیونددان]] | |||
[[fr:Modèle:Tnavbar]] | |||
[[fi:Malline:Tnavbar]] | |||
[[ga:Teimpléad:Tnavbar]] | |||
[[hi:Template:Tnavbar]] | |||
[[hr:Predložak:Tnavbar]] | |||
[[hu:Sablon:Tnavbar]] | |||
[[id:Templat:Tnavbar]] | |||
[[ilo:Template:Tnavbar]] | |||
[[ja:Template:Tnavbar]] | |||
[[ka:თარგი:Tnavbar]] | |||
[[kk:Үлгі:Tnavbar]] | |||
[[ko:틀:안내 참조]] | |||
[[kn:ಟೆಂಪ್ಲೇಟು:Tnavbar]] | |||
[[ku:Şablon:Tnavbar]] | |||
[[lmo:Template:Tnavbar]] | |||
[[lo:Template:Tnavbar]] | |||
[[lt:Šablonas:Tnavbar]] | |||
[[lv:Veidne:Tnavbar]] | |||
[[it:Template:Tnavbar]] | |||
[[is:Snið:Tnavbar]] | |||
[[mi:Template:Tnavbar]] | |||
[[mk:Шаблон:Tnavbar]] | |||
[[ml:Template:Tnavbar]] | |||
[[mn:Template:Tnavbar]] | |||
[[ms:Templat:Tnavbar]] | |||
[[mt:Template:Tnavbar]] | |||
[[mr:साचा:Tnavbar]] | |||
[[ne:Template:Tnavbar]] | |||
[[new:Template:Tnavbar]] | |||
[[nl:Sjabloon:Tnavbar]] | |||
[[no:Mal:Tnavbar]] | |||
[[nov:Template:Tnavbar]] | |||
[[oc:Modèl:Tnavbar]] | |||
[[pam:Template:Tnavbar]] | |||
[[pl:Szablon:Tnavbar]] | |||
[[ps:Template:Tnavbar]] | |||
[[pt:Predefinição:Tnavbar-mini-nodiv]] | |||
[[ro:Format:Tnavbar]] | |||
[[ru:Шаблон:Tnavbar]] | |||
[[sh:Үлгі:Tnavbar]] | |||
[[si:Template:Tnavbar]] | |||
[[simple:Template:Tnavbar]] | |||
[[sk:Šablóna:Tnavbar]] | |||
[[sl:Predloga:Prednavmeni]] | |||
[[sr:Шаблон:Tnavbar]] | |||
[[su:Citakan:Tnavbar]] | |||
[[fi:Malline:Tnavbar]] | |||
[[sv:Mall:Tnavbar]] | |||
[[ta:வார்ப்புரு:Tnavbar]] | |||
[[te:మూస:Tnavbar]] | |||
[[tg:Шаблон:Tnavbar]] | |||
[[th:แม่แบบ:Tnavbar]] | |||
[[tl:Template:Tnavbar]] | |||
[[tr:Şablon:Dçubuğu]] | |||
[[uk:Шаблон:Tnavbar]] | |||
[[ur:سانچہ:Tnavbar]] | |||
[[vi:Tiêu bản:Tnavbar]] | |||
[[yi:מוסטער:Tnavbar]] | |||
[[zh:Template:Tnavbar]] | |||
[[zh-yue:Template:Tnavbar]] | |||
</includeonly> |
Revision as of 13:59, 17 September 2007
Template:Template doc page viewed directly
Tnavbar (Template navigation bar)
Usage
Copyable examples when inside a given template adds Tnavbar navigational functionality:
- {{Tnavbar|{{subst:PAGENAME}}|mini=1}}
- {{Tnavbar|{{subst:PAGENAME}}|plain=1}}
- {{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|miniv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|viewplain=1}}
- {{Tnavbar|{{subst:PAGENAME}}|miniv=1|nodiv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|viewplain=1|nodiv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|fontcolor=green}}
- The
{{subst:PAGENAME}}
will be substituted with the template's name when parsed by the servers. - {{Tnavbar|Tnavbar/doc}} gives: Template:Tnavbar
Note to editors with edit access to this template
This template is represented across tens of thousands of pages, so please tread lightly when editing here. Conducting sufficient sandbox testing (Tnavbar specific) to establish the validity of edits relative to Tnavbar is strongly encouraged prior to attempting to integrate changes.
Examples
{{Tnavbar|Name of Template|mini= |nodiv= |fontcolor= }}
Required parameters
{{Tnavbar|Name of Template}}
the template name is required.
Optional parameters
Optional parameter | Produces... | |
---|---|---|
No "This box:" text. {{Tnavbar|Template Name|plain=1}} |
→ | No "This box:" text. Template:Tnavbar |
{{Tnavbar|Template Name|nodiv=1}} Good for "blending" into text. |
→ | Template:Tnavbar Good for "blending" into text. |
Blended no "This box:" text. {{Tnavbar|Template Name|plain=1|nodiv=1}} |
→ | Blended no "This box:" text. Template:Tnavbar |
Makes Tnavbar display in a mini version: {{Tnavbar|Template Name|mini=1}} like so. |
→ | Makes Tnavbar display in a mini version: Template:Tnavbar like so. |
{{Tnavbar|Template Name|mini=1|nodiv=1}} Good for "blending" into text. |
→ | Template:Tnavbar Good for "blending" into text. |
For a fuller simpler access option. {{Tnavbar|Template Name|viewplain=1}} |
→ | For a fuller simpler access option. Template:Tnavbar |
For a simpler access option. {{Tnavbar|Template Name|miniv=1}} |
→ | For a simpler access option. Template:Tnavbar |
For a color option. {{Tnavbar|Template Name|fontcolor=color}} |
→ | For a color option. Template:Tnavbar |
Prepackaged
- {{tnavbar-header}}
- Positions v • d • e on the right edge of the line, often used in non-collapsible navbox heading.
- {{Tnavbar-navframe}}
- For use in conjunction with Navframe divs, positions v • d • e opposite of the [hide]/[show] feature.
- {{Tnavbar-collapsible}}
- For use in conjunction with Collapsible tables,floats v • d • e opposite of the [hide]/[show] feature.
A list of meta-templates that may be used in place of custom navbox code follows.
See also
Template:Navigational templates