Template:Tnavbar

From MegaGlest
Jump to: navigation, search


Template documentation (for the above template)[view] [edit] [purge]
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[edit]

  • {{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[edit]

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

Required parameters[edit]

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

Optional parameters[edit]

Options Parameters Produces...
Normal
Normal {{tnavbar|Template Name}}
No "This box:" text. {{tnavbar|Template Name|plain=1}}
For a color option. {{tnavbar|Template Name|fontcolor=color}}
Mini
Makes Tnavbar display in a mini version: {{tnavbar|Template Name|mini=1}}
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[edit]