Templat:Kotak bantuan/doc
Ini ialah sublaman pendokumenan untuk Templat:Kotak bantuan. Ia mempunyai maklumat penggunaan, kategori dan kandungan lain yang bukan sebahagian daripada laman templat templat laman. |
Templat ini membenarkan satu bantuan Templat navigasi untuk membina segera dengan membekalkan satu aau lebih senarai pautan.
Penggunaan[sunting sumber]
{{Kotak_bantuan |name = |group1 = |list1 = |group2 = |list2 = ... |group10 = |list10 = }}
Parameter-parameter[sunting sumber]
Mandatori[sunting sumber]
- 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
Pilihan[sunting sumber]
- groupn
- (i.e. group1, group2, etc.) If specified, text appears in a header displayed above listn.
Layout jadual[sunting sumber]
Table generated by {{Kotak_bantuan}} parameters:
Contoh[sunting sumber]
{{helpbox|width:200px; |name=[[:Category:Polisi rasmi Wikipedia|Polisi Wikipedia]] |group1=Article standards |list1= [[Wikipedia:Neutral point of view|Neutral point of view]]<br />[[Wikipedia:Verifiability|Verifiability]]<br />[[Wikipedia:No original research|No original research]]<br />[[Wikipedia:Biographies of living persons|Biographies of living persons]] |group2=Working with others |list2= [[Wikipedia:Civility|Civility]]<br />[[Wikipedia:Consensus|Consensus]]<br />[[Wikipedia:No personal attacks|No personal attacks]]<br />[[Wikipedia:Dispute resolution|Dispute resolution]]<br/>[[WP:LEGAL|No legal threats]] |group3=Global principles |list3= [[Wikipedia:What Wikipedia is not|What Wikipedia is not]]<br />[[Wikipedia:Ignore all rules|Ignore all rules]] }}