Template:Helpbox nofloat
From FORwiki
(Difference between revisions)
m (reduce margin-left) |
|||
| (One intermediate revision not shown) | |||
| Line 34: | Line 34: | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
| + | </noinclude> | ||
| + | <noinclude> | ||
| + | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Current revision as of 00:27, 3 December 2009
| {{{name}}} |
|---|
[edit] []
Template documentation
This template allows a non-floating help navigational template to be set up relatively quickly by supplying it one or more lists of links.
Contents |
Usage
{{helpbox nofloat
|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.
- (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
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 nofloat}}:
| {{{name}}} |
|---|
| {{{group1}}} |
| {{{list1}}} |
| {{{group2}}} |
| {{{list2}}} |
| {{{list3}}} without {{{group3}}} |
| {{{group4}}} |
| {{{list4}}} |
Example
{{helpbox nofloat|width:600px;
|name=FORwiki policy
|group1=Article standards
|list1=List1
|group2=Group2
|list2=List2
|group3=Group3
|list3=List3
}}
| FORwiki policy |
|---|
| Article standards |
| List1 |
| Group2 |
| List2 |
| Group3 |
| List3 |

