Template:AjaxPoll

This template can be used with the AjaxPoll script. The template gets the id of a discussions-poll as a parameter, and creates an element compatible with the script to embed the poll on a wiki page.

In addition, the template adds a link to the original poll, that will be displayed whenever the script is not loaded, such as on mobile.


 * Example usage

Will embed the poll on desktop, and on mobile will display


 * Or with a text for the link

Will embed the poll on desktop, and on mobile will display