Template:Tnavbar

From MegaGlest
Revision as of 22:47, 11 August 2010 by Hofmic (talk) (1 revision: Templates)
Jump to: navigation, search
This box: [[{{{1}}}|view]]  [{{fullurl:Template talk:{{{1}}}}} talk]  [{{fullurl:Template:{{{1}}}|action=edit}} edit]
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

  • {{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

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

Required parameters

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

Optional parameters

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