Wikia

Game of Thrones Wiki

Tnavbar

Talk0
2,420pages on
this wiki

Template page

Revision as of 19:51, March 28, 2012 by MarkvA (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

UsageEdit

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

SyntaxEdit

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

Required parametersEdit

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

Optional parametersEdit

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}}
v
For a full simpler access option. {{tnavbar|Template Name|viewplain=1}}
view

Pre-packagedEdit

Around Wikia's network

Random Wiki