Skip to content

Instantly share code, notes, and snippets.

@jessicah
Last active July 15, 2020 04:23
Show Gist options
  • Save jessicah/24c7efefc984b3e3f2edd0553a9931d2 to your computer and use it in GitHub Desktop.
Save jessicah/24c7efefc984b3e3f2edd0553a9931d2 to your computer and use it in GitHub Desktop.
Example poll
Premier League:
[poll type=multiple results=always min=1 max=9 public=true chartType=bar groups=women name=vienna-65]
* Premier League: [date=2020-07-16 time=17:15 timezone="UTC" format=LLL]
* Zone 1: [date=2020-07-16 time=09:20 timezone="UTC" format=LLL]
* Zone 2: [date=2020-07-16 time=17:00 timezone="UTC" format=LLL]
* Zone 3: [date=2020-07-16 time=17:05 timezone="UTC" format=LLL]
* Zone 4: [date=2020-07-16 time=17:30 timezone="UTC" format=LLL]
* Zone 5: [date=2020-07-16 time=18:00 timezone="UTC" format=LLL]
* Zone 6: [date=2020-07-16 time=18:40 timezone="UTC" format=LLL]
* Zone 7: [date=2020-07-16 time=21:35 timezone="UTC" format=LLL]
* Zone 8: [date=2020-07-17 time=01:30 timezone="UTC" format=LLL]
[/poll]
Non-premier League:
[poll type=multiple results=always min=1 max=8 public=true chartType=bar groups=women name=vienna-65]
* Zone 1: [date=2020-07-16 time=09:20 timezone="UTC" format=LLL]
* Zone 2: [date=2020-07-16 time=17:00 timezone="UTC" format=LLL]
* Zone 3: [date=2020-07-16 time=17:05 timezone="UTC" format=LLL]
* Zone 4: [date=2020-07-16 time=17:30 timezone="UTC" format=LLL]
* Zone 5: [date=2020-07-16 time=18:00 timezone="UTC" format=LLL]
* Zone 6: [date=2020-07-16 time=18:40 timezone="UTC" format=LLL]
* Zone 7: [date=2020-07-16 time=21:35 timezone="UTC" format=LLL]
* Zone 8: [date=2020-07-17 time=01:30 timezone="UTC" format=LLL]
[/poll]
Things to change:
- Date (YYYY-MM-DD); notice that zone 8 is the day after
- Poll "name": name=vienna-65 above
@jessicah
Copy link
Author

jessicah commented Jul 14, 2020

min/max corresponds to number of voting options. here I set to 8, so can choose multiple options. I also specify a poll name, which I use 'vienna-54' for women's class, week 54 as an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment