模板:Votings/m/doc
外觀
< Template:Votings | m
本文件是Template:Votings/m的文件子頁面(見模板頁自身)。 本頁包含用法資訊、分類和其他非原模板頁面的內容。 |
Usage
[編輯]This template displays an item in the {{votings}} list only if the item is non-zero.
Syntax: {{Votings/m/doc|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}}