Difference between revisions of "Template:Helpbox/doc"

From The Lion King Wiki
Jump to: navigation, search
(Created page with "{{doc/start}} <includeonly>{{Intricate template}}</includeonly> This template allows a help navigational template to be set up relatively qu...")
 
 
Line 35: Line 35:
 
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a header displayed above ''list<sub>n</sub>''.
 
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a header displayed above ''list<sub>n</sub>''.
 
:; first param
 
:; first param
:: inline [[CSS]] for the table
+
:: inline CSS for the table
  
 
=== Layout of table ===
 
=== Layout of table ===
Line 51: Line 51:
 
}}
 
}}
 
{{-}}
 
{{-}}
 +
 
{{doc/end}}
 
{{doc/end}}

Latest revision as of 02:15, 4 April 2011

Template-info.png Documentation


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}}}


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.