Djonni/Votes
πΒ Documentation
Note the
Quick and dirty template for displaying a formatted ideabox vote summary on my (or your) user page.
Parameters can be unnamed in this order:
- yes
- no
- dupe
- er
Or named with the above names in any order. Omitted or blank parameters will be ignored. Use 0
or -
or any non-whitespace character to force a vote type to be rendered.
In addition, the |status=
parameter can be set to 'accepted, rejected, or reviewing. If not specified, |status=accepted
is the default.
|status=accepted
will highlight the ER vote total, or the yes vote total if no ER value is supplied (see examples below).
Examples:
{{:Djonni/Votes|1|2|3|4}}
|
β1βΒ β2βΒ β3βΒ β4β |
{{:Djonni/Votes|1|2|3|4|βstatus=rejected}}
|
β1βΒ β2βΒ β3βΒ β4β |
{{:Djonni/Votes|1|2|3|4|βstatus=reviewing}}
|
β1βΒ β2βΒ β3βΒ β4β |
{{:Djonni/Votes|1|2|-|4}}
|
β1βΒ β2βΒ β-βΒ β4β |
{{:Djonni/Votes|1|2|-}}
|
β1βΒ β2βΒ β-β |
{{:Djonni/Votes|1|2}}
|
β1βΒ β2β |
{{:Djonni/Votes||||4}}
|
β4β |
{{:Djonni/Votes|er=4}}
|
β4β |
:
colon at the beginning. This is required, as this isn't in the Template
namespace.