Jump to content

Template:Helpbox/doc: Difference between revisions

no edit summary
(remove {{pp-template}})
No edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}  


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


=== Usage ===
=== Usage ===
 
<pre style="overflow: auto">{{helpbox
<pre style="overflow: auto">
{{helpbox
|name    =  
|name    =  


Line 19: Line 17:
|group10 =  
|group10 =  
|list10  =  
|list10  =  
}}</pre>
}}</pre>  
=== Parameters  ===


=== Parameters ===
==== Mandatory ====
==== Mandatory ====


:; ''name''
:;''name''  
:: The name of the template appears centred in the top row of the table.
::The name of the template appears centred 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.


==== Optional ====
==== Optional ====


:; ''group<sub>n</sub>''
:;''group<sub>n</sub>''  
:: (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 ===


Table generated by {{tl|helpbox}} parameters:
Table generated by {{tl|helpbox}} parameters: {{helpbox
{{helpbox
|name = {{{name}}}
|name = {{{name}}}
|group1 = {{{group1}}}
|group1 = {{{group1}}}
Line 48: Line 45:
|group4 = {{{group4}}}
|group4 = {{{group4}}}
|list4 = {{{list4}}}
|list4 = {{{list4}}}
}}
}} {{-}}  
{{-}}
 
=== Example ===


<pre style="overflow: auto">
=== Example  ===
{{helpbox|width:200px;
<pre style="overflow: auto">{{helpbox|width:200px;
|name=[[:Category:FamilySearch Wiki official policy|FamilySearch Wiki policy]]
|name=[[:Category:FamilySearch Wiki official policy|FamilySearch Wiki policy]]
|group1=Article standards
|group1=Article standards
|list1=
|list1=
[[FamilySearch Wiki:Neutral point of view|Neutral point of view]]<br />[[FamilySearch Wiki:Verifiability|Verifiability]]<br />[[FamilySearch Wiki:No original research|No original research]]<br />[[FamilySearch Wiki:Biographies of living persons|Biographies of living persons]]
[[FamilySearch Wiki:Neutral point of view|Neutral point of view]]&lt;br /&gt;[[FamilySearch Wiki:Verifiability|Verifiability]]&lt;br /&gt;[[FamilySearch Wiki:No original research|No original research]]&lt;br /&gt;[[FamilySearch Wiki:Biographies of living persons|Biographies of living persons]]
|group2=Working with others
|group2=Working with others
|list2=
|list2=
[[FamilySearch Wiki:Civility|Civility]]<br />[[FamilySearch Wiki:Consensus|Consensus]]<br />[[FamilySearch Wiki:No personal attacks|No personal attacks]]<br />[[FamilySearch Wiki:Dispute resolution|Dispute resolution]]<br/>[[WP:LEGAL|No legal threats]]
[[FamilySearch Wiki:Civility|Civility]]&lt;br /&gt;[[FamilySearch Wiki:Consensus|Consensus]]&lt;br /&gt;[[FamilySearch Wiki:No personal attacks|No personal attacks]]&lt;br /&gt;[[FamilySearch Wiki:Dispute resolution|Dispute resolution]]&lt;br/&gt;[[WP:LEGAL|No legal threats]]
|group3=Global principles
|group3=Global principles
|list3=
|list3=
[[FamilySearch Wiki:What FamilySearch Wiki is not|What FamilySearch Wiki is not]]<br />[[FamilySearch Wiki:Ignore all rules|Ignore all rules]]
[[FamilySearch Wiki:What FamilySearch Wiki is not|What FamilySearch Wiki is not]]&lt;br /&gt;[[FamilySearch Wiki:Ignore all rules|Ignore all rules]]
}}
}}
</pre>
</pre>  
 
{{helpbox|width:200px;
{{helpbox|width:200px;
|name=[[:Category:FamilySearch Wiki policy|FamilySearch Wiki policy]]
|name=[[:Category:FamilySearch Wiki policy|FamilySearch Wiki policy]]
Line 79: Line 72:
|list3=
|list3=
[[FamilySearch Wiki:What FamilySearch Wiki is not|What FamilySearch Wiki is not]]<br />[[FamilySearch Wiki:Ignore all rules|Ignore all rules]]
[[FamilySearch Wiki:What FamilySearch Wiki is not|What FamilySearch Wiki is not]]<br />[[FamilySearch Wiki:Ignore all rules|Ignore all rules]]
}}
}}  


<includeonly>
<includeonly>
130

edits