Difference between revisions of "Template:Poll"

From partnersenproppersolutions
 
(9 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
</div>
 
</div>
 
<div class="container">
 
<div class="container">
 +
<div class="row">
 +
[[File:Logo.jpg|link=]]
 +
</div>
 
<div class="row">
 
<div class="row">
 
{{#widget:Iframe
 
{{#widget:Iframe
 
|url=https://www.proprofs.com/polls/poll/?title={{{Title|}}}
 
|url=https://www.proprofs.com/polls/poll/?title={{{Title|}}}
 
|width=100%
 
|width=100%
|height=1000px
+
|height=700px
 
}}
 
}}
 
</div>
 
</div>
 
<div class="row">
 
<div class="row">
{{#if: {{{Next poll|}}} | {{#ifeq: {{#show: {{FULLPAGENAME}} |?Ready for next poll}} | true | {{#ifingroup: sysop |
+
{{#if: {{{Next poll|}}}  
{{Button
+
| {{Button
|Text=Go to next poll
+
|Text=Volgende
 
|Href=/{{{Next poll|}}}
 
|Href=/{{{Next poll|}}}
|Target=_blank
 
 
|Class=btn btn-primary
 
|Class=btn btn-primary
}} }}
 
| {{#autoedit: form=Poll | target={{FULLPAGENAME}} | Poll[Ready for next poll]=Yes}}
 
 
}} }}
 
}} }}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 09:02, 2 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.