Difference between revisions of "Template:Poll"

From partnersenproppersolutions
Line 11: Line 11:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>__NOTITLE__{{#set: Ready for next poll={{{Ready for next poll|}}} }}
 
</noinclude><includeonly>__NOTITLE__{{#set: Ready for next poll={{{Ready for next poll|}}} }}
 +
<div class="container"><div class="row">
 
{{MediaWiki:WSHeader}}
 
{{MediaWiki:WSHeader}}
 +
</div>
 +
<div class="row">
 
<div class="embed-responsive embed-responsive-16by9" style="padding-top:100px;margin-top: -100px;">{{#widget:Iframe responsive
 
<div class="embed-responsive embed-responsive-16by9" style="padding-top:100px;margin-top: -100px;">{{#widget:Iframe responsive
 
|url=https://www.proprofs.com/polls/poll/?title={{{Title|}}}
 
|url=https://www.proprofs.com/polls/poll/?title={{{Title|}}}
 
}}</div>
 
}}</div>
 +
</div>
 +
<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 |
 
{{Button
 
{{Button
Line 24: Line 29:
 
| {{#autoedit: form=Poll | target={{FULLPAGENAME}} | Poll[Ready for next poll]=Yes}}
 
| {{#autoedit: form=Poll | target={{FULLPAGENAME}} | Poll[Ready for next poll]=Yes}}
 
}}
 
}}
 +
</div>
 
</includeonly>
 
</includeonly>

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