Boom Beach Wiki
Boom Beach Wiki

Polls are an extension that allow users to vote on topics. Polls are relatively simple to create. A poll markup consists of a set of "poll" tags with a question/topic on the first line and answer choices on the rest of the lines.

Syntax:

<poll>
Question
Choice 1
Choice 2
Choice 3...
</poll>

Example:

<poll>
Will you be creating polls?
Yes
No
Probably
Probably not
</poll>

Result:


Things to Note[]

  • Identical polls posted in different places on the wiki will act as different data entry points for the same poll. If multiple polls are desired, each instance must differ somehow in their source code.
  • Changing the source code of a poll will cause all of that poll's votes/results to be lost.

Archiving Polls[]

After a poll has been running for a period of time, you may want to remove it and record its results. This can be done using a module that we have set up on this wiki.

Syntax:

{{#invoke:PollArchive|generateTable
|title=question/topic
|date1=date that poll was started
|date2=date that poll was ended
|votes=total number of votes
|choice|number
|choice|number
|choice|number
|top3=yes or no}}

Notice: The "top3" parameter determines whether or not the three choices that had the highest number of votes will be given gold, silver, and bronze highlights to show their ranks. This is demonstrated in the example below.

Example:

{{#invoke:PollArchive|generateTable
|title=What kind of Statue set do you have?
|date1=January 24, 2015
|date2=March 23, 2015
|votes=1252
|Offensive|584
|Defensive|83
|Balanced|585
|top3=yes}}

Result:

What kind of Statue set do you have?
Offensive:584 votes
Defensive:83 votes
Balanced:585 votes
1,252 votes
January 24, 2015 - March 23, 2015