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.
Header | |
---|---|
Sub-header |
Bones · Item2 · Item3 · Item4 · Item5 |
Sub-header |
Item6 · Item7 · Item8 · Item9 · Item10 |
See also[]
- {{Tnavbar}} - This template transcludes tnavbar, the source is more customisable.