Format Rules/Polls: Difference between revisions
Jump to navigation
Jump to search
Created page with "<poll> Have you been to this page? Yes, I have. No, I haven't . . . I also lie. </poll> Polls" |
m Protected "Format Rules/Polls" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The simplest way to make a poll is to use <code><nowiki><poll></poll></nowiki></code>. For example: | |||
<pre> | |||
<poll> | <poll> | ||
Have you been to this page? | Have you been to this page? | ||
Line 4: | Line 6: | ||
No, I haven't . . . I also lie. | No, I haven't . . . I also lie. | ||
</poll> | </poll> | ||
</pre> | |||
Creates this poll: | |||
<poll> | |||
Have you been to this page? | |||
Yes, I have. | |||
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> | |||
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> | |||
Did you vote in the previous poll? | |||
Yes, I did. | |||
No, I didn't. | |||
I don't vote in polls . . . I also lie. | |||
</poll> | |||
That's it. Unfortunately we cannot support polls that allow multiple votes at this time. | |||
[[Category:Format Rules|Polls]] | [[Category:Format Rules|Polls]] |
Latest revision as of 00:55, 6 September 2020
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> 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
That's it. Unfortunately we cannot support polls that allow multiple votes at this time.