Template:Navbar-collapsible/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>TadejM
m +iw: sl
Line 13: Line 13:
====''Optional''====
====''Optional''====
; fontcolor : (<span style="color: red;">'''Deprecated'''</span>) Specifies the title text color
; fontcolor : (<span style="color: red;">'''Deprecated'''</span>) Specifies the title text color
==See also==
;{{tl|Tnavbar}}: This template [[Wikipedia:Transclusion|transcludes]] tnavbar, the source is more customizable.
;{{tl|tnavbar-header}}: Positions <small>v • d • e</small> on the right edge of the line, often used in non-collapsible navbox heading.
;{{tl|Tnavbar-navframe}}: For use in conjunction with [[Wikipedia:NavFrame|Navframe div]]s, positions <small>v • d • e</small> opposite of the [hide]/[show] feature.
Make use of meta-template to reduce code bloat and simplify editing:
{{Navigational templates}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Internal link templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[sl:Predloga:Prednavmeni-skrčljivo]]
</includeonly>

Revision as of 16:24, 30 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