Widget:SWPolls: Difference between revisions
From Screamer Wiki
(Created page with "<noinclude>This widget allows you to embed polls from polls.screamer.wiki. Accepted parameters: '''id''' (required), embed style. </noinclude><includeonly><!--{if isset($id)}--><script type="text/javascript" charset="utf-8" src="https://polls.screamer.wiki/polls.php?id=<!--{$id|escape:'url'}-->&embed=1&estyle=&<!--{$estyle|escape:'url'}-->"></script><noscript><a href="https://polls.screamer.wiki/polls.php?id=<!--{$id|escape:'url'}-->">Link to poll</a></noscript><!--{else...") |
(testing with generic question) |
||
Line 1: | Line 1: | ||
<noinclude>This widget allows you to embed polls from polls.screamer.wiki. Accepted parameters: '''id''' (required), embed style. </noinclude><includeonly><!--{if isset($id)}-->< | <noinclude>This widget allows you to embed polls from polls.screamer.wiki. Accepted parameters: '''id''' (required), embed style. </noinclude><includeonly><!--{if isset($id)}--><iframe src="https://polls.screamer.wiki/polls.php?id=<!--{$id|escape:'url'}-->&embed=1&estyle=&<!--{$estyle|escape:'url'}-->"></iframe><noscript><a href="https://polls.screamer.wiki/polls.php?id=<!--{$id|escape:'url'}-->">Link to poll</a></noscript><!--{else}--><p style="color:red">No <b>id</b> provided for the polling widget!</p><!--{/if}--></includeonly> |
Revision as of 17:20, 30 April 2023
This widget allows you to embed polls from polls.screamer.wiki. Accepted parameters: id (required), embed style.