Difference between revisions of "Template:Vote"

From GURaaS Developer Community
 
Line 1: Line 1:


{{#ifeq:{{{Stars|}}}|{{{Stars}}}|<vote type=1 />|<vote />}}
{{#ifeq:{{{Single|}}}|{{{Single}}}|<vote />|<vote type=1 />}}


<noinclude>
<noinclude>
Line 6: Line 6:
{
{
"params": {
"params": {
"Stars": {
"Single": {
"description": "When enabled, the voting will be star based (1-5)",
"description": "When removed, the voting will be star based (1-5)",
"type": "string",
"autovalue": "",
"autovalue": "",
"suggested": true
"suggested": true
Line 15: Line 14:
"description": "Option for adding a page voting element to the page",
"description": "Option for adding a page voting element to the page",
"paramOrder": [
"paramOrder": [
"Stars"
"Single"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 12:11, 15 April 2019

<vote type=1 />


Option for adding a page voting element to the page

Template parameters

ParameterDescriptionTypeStatus
SingleSingle

When removed, the voting will be star based (1-5)

Auto value
Unknownsuggested