Template:Tnavbar-header/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Usage[edit source]

Simply place {{Tnavbar-header|Heading|Name of Template}} in the header area of a given template to add a centered heading with right justified vde navigational functionality. If there is need for a font color other than black, use {{Tnavbar-header|Heading|Name of Template|fontcolor=#html color code}} instead.

Parameters[edit source]


Mandatory[edit source]

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[edit source]

plain
switched from v.d.e mode to view talk edit, if plain=1 is set.
fontcolor
Specifies the title text color

See also[edit source]

{{navbar}}
This template transcludes navbar; the source is more customizable.