Template:Navbar-collapsible/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dispenser
updated documentation
meta>Netscott
Line 3: Line 3:


==Usage==
==Usage==
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-collapsible|Heading|Name of Template'''<nowiki>}}</nowiki>''' in the header area of a [[Wikipedia: NavFrame#Collapsible tables|Collapsible tables]] to add a left justified <small>v • d • e</small> navigational functionality.
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===
===Parameters===

Revision as of 09:47, 17 January 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 transcluses 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