Template:Navbar-collapsible/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kukini
m Reverted edits by 204.169.132.2 (talk) to last version by Eleassar
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
==Usage==
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-collapsible|Heading|Name of Template'''<nowiki>}}</nowiki>''' in the header area of [[Wikipedia: NavFrame#Collapsible tables|collapsible tables]] to add left justified <small>v • d • e</small> navigational functionality.
===Parameters===
<hr/>
====''Mandatory''====
; 1 : (the first unnamed parameter) Text that appears centered in the titlebar (the top bar).
; 2 : (the second unnamed parameter) The name of the template, which is needed for the "<span style="white-space:nowrap;">view • talk • edit</span>" links to work properly on all of the pages where the template is used on. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut.
====''Optional''====
; fontcolor : (<span style="color: red;">'''Deprecated'''</span>) Specifies the title text color
==See also==
;{{tl|Tnavbar}}: This template [[Wikipedia:Transclusion|transcludes]] tnavbar, the source is more customizable.
;{{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.
Make use of meta-template to reduce code bloat and simplify editing:
{{Navigational templates}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Internal link templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[sl:Predloga:Prednavmeni-skrčljivo]]
</includeonly>

Revision as of 16:25, 30 April 2007

Template:Template doc page viewed directly

Usage

Simply place {{Tnavbar-collapsible|Heading|Name of Template}} in the header area of collapsible tables to add left justified v • d • e navigational functionality.

Parameters


Mandatory

1
(the first unnamed parameter) Text that appears centered in the titlebar (the top bar).
2
(the second unnamed parameter) The name of the template, which is needed for the "view • talk • edit" links to work properly on all of the pages where the template is used on. You can enter {{subst:PAGENAME}} for this value as a shortcut.

Optional

fontcolor
(Deprecated) Specifies the title text color

See also

{{Tnavbar}}
This template transcludes tnavbar, the source is more customizable.
{{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.

Make use of meta-template to reduce code bloat and simplify editing: Template:Navigational templates