Difference between revisions of "Template:Helpbox/doc"

From CannaQAWiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 66: Line 66:
| group3 = Global principles
| group3 = Global principles
| list3 =
| list3 =
*[[CannaQAWiki:What Wikipedia is not|What Wikipedia is not]]
*[[CannaQAWiki:What CannaQA wiki is not|What CannaQA wiki is not]]
*[[CannaQAWiki:Ignore all rules|Ignore all rules]]
*[[CannaQAWiki:Ignore all rules|Ignore all rules]]
}}
}}
Line 93: Line 93:
| group3 = Global principles
| group3 = Global principles
| list3 =
| list3 =
*[[CannaQAWiki:What Wikipedia is not|What Wikipedia is not]]
*[[CannaQAWiki:What CannaQA wiki is not|What CannaQA wiki is not]]
*[[CannaQAWiki:Ignore all rules|Ignore all rules]]
*[[CannaQAWiki:Ignore all rules|Ignore all rules]]
}}
}}
Line 100: Line 100:
<includeonly>
<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Wikipedia metatemplates]]
[[Category:CannaQAwiki metatemplates]]
[[Category:Sidebar templates]]
[[Category:Sidebar templates]]
}}
}}
</includeonly>
</includeonly>

Latest revision as of 20:05, 10 March 2020

This template allows a help-related navigation template to be set up relatively quickly by supplying it with one or more lists of links.

Usual syntax

{{Helpbox
| name    =  <!-- or: | templatename = -->
| title   =  <!-- or, if templatename used: | name = -->

| group1  = 
| list1   = 

| group2  = 
| list2   = 

<!-- etc, to: -->

| group20 = 
| list20  = 

}}

Parameters

Required

title  (or, if templatename used (see below), name)
The template's title, centered at the top of the template.
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 20 lists/groups in a template.

Optional

groupn
(i.e. group1, group2, etc.) If specified, text appears in a header displayed above listn.
first unnamed parameter
Inline CSS for the template.
name  (or, if name used as above, templatename)
The template's pagename, activating the inclusion of the V•T•E links in its bottom righthand corner. Template:Helpbox's pagename, for example, is "Helpbox".

Example

{{Helpbox |width:17.5em
| name = Helpbox/doc
| class = plainlist
| title = [[:Category:CannaQA Wiki policies|CannaQA WIki policy]]

| group1 = Article standards
| list1 =
*[[CannaQAWiki:Neutral point of view|Neutral point of view]]
*[[CannaQAWiki:Verifiability|Verifiability]]
*[[CannaQAWiki:No original research|No original research]]
*[[CannaQAWiki:Biographies of living persons|Biographies of living persons]]

| group2 = Working with others
| list2 =
*[[CannaQAWiki:Civility|Civility]]
*[[CannaQAWiki:Consensus|Consensus]]
*[[CannaQAWiki:No personal attacks|No personal attacks]]
*[[CannaQAWiki:Dispute resolution|Dispute resolution]]
*[[WP:LEGAL|No legal threats]]

| group3 = Global principles
| list3 =
*[[CannaQAWiki:What CannaQA wiki is not|What CannaQA wiki is not]]
*[[CannaQAWiki:Ignore all rules|Ignore all rules]]
}}