Template:Helpbox

From Settlement AtWork Wiki
Jump to: navigation, search
{{{name}}}
[edit] [purge] Template documentation

Template:Intricate template

This template allows a help navigational template to be set up relatively quickly by supplying it one or more lists of links.

Usage

{{helpbox
|name    = 

|group1  = 
|list1   = 

|group2  = 
|list2   = 

 ...

|group10 = 
|list10  = 
}}

Parameters

Mandatory

name
The name of the template appears centred in the top row of the table.
listn
(i.e. list1, list2, etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <div> </div>. At least one list parameter is required. Each listn may be preceded by a corresponding groupn parameter, if provided (see below). There is a limit of 10 lists/groups in a template.

Optional

groupn
(i.e. group1, group2, etc.) If specified, text appears in a header displayed above listn.
first param
inline CSS for the table

Layout of table

Table generated by {{helpbox}} parameters:

{{{name}}}
{{{group1}}}
{{{list1}}}
{{{group2}}}
{{{list2}}}
{{{list3}}} without {{{group3}}}
{{{group4}}}
{{{list4}}}


Example

{{helpbox|width:200px;
|name= Demo
|group1= foo
|list1= bar
|group2= foo1
|list2= bar1
|group3= foo2
|list3= bar2
}}
Demo
foo
bar
foo1
bar1
foo2
bar2


|small=yes |demospace= |demolevel=undefined |expiry= |dispute=no |icon-text=This high-risk template is indefinitely protected from editing to prevent vandalism. |reason-text=This high-risk template has been protected from editing to prevent vandalism. |categories=}}

The above documentation is transcluded from Template:Helpbox/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.