Wikia

Sonic News Network

Navbox

Talk4
8,038pages on
this wiki

Template page

{{{title}}}
{{{list1}}}


Usage

This template is for the creation of navigational templates, also called navboxes. Navboxes are generally placed at the bottom of an article, for easy navigation between a small number of related pages.

To use this template, copy the following markup into a new Navbox template:

{{navbox
| name = {{subst:PAGENAME}}
| title = 
| list1 =
}}

This produces a Navbox with a title and a single area of text. It is also possible to create larger Navboxes, with multiple rows, by replacing the "list1" field with a "rows" field and transcluding {{navbox/row}} into that field, e.g. as follows:

{{navbox
| name = {{subst:PAGENAME}}
| title = Heading
| rows =
{{navbox/row|First label|First list}}
{{navbox/row|Second label|Second list}}
}}

This produces:

v · e · dHeading
First label First list
Second label Second list


Note that, if you want the vertical bar | to be visible in the template, then you must render it using {{!}}, because the vertical bar interferes with the template markup.

There are also other, optional fields that you can use. The full template, with all fields, is as follows:

{{navbox
| width =
| name = {{subst:PAGENAME}}
| title =
| titlelink = 
| backgroundcolormain =
| backgroundcolorhead =
| bordercolor =
| textcolormain =
| textcolorhead =
| list1 =
| list2 =
| list3 =
| list4 =
| background1 =
| background2 =
| background3 =
| background4 =
| rows =
}}

Around Wikia's network

Random Wiki