模板:Votings/m
外观
Usage
[编辑]This template displays an item in the {{votings}} list only if the item is non-zero.
Syntax: {{Votings/m|text|link|number|suffix}}
Param name | Description | |
---|---|---|
1=
|
text=
|
The name for the number being displayed (e.g. Pages for review) |
2=
|
link=
|
The name of a page that the number should be linked to |
3=
|
number=
|
The number to display (optional; defaults to 0) |
4=
|
suffix=
|
An optional note to be added after the number |
x=
|
An optional mode to exclude either zero entries if x=+ , or non-zero entries if x=0
|
If the number is 0, the text is not generated.
Internals
[编辑]The item if generated has html class votings-non-0
, which relates to MediaWiki:Gadget-hidevotings.css.
See also
[编辑]- {{votings/n}}
上述文档嵌入自Template:Votings/m/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。 本模板的子页面。 |