Difference between revisions of "Template:Poll"

From partnersenproppersolutions
Line 23: Line 23:
 
</div>
 
</div>
 
<div class="row">
 
<div class="row">
{{#if: {{{Next poll|}}} | {{#ifeq: {{#show: {{FULLPAGENAME}} |?Ready for next poll}} | true |
+
{{#if: {{{Next poll|}}} | {{#ifeq: {{#show: {{FULLPAGENAME}} |?Ready for next poll}} | true | {{#ifingroup: sysop |
 
{{Button
 
{{Button
 
|Text=Go to next poll
 
|Text=Go to next poll
Line 31: Line 31:
 
}} }}
 
}} }}
 
| {{#autoedit: form=Poll | target={{FULLPAGENAME}} | Poll[Ready for next poll]=Yes}}
 
| {{#autoedit: form=Poll | target={{FULLPAGENAME}} | Poll[Ready for next poll]=Yes}}
}}
+
}} }}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 17:42, 1 February 2017

This is the "Poll" template. It should be called in the following format:

{{Poll
|Title=
|Next poll=
|Ready for next poll=
}}

Edit the page to see the template text.