Template:Tnavbar-collapsible/doc

From Darkan
Revision as of 09:06, 29 November 2009 by imported>Azliq7 (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Tnavbar-collapsible.
It contains usage information, categories, and other content that is not part of the original template page.

The Tnavbar-collapsible template adds navigational functionality to Navbox templates. This template transcludes Template:Tnavbar.

Usage

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

Mandatory

  • (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

  • 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

This template is automatically added to all Navbox templates.

See also