This wiki is out of date, use the continuation of this wiki instead

Template:Navbox

From FenixWiki

Revision as of 16:59, 10 March 2008 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

[edit] Template

Navigation box template.

Throw in a name and a list of items and they will appear in this box. It's centered and 100% wide.

Variables:

name, // title (mandatory)
list, // separate elements with the delimiter "," or specify it with ''listseparator''
list1, // separate elements with the delimiter "," or specify it with ''listseparator''
list2, // separate elements with the delimiter "," or specify it with ''listseparator''
list3, // separate elements with the delimiter "," or specify it with ''listseparator''
list4, // separate elements with the delimiter "," or specify it with ''listseparator''
listname, // name of the list
listname1, // name of the list
listname2, // name of the list
listname3, // name of the list
listname4, // name of the list
listseparator, // specify a listseparator (default: ",")
talign, // title align (left/right/center/justify) (default: center)
align, // align the list elements (left/right/center/justify) (default: center)
{{{name}}}

[edit] Example

{{Navbox2
  | name = Apples
  | list = Elstar,Goudrenet,Golden Delicious,etc
}}
Apples
Elstar • Goudrenet • Golden Delicious • etc
Personal tools