Appearance
Draws is a page only. There is no Draws card on Widgets. A draw has tickets and a deadline. It does not show a score or a place on a board.
The small line above the title is Draws. The heading a player reads is Draws.
Before you start
On Tools, Snippets, Pages, open Draws. Turn Enabled on, press Save, and place <div data-orbit-page="raffles"></div>. The name in the snippet is raffles. The card and the heading both read Draws. See Place a page snippet on your site.
The list
The groups are Taking tickets and Drawn.
Taking tickets is every draw that is not finished and not cancelled. Drawn is every finished draw. A cancelled draw is in neither group, so it is not on the page.
Each row shows the name, the description when there is one, and Your tickets. When the draw sets a maximum per player, the figure is the tickets they hold, a slash, and that maximum. Otherwise it is the tickets they hold.
Prizes reads “{n} winner” or “{n} winners”, from how many prize places the draw has.
A draw that is still open shows a countdown. If the server sent a draw time, the label is Draw in. Otherwise it is Tickets close in. The clock is “{d}d {h}h”, then “{h}h {m}m”, then “{m}m {s}s”, and it updates every second. When that time has passed, it reads Closed. A finished row reads Drawn instead of a clock.
Show more draws loads further pages. While that runs, the button reads Loading…. A failed extra page reads “Could not load more draws. Please try again.”
One draw
The back button reads All draws.
Your tickets is repeated. A ticket costs appears only when a ticket costs points, and the figure beside it is that points number.
The same countdown is shown while the draw is not finished.
When the draw is not finished and the server still offers tickets, the button is on this page:
| Price | Button |
|---|---|
| Points | Buy {count} for {points} points |
| No points | Take |
{count} is “1 ticket”, or “{n} tickets” when more than one can be taken. When more than one ticket can still be taken, a stepper is labelled How many tickets. Its buttons are One ticket fewer and One ticket more. One press stops at the tickets this player may still take, and at 10.
Accepted tickets read “Tickets added.” While the request runs, the button reads “Just a moment…”. If the answer is lost, the page reads “We could not confirm this. Press again to check: it will not be charged twice.” A refusal is a short line under the button, such as “You have all the tickets you can have.”, “Entry has closed.”, “You need {points} more points.”, or “That did not work. Try again.”
Prizes lists Place {place} and the prize’s own label.
After the draw is finished, Winners lists each place and name from the standings. There is no score column. Further rows use Show more results. The translation table’s English for that button is “Show more standings”. A failed extra page reads “Could not load more results. Please try again.” The translation table’s English for that line is “Could not load more standings. Please try again.” An English page draws the “results” lines until an English translation is saved. Portuguese and Spanish already use the translated table.
If that draw is no longer in the list, the page reads “That draw is not available to you.”
Empty, signed out, or off
Signed out, the page does not list draws. It reads “Sign in to see your tickets and the draws you are in.”
An empty list reads “Your next chapter is on its way”, then “Nothing available yet.” If the first pages were empty and more remain, it reads “No draws on the first pages. There is more to read.”
Enabled off reads “This widget is not enabled.” A failed read reads “Could not load this section. Please try again.” and Try again.