Template:Helpbox nofloat/doc
From FORwiki
(Difference between revisions)
(Created page with 'This template allows a non-floating help navigational template to be set up relatively quickly by supplying it one or more lists of links. =...') |
(→Layout of table) |
||
| (2 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | This template allows a non-floating help | + | This template allows a non-floating help navigational template to be set up relatively quickly by supplying it one or more lists of links. |
== Usage == | == Usage == | ||
| Line 28: | Line 28: | ||
:: (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 | + | :: inline CSS for the table |
== Layout of table == | == Layout of table == | ||
| - | Table generated by {{tl|helpbox nofloat}} | + | Table generated by {{tl|helpbox nofloat}}: |
| + | |||
{{helpbox nofloat | {{helpbox nofloat | ||
|name = {{{name}}} | |name = {{{name}}} | ||
| Line 48: | Line 49: | ||
<pre> | <pre> | ||
{{helpbox nofloat|width:600px; | {{helpbox nofloat|width:600px; | ||
| - | |name= | + | |name=FORwiki policy |
|group1=Article standards | |group1=Article standards | ||
| - | |list1= | + | |list1=List1 |
| - | + | |group2=Group2 | |
| - | |group2= | + | |list2=List2 |
| - | |list2= | + | |group3=Group3 |
| - | + | |list3=List3 | |
| - | |group3= | + | |
| - | |list3= | + | |
| - | + | ||
}} | }} | ||
</pre> | </pre> | ||
{{helpbox nofloat|width:600px; | {{helpbox nofloat|width:600px; | ||
| - | |name= | + | |name=FORwiki policy |
|group1=Article standards | |group1=Article standards | ||
| - | |list1= | + | |list1=List1 |
| - | + | |group2=Group2 | |
| - | |group2= | + | |list2=List2 |
| - | |list2= | + | |group3=Group3 |
| - | + | |list3=List3 | |
| - | |group3= | + | }} |
| - | |list3= | + | |
| - | + | ||
| - | }} | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
Current revision as of 22:14, 24 December 2009
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 |

