Difference between revisions of "Template:Vote"

From GURaaS Developer Community
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:


{{#if: {{{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": "boolean",
"autovalue": "",
"autovalue": "false",
"suggested": true
"default": "false"
}
}
},
},
"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