Malline:Tnavbar-collapsible
RuneWikistä, vapaasta RuneScape-aiheisesta tietosanakirjasta. Tänään on 27. huhtikuuta 2024.
Siirry valikkoon
Siirry hakuun
This documentation is transcluded from Malline:Tnavbar-collapsible/doc.
The Tnavbar-collapsible template adds navigational functionality to Navbox templates. This template transcludes Template:Tnavbar.
Usage[muokkaa wikitekstiä]
The following code is placed in the header area of collapsible tables to add left-justified v • d • e navigational functionality:
{{Tnavbar-collapsible|Heading wikitext|{{subst:PAGENAME}}}}
Parameters[muokkaa wikitekstiä]
Mandatory[muokkaa wikitekstiä]
- (the first unnamed parameter) - Text that appears centered in the title (the header).
- (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.
{{subst:PAGENAME}}
can be used as a shortcut for this value.
Optional[muokkaa wikitekstiä]
- 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 v • d • e.
Example[muokkaa wikitekstiä]
This template is automatically added to all Navbox templates.
Header | |
---|---|
Sub-header |
Bones • Item2 • Item3 • Item4 • Item5 |
Sub-header |
Item6 • Item7 • Item8 • Item9 • Item10 |
See also[muokkaa wikitekstiä]
- {{Tnavbar}} - This template transcludes tnavbar, the source is more customisable.