Template:Navbar-collapsible/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>DixonDBot
m Migrating 2 interwiki links, now provided by Wikidata on d:Q5645436
meta>DePiep
m transcluded 18000 pages including the old tnavbar- redirect
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<includeonly>{{high-use|10,000+}}</includeonly>
<includeonly>{{high-use|18,000+}}</includeonly>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->



Revision as of 19:44, 26 October 2013


Usage

Simply place the following code in the header area of collapsible tables to add left justified view/talk/edit link functionality:

{{Navbar-collapsible| Heading wikitext |{{subst:FULLPAGENAME}}}}

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 "" links to work properly on all of the pages where the template is used on. You can use {{subst:FULLPAGENAME}} as a shortcut for this value.

Optional

plain
If set to plain=1 then will be expanded to the longer form of .
fontcolor
Specifies the title text color and the link color of the .

See also

{{navbar}}
This template transcludes navbar, the source is more customizable.
{{navbar-header}}
Positions on the right edge of the line, often used in non-collapsible navbox heading.
{{Tnavbar-navframe}}
For use in conjunction with Navframe divs, positions opposite of the [hide]/[show] feature.

Make use of meta-template to reduce code bloat and simplify editing: Template:Navigational templates