Malline:Tnavbar/doc

RuneWikistä, vapaasta RuneScape-aiheisesta tietosanakirjasta. Tänään on 30. huhtikuuta 2024.
Siirry valikkoon Siirry hakuun
Documentation This is a documentation subpage for Malline:Tnavbar (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Tnavbar (meaning template navigation bar) is used to add navigational functionality to templates. This includes adding link to the template, its talk page, and a quick link to the edit the template.

Usage[muokkaa wikitekstiä]

  • {{tnavbar|{{subst:PAGENAME}}|mini=1}}
  • {{tnavbar|{{subst:PAGENAME}}|plain=1}}
  • {{tnavbar|{{subst:PAGENAME}}|miniv=1}}
  • {{tnavbar|{{subst:PAGENAME}}|viewplain=1}}
  • {{tnavbar|{{subst:PAGENAME}}|fontcolor=green}}

The {{subst:PAGENAME}} will be substituted with the template's name when parsed by the servers.

Syntax[muokkaa wikitekstiä]

{{tnavbar|Name of Template|style= |mini= |fontcolor= |fontstyle=}}

Required parameters[muokkaa wikitekstiä]

  • {{tnavbar|Name of Template}} the template name is required.

Optional parameters[muokkaa wikitekstiä]

Options Parameters Produces...
Normal
Normal {{tnavbar|Template Name}}
This box: view  talk  edit
No "This box:" text. {{tnavbar|Template Name|plain=1}}
view  talk  edit
For a color option. {{tnavbar|Template Name|fontcolor=color}}
This box: view  talk  edit
Mini
Makes Tnavbar display in a mini version: {{tnavbar|Template Name|mini=1}}
v  d  e
View only
For a simpler access option. {{tnavbar|Template Name|miniv=1}}
For a full simpler access option. {{tnavbar|Template Name|viewplain=1}}

Pre-packaged[muokkaa wikitekstiä]