Template:Navbar-collapsible/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Netscott
m →‎See also: like includes
meta>TadejM
m +iw: sl
Line 26: Line 26:
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Internal link templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
[[sl:Predloga:Prednavmeni-skrčljivo]]
</includeonly>
</includeonly>

Revision as of 08:57, 2 April 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 transcludes 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