Difference between revisions of "Format Rules/Polls"

From All The Fallen Stories
Jump to navigation Jump to search
Line 18: Line 18:
You can also let the reader see the results before their vote.  Here is another poll to demonstrate:
You can also let the reader see the results before their vote.  Here is another poll to demonstrate:
<pre>
<pre>
<poll show-results-before-voting=1>
<poll show-results-before-voting>
Did you vote in the previous poll?
Did you vote in the previous poll?
Yes, I did.
Yes, I did.
Line 28: Line 28:
Which creates the following poll:
Which creates the following poll:


<poll show-results-before-voting=1>
<poll show-results-before-voting>
Did you vote in the previous poll?
Did you vote in the previous poll?
Yes, I did.
Yes, I did.

Revision as of 17:47, 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.
There were 28 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.
There were 22 votes since the poll was created on 17:46, 5 October 2015.
poll-id 115838FDB824ECC1FF6EE2FE00D0F51C