Difference between revisions of "Template:Poll"

From partnersenproppersolutions
 
(14 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
<div class="container">
 
<div class="container">
 
<div class="row">
 
<div class="row">
<div class="embed-responsive embed-responsive-16by9">{{#widget:Iframe responsive
+
[[File:Logo.jpg|link=]]
 +
</div>
 +
<div class="row">
 +
{{#widget:Iframe
 
|url=https://www.proprofs.com/polls/poll/?title={{{Title|}}}
 
|url=https://www.proprofs.com/polls/poll/?title={{{Title|}}}
}}</div>
+
|width=100%
 +
|height=700px
 +
}}
 
</div>
 
</div>
 
<div class="row">
 
<div class="row">
{{#if: {{{Next poll|}}} | {{#ifeq: {{#show: {{FULLPAGENAME}} |?Ready for next poll}} | true |
+
{{#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.