Difference between revisions of "Template:Helpbox/doc"
Jump to navigation
Jump to search
imported>Thumperward (more precise cat) |
imported>Uzume (plist) |
||
| Line 27: | Line 27: | ||
:; ''name'' | :; ''name'' | ||
| − | :: The name of the template appears | + | :: The name of the template appears centered in the top row of the table. |
: '''''list<sub>n</sub>''''' | : '''''list<sub>n</sub>''''' | ||
:: (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 <code><nowiki><div> </div></nowiki></code>. At least one ''list'' parameter is required. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' 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 <code><nowiki><div> </div></nowiki></code>. At least one ''list'' parameter is required. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below). There is a limit of 10 lists/groups in a template. | ||
| Line 56: | Line 56: | ||
<pre style="overflow: auto"> | <pre style="overflow: auto"> | ||
| − | {{helpbox|width:200px | + | {{helpbox|width:200px |
| + | |templatename=Helpbox/doc | ||
| + | |bodyclass=plainlist | ||
|name=[[:Category:Wikipedia official policy|Wikipedia policy]] | |name=[[:Category:Wikipedia official policy|Wikipedia policy]] | ||
|group1=Article standards | |group1=Article standards | ||
|list1= | |list1= | ||
| − | [[Wikipedia:Neutral point of view|Neutral point of view]] | + | *[[Wikipedia:Neutral point of view|Neutral point of view]] |
| + | *[[Wikipedia:Verifiability|Verifiability]] | ||
| + | *[[Wikipedia:No original research|No original research]] | ||
| + | *[[Wikipedia:Biographies of living persons|Biographies of living persons]] | ||
|group2=Working with others | |group2=Working with others | ||
|list2= | |list2= | ||
| − | [[Wikipedia:Civility|Civility]] | + | *[[Wikipedia:Civility|Civility]] |
| + | *[[Wikipedia:Consensus|Consensus]] | ||
| + | *[[Wikipedia:No personal attacks|No personal attacks]] | ||
| + | *[[Wikipedia:Dispute resolution|Dispute resolution]] | ||
| + | *[[WP:LEGAL|No legal threats]] | ||
|group3=Global principles | |group3=Global principles | ||
|list3= | |list3= | ||
| − | [[Wikipedia:What Wikipedia is not|What Wikipedia is not]] | + | *[[Wikipedia:What Wikipedia is not|What Wikipedia is not]] |
| + | *[[Wikipedia:Ignore all rules|Ignore all rules]] | ||
}} | }} | ||
</pre> | </pre> | ||
| − | {{helpbox|width:200px | + | {{helpbox|width:200px |
| − | |name=[[:Category:Wikipedia | + | |templatename=Helpbox/doc |
| + | |bodyclass=plainlist | ||
| + | |name=[[:Category:Wikipedia official policy|Wikipedia policy]] | ||
|group1=Article standards | |group1=Article standards | ||
|list1= | |list1= | ||
| − | [[Wikipedia:Neutral point of view|Neutral point of view]] | + | *[[Wikipedia:Neutral point of view|Neutral point of view]] |
| + | *[[Wikipedia:Verifiability|Verifiability]] | ||
| + | *[[Wikipedia:No original research|No original research]] | ||
| + | *[[Wikipedia:Biographies of living persons|Biographies of living persons]] | ||
|group2=Working with others | |group2=Working with others | ||
|list2= | |list2= | ||
| − | [[Wikipedia:Civility|Civility]] | + | *[[Wikipedia:Civility|Civility]] |
| + | *[[Wikipedia:Consensus|Consensus]] | ||
| + | *[[Wikipedia:No personal attacks|No personal attacks]] | ||
| + | *[[Wikipedia:Dispute resolution|Dispute resolution]] | ||
| + | *[[WP:LEGAL|No legal threats]] | ||
|group3=Global principles | |group3=Global principles | ||
|list3= | |list3= | ||
| − | [[Wikipedia:What Wikipedia is not|What Wikipedia is not]] | + | *[[Wikipedia:What Wikipedia is not|What Wikipedia is not]] |
| + | *[[Wikipedia:Ignore all rules|Ignore all rules]] | ||
}} | }} | ||
Revision as of 13:54, 1 June 2012
| 40px | This is a documentation subpage for Template:Helpbox. It contains usage information, categories and other content that is not part of the original template page. |
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.
- (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}} parameters:
| {{{name}}} |
|---|
| {{{group1}}} |
| {{{list1}}} |
| {{{group2}}} |
| {{{list2}}} |
| {{{list3}}} without {{{group3}}} |
| {{{group4}}} |
| {{{list4}}} |
Example
{{helpbox|width:200px
|templatename=Helpbox/doc
|bodyclass=plainlist
|name=[[:Category:Wikipedia official policy|Wikipedia policy]]
|group1=Article standards
|list1=
*[[Wikipedia:Neutral point of view|Neutral point of view]]
*[[Wikipedia:Verifiability|Verifiability]]
*[[Wikipedia:No original research|No original research]]
*[[Wikipedia:Biographies of living persons|Biographies of living persons]]
|group2=Working with others
|list2=
*[[Wikipedia:Civility|Civility]]
*[[Wikipedia:Consensus|Consensus]]
*[[Wikipedia:No personal attacks|No personal attacks]]
*[[Wikipedia:Dispute resolution|Dispute resolution]]
*[[WP:LEGAL|No legal threats]]
|group3=Global principles
|list3=
*[[Wikipedia:What Wikipedia is not|What Wikipedia is not]]
*[[Wikipedia:Ignore all rules|Ignore all rules]]
}}
| Wikipedia policy |
|---|
| Article standards |
| Working with others |
| Global principles |