Format Rules/Polls: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
Yes, I have. | Yes, I have. | ||
No, I haven't . . . I also lie. | No, I haven't . . . I also lie. | ||
</poll> | |||
You can also let the reader see the results before their vote. Here is another poll to demonstrate: | |||
<pre> | |||
<poll show-results-before-voting=1> | |||
Did you vote in the previous poll? | |||
Yes, I did. | |||
No, I didn't. | |||
I don't vote in polls . . . I also lie. | |||
</poll> | |||
</pre> | |||
Which creates the following poll: | |||
<poll show-results-before-voting=1> | |||
Did you vote in the previous poll? | |||
Yes, I did. | |||
No, I didn't. | |||
I don't vote in polls . . . I also lie. | |||
</poll> | </poll> | ||
[[Category:Format Rules|Polls]] | [[Category:Format Rules|Polls]] |
Revision as of 17:46, 5 October 2015
The simplest way to make a poll is to use <poll></poll>
. For example:
<poll> Have you been to this page? Yes, I have. No, I haven't . . . I also lie. </poll>
Creates this poll:
Have you been to this page?
You are not entitled to vote.
You are not entitled to view the results of this poll.
You are not entitled to view the results of this poll.
There were 29 votes since the poll was created on 17:35, 5 October 2015.
poll-id 3FD9C551A33BDA12FEA5C4CAB16BFA9A
You can also let the reader see the results before their vote. Here is another poll to demonstrate:
<poll show-results-before-voting=1> Did you vote in the previous poll? Yes, I did. No, I didn't. I don't vote in polls . . . I also lie. </poll>
Which creates the following poll:
Did you vote in the previous poll?
You are not entitled to vote.
You are not entitled to view the results of this poll.
You are not entitled to view the results of this poll.
There were 23 votes since the poll was created on 17:46, 5 October 2015.
poll-id 115838FDB824ECC1FF6EE2FE00D0F51C