Difference between revisions of "Template:Poll"

From partnersenproppersolutions
 
(19 intermediate revisions by the same user not shown)
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="embed-responsive embed-responsive-16by9" style="padding-top:100px;margin-top: -100px;">{{#widget:Iframe responsive
+
<div class="row">
 +
{{MediaWiki:WSHeader}}
 +
</div>
 +
<div class="container">
 +
<div class="row">
 +
[[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%
{{#if: {{{Next poll|}}} | {{#ifeq: {{#show: {{FULLPAGENAME}} |?Ready for next poll}} | true |
+
|height=700px
{{Button
+
}}
|Text=Go to next poll
+
</div>
 +
<div class="row">
 +
{{#if: {{{Next poll|}}}  
 +
| {{Button
 +
|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>
}}
 
 
</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.