Уикипедияның мағлұматы
This is the
documentation page for
Үлгі:Tnavbar-collapsible.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.
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:
|
CSS class |
collapses when† |
custom initial state |
Nesting |
NavFrame |
NavFrame |
3+ of the same |
No |
Yes |
collapsible |
navbox, collapsible |
2+ of the same |
Yes |
No |
† For the technically minded, see MediaWiki:Common.js. |