模板:Information page
外观
![本页使用了标题或全文手工转换](http://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png)
![]() |
这是Category:维基百科信息页的页面横幅模板。 它可以适当地放在管理页面(非条目)的顶部。
分类
[编辑]本模板会把使用该模板的页面添加到分类中。对于使用该模板的页面:
- 如果该页面的命名空间为“维基百科:”("Wikipedia:")或“帮助:”("Help:"),那么这个页面会被添加到Category:维基百科信息页。
- 如果该页面的命名空间为“用户:”("User:"),那么这个页面会被添加到Category:维基用户论述。
如果使用该模板的页面是一个草稿,请在草稿完成前使用参数|nocat=
,以避免草稿页面被添加到以上分类。
如果使用该模板的页面不属于上面的命名空间,该页面应当不会被自动分类。但在有些时候,它会被错误地分类到一些页面中。
使用
[编辑]这个模板可以像这样使用:
{{Information page}}
但是也可以使用至多三个快捷方式作为参数,并形成一个小的快捷方式框。如下:
{{Information page|WP:SHORT|WP:LONG}}
其显示效果如下:
![]() |
如果你使用了超过两个快捷方式参数,会使快捷方式参数框变得太高,这看起来不好。 在这种情况下最好在本模板下方直接使用{{shortcut}}
,如下所示:
可选参数
[编辑]|1=
或|sc1=
、|shortcut1=
、|shortcut=
,或第一个未命名的参数 – First shortcut. Don't include[[...]]
linking brackets in this or other shortcut parameters.|2=
or|sc2=
,|shortcut2=
, or first unnamed parameter – Second shortcut|3=
or|sc3=
,|shortcut3=
, or first unnamed parameter – Third shortcut (deprecated; please use separate Template:Shortcut for three or more)|interprets=
or|page=
or|pages=
– Specify name of page (policy, process, etc.) that this essay provides advice about. For a single page, it is not necessary to include[[...]]
linking brackets;. This will replace the wording "Wikipedia's norms and practices". If more than one page and/or any notes are intended, links must be manually coded, e.g.:|interprets=[[Wikipedia:Verifiability]] policy and the [[Wikipedia:Identifying reliable sources]] guideline
|sort-by=
– Specify a sort key for the category. For example, if the how-to page is Wikipedia:Producing maps with xplanet and you want it category-sorted to appear under "X", use|sort-by=Xplanet, Producing maps with
. This has no effect on the user essays category.|category=
– Specify a complete wikilink (i.e, do include the[[...]]
linking brackets) to one or more categories to override the default Category:Wikipedia information pages. May include a category sort; example:[[Category:WikiProject Underwater Basketweaving|Article structure advice]]
This parameter does not replace the Category:User essays categorization for pages in the "User:" namespace, but can be used to add them manually to Category:Wikipedia information pages, in addition to the automatic user category.|nocat=y
or|demo=y
– Bypass all categorization, when the template is used for demo purposes, e.g. in template documentation, on talk pages, etc.|style=
– Pass arbitrary CSS to the Template:Ombox base template that this template uses.
TemplateData
[编辑]
Information page模板数据
|
See also
[编辑]{{Wikipedia how-to}}
– the banner template for pages that are more directly instructional than just informational like H:EDIT.{{Essay|interprets=}}
– the banner template for pages that are more opinionated then instructional or technical; there are several parameters and variations.{{Supplement|interprets=}}
– to tag a well-established page that adds something to a policy or guideline, to make up for a deficiency, and when it is referenced in the guideline or policy like WP:BRD.- Wikipedia:Template messages/Project namespace – for other "Wikipedia:"-namespace banner templates.
上述文档嵌入自Template:Information page/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |