Module:Arbcom election banner/sandbox/doc

This module generates banner templates for the annual Arbitration Committee elections. To make a banner template for an Arbcom election, add the links to that year's Arbcom election pages as described below, and set the four date parameters. After that, editors can add voting guides using the  parameters. Voting guides are displayed in a random order.

Syntax
The basic syntax for the template is as follows:

The full syntax for the template is as follows:

Important
These parameters may need to be set explicitly.


 * - The year in which the elections are held. Either  or   must be given. If   is not given,   must end in a number, which will be taken as  . In this documentation, the value of   is denoted by.
 * - The name of the template. This is needed to make the navbar work properly. Defaults to.
 * - The date that nominations start. This must be in a format accepted by the #time parser function, e.g. ..
 * - The deadline for nominations, e.g. ..
 * - The date that voting begins, e.g. ..
 * - The date that voting ends, e.g. ..
 * - The link to the SecurePoll voting page. Defaults to pointing to Special:SecurePoll.
 * - The link to the voting log. Defaults to.
 * - Text to be displayed before the nomination period begins. Defaults to.
 * This might at times be set to ., the last time such a value was used was in 2016.
 * ,,  , ... - links to voting guides. These will be displayed in random order.

Other
These parameters' default values should be acceptable.


 * - The ROOTPAGENAME of the various election pages. Defaults to . In this documentation, the value of   is denoted by.
 * - The main page for the year's Arbcom elections. Defaults to.
 * - Text to be displayed while nominations are underway. Defaults to.
 * - A link to display during the voting period. Defaults to the voting page and the voting log, and can safely be left blank.
 * - Link to the coordinator contact page. Defaults to.
 * - Link to the election discussion page. Defaults to.
 * - Link to the candidate guide. Defaults to.
 * - Link to the candidate statements page. Defaults to.
 * - Link to the candidate questions page. Defaults to.
 * - Link to the candidate discussion page. Defaults to.