Sjabloon:Navbox/doc

Uit Minecraft Wiki
Ga naar: navigatie, zoeken
Documentatie


Vertalen.png
Deze pagina heeft vertaling nodig
Deze pagina bevat te veel woorden uit een andere taal.


This template should be used to in navbox templates, which should then be included at the bottom of each page that is linked in the template.

Usage[bewerken]

Parameter(s) Usage Default value(s)
{{{name}}} Should be identical to the template's name without namespace. Does nothing unless {{{1}}} is set to navbar or navbar-mini. {{{name}}}
{{{title}}} Sets the title used at the top of the navbox. {{{title}}}
{{{state}}} Allows you to change the collapsing state of the table. More info. Collapsed is removed while on pages in the Template namespace, to make editing easier. collapsible collapsed
{{{1}}} child: The template can be used to have a sub-set of groups within another navbox.

navbar: Will add a navigation bar giving links to view, discuss, and edit the template. Requires {{{name}}} to be set. Note: This will only correctly link to templates that are actually in the Template: namespace.

navbar-mini: Identical to navbar, except the titles of the links are v, d, and e instead of view, discuss, and edit.

None
{{{placement}}} When {{{1}}} is set to child, specifies where the child is placed within the navbox group. Leave blank if it is the only thing in the group, top if it is placed at the top of the group (text below it), middle if it is in the middle of the group (text above and below it), or bottom of it is placed at the bottom of the group (text above it). None
{{{titlestyle}}} Allows custom styling for the title area None
{{{bodystyle}}} Allows custom styling for the body area None
{{{groupstyle}}} Allows custom styling for the group area None
{{{liststyle}}} Allows custom styling for the list area None
{{{group1-30}}} Adds the heading for the group number specified {{{group1}}} = {{{group1}}}
{{{group2-30}}} = None
{{{list1-30}}} Adds text for the list number specified {{{list1}}} = {{{list1}}}
{{{list2-30}}} = None
{{{bottomtext}}} Adds text to the bottom of the navbox None

Example[bewerken]

Example
Example group 1
Example group 2 Text above a child navbox
Example Sub-group 1
Example Sub-group 2 Example Sub-list 2
Taking up two lines
Example Sub-group 3 Example Sub-list 3
Text under a child navbox

Text at the bottom of a navbox

Dit is de documentatiepagina, het zou automatisch ingevoegd moeten worden op de pagina van het hoofdsjabloon. Zie Sjabloon:Doc voor meer informatie.