Template:Tnavbar-collapsible

From MegaGlest
Jump to: navigation, search
Template documentation (for the above template)[view] [edit] [purge]
The Tnavbar-collapsible template adds navigational functionality to Navbox templates. This template transcludes Template:Tnavbar.

Usage[edit]

The following code is placed in the header area of collapsible tables to add left-justified v • d • e navigational functionality:

{{Tnavbar-collapsible|Heading wikitext|{{subst:PAGENAME}}}}

Parameters[edit]

Mandatory[edit]

  • (the first unnamed parameter) - Text that appears centered in the title (the header).
  • (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. {{subst:PAGENAME}} can be used as a shortcut for this value.

Optional[edit]

  • plain - If set to plain=1 then v • d • e will be expanded to the longer form of view • talk • edit.
  • fontcolor - Specifies the title text color, and the link color of v • d • e.

Example[edit]

This template is automatically added to all Navbox templates.

See also[edit]