Files
abot/questions/examples/multi_question.txt
2018-12-12 22:09:12 +02:00

35 lines
1.2 KiB
Plaintext

# expiry format: YYYY-MM-DD HH:MM +z
# z is the difference to UTC in HHMM, +0000, -0700, etc..
expires: 2028-12-12 21:20 +0200
# if "draft: true" voting is not possible. you can preview the form with address "/preview/example"
draft: false
# "open" vote style is open for anyone without tokens. "closed" requires tokens to be generated
# Create tokens with `./manager token multi_question`
vote_style: closed
# By default voters can not see the results
show_results: true
# HTML can be added inline. The line needs to begin with "<"
# HTML added like this is technically a question without answer choices
<H1>Title of vote page</H1>
<img src="https://upload.wikimedia.org/wikipedia/en/thumb/7/7d/Lenna_%28test_image%29.png/220px-Lenna_%28test_image%29.png"/>
# - character is single choice question
It works?
- yes
- no
# If a question is in HTML tags, it's not formatted
<p>Fruits <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Paul_C%C3%A9zanne_-_Fruit_and_a_Jug_on_a_Table_-_Google_Art_Project.jpg/250px-Paul_C%C3%A9zanne_-_Fruit_and_a_Jug_on_a_Table_-_Google_Art_Project.jpg"</img></p>
# + character is multi choice question
+ banana
+ orange
+ tomato
# Question ending with ___ is an open text question
Explain: _____