Template:Helpbox
跳到导航
跳到搜索
![]() | 本Template的源代码中包含了一些精密的可選參數和構造。 建議您於編輯模板前先熟悉其构造與解析器函數。若您的編輯導致了意外的問題,請儘快撤銷編輯,因該模板或於相當數量的頁面中出現。 所有實驗性的编辑可於沙盒模板或者您自己的用戶頁中進行。 |
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 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}} parameters:
Helpbox/doc |
---|
{{{group1}}} |
{{{list1}}} |
{{{group2}}} |
{{{list2}}} |
{{{list3}}} without {{{group3}}} |
{{{group4}}} |
{{{list4}}} |
Example[编辑]
{{helpbox|width:200px; |name=[[:Category:Wikipedia official policy|Wikipedia policy]] |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]] }}
Wikipedia policy |
---|
Article standards |
Neutral point of view Verifiability No original research Biographies of living persons |
Working with others |
Civility Consensus No personal attacks Dispute resolution No legal threats |
Global principles |
What Wikipedia is not Ignore all rules |
上述文档嵌入自Template:Helpbox/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |