Template:Helpbox: Difference between revisions

From BoyWiki
(New page: {{ sidebar | float = {{{float|right}}} | name = {{{templatename|}}} | navbar = {{#if:{{{templatename|}}}||none}} | title = {{{name|}}} | style = backgrou...)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
| heading1    = {{{group1|}}}
| heading1    = {{{group1|}}}
| content1    = {{{list1|}}}
| content1    = {{{list1|}}}
| heading2    = {{{group2|}}}
| content2    = {{{list2|}}}
| heading2    = {{{group2|}}}
| heading2    = {{{group2|}}}
| content2    = {{{list2|}}}
| content2    = {{{list2|}}}
Line 33: Line 31:
| heading11    = {{{group11|}}}
| heading11    = {{{group11|}}}
| content11    = {{{list11|}}}
| content11    = {{{list11|}}}
| heading12    = {{{group12|}}}
| content12    = {{{list12|}}}
| heading12    = {{{group12|}}}
| heading12    = {{{group12|}}}
| content12    = {{{list12|}}}
| content12    = {{{list12|}}}
Line 53: Line 49:
| heading20    = {{{group20|}}}
| heading20    = {{{group20|}}}
| content20    = {{{list20|}}}
| content20    = {{{list20|}}}
}}<noinclude>{{documentation}}</noinclude>
}}<noinclude>{{documentation}}
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 13:36, 5 December 2015

BoyWiki Template documentation (for the above template, sometimes hidden or invisible)

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 centered 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:


Visit Template:Helpbox/doc to edit this template's description!
Done making changes?   Refresh   Also see:  Portal:Template index  and   Help:Templates