Jump to content

Àdàkọ:Tnavbar-collapsible

Lát'ọwọ́ Wikipedia, ìwé ìmọ̀ ọ̀fẹ́

 [[Template:|]]  [[Template talk:|if.]]  [[[:Àdàkọ:Fullurl:Àdàkọ:]] at.] {{{1}}}

A sandbox has been set up so modifications to the template may be tested before being implemented in the template proper:

Template:Infobox Country/sandbox

If possible, please try to view any modifications using a variety of web browsers and on different types of computer (PC, Macintosh, etc). Thank you!

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "vcard"

Please do not rename or remove these classes.


Simply place the following code in the header area of collapsible tables to add left justified v • d • e navigational functionality:

{{Tnavbar-collapsible| Heading wikitext |{{subst:PAGENAME}}}}
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 use {{subst:PAGENAME}} as a shortcut for this value.
plain
If set to plain=1 then v • d • e will be expanded to the longer form of view • talk • edit.
fontcolor
Specifies the title text color and the link color of the v • d • e.

Note to editors with access to this template

[àtúnṣe àmìọ̀rọ̀]

This template is likely represented across tens of thousands of pages, so please tread lightly when editing here.

{{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: Àdàkọ:Navigational templates