Difference between revisions of "Template:Poll"

From partnersenproppersolutions
Line 24: Line 24:
 
<div class="row">
 
<div class="row">
 
{{#if: {{{Next poll|}}}  
 
{{#if: {{{Next poll|}}}  
| {{#ifeq: {{#show: {{FULLPAGENAME}} |?Ready for next poll}} | true | {{Button
+
| {{Button
 
|Text=Go to next poll
 
|Text=Go to next poll
 
|Href=/{{{Next poll|}}}
 
|Href=/{{{Next poll|}}}
 
|Target=_blank
 
|Target=_blank
 
|Class=btn btn-primary
 
|Class=btn btn-primary
}}
 
| {{#ifingroup: sysop | {{#autoedit: form=Poll | target={{FULLPAGENAME}} | link text=Ready | Poll[Ready for next poll]=Yes | reload}} }}
 
 
}} }}
 
}} }}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 17:51, 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.