Extension:Wigo3

Wigo3 is an extension for casual voting. It is used on RationalWiki for the "what is going on" pages.

vote
The &lt;vote&gt; tag is used to add an up/down voting widget to the start of a line of text.

 ... description ...

The description may contain wikitext.

The attributes are:


 * poll : A string uniquely identifying the poll
 * img : If present and set to "on" or "expanded", a capture image link will be added to Conservapedia external links. This is for backwards compatibility only, in new text, votecp should be used.
 * closed : If present and set to "yes", voting will be closed.
 * nextpoll : If $wgWigo3ReplaceNextpoll is true, an attribute of like "nextpoll=foo" will be replaced when the page is saved with a similar poll attribute with an ID which is not used elsewhere on the same page, for example "poll=foo1234".

votecp
The &lt;votecp&gt; tag is used to add an up/down voting widget with "capture" links. The parameters are the same as in &lt;vote&gt;. Links to Conservapedia will be annotated with a link that can be used to upload a screenshot capture.

captureencode
The #captureencode parser function returns the filename of the screenshot link (without the namespace prefix) which would be used in &lt;votecp&gt; for a given external URL. For example:

This produces "capture_89dce6a446a69d6b9bdc01ac75251e4c322bcdff.png".

multi
The &lt;multi&gt; tag creates a poll with multiple options. The options are specified in the tag contents, with one option per line.

Option 1 Option 2 Option 3

The "poll" attribute must be set to a unique ID.

slider, checkbox
The &lt;slider&gt;, &lt;sliders&gt;, &lt;checkbox&gt; and &lt;checkboxes&gt; tags are defined for backwards compatibility with archived text. They display the result of range or approval voting. The actual voting widgets have been removed from the extension, so it is no longer possible to vote with these tags.