Module:Arbcom election banner/doc

MyWikiBiz, Author Your Legacy — Tuesday November 05, 2024
Jump to navigationJump to search

This is the documentation page for Module:Arbcom election banner

Template:Module rating

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 guiden parameters. Voting guides are displayed in a random order.

Syntax

The full syntax for the template is as follows:

{{#invoke:Arbcom election banner|main
| name          = 
| electionpage  = 
| nomstart      = 
| nomend        = 
| votestart     = 
| voteend       = 
| beforenomlink = 
| nomlink       = 
| votepage      = 
| votelog       = 
| contact       = 
| discuss       = 
| cguide        = 
| cstatements   = 
| cquestions    = 
| cdiscuss      = 
| guide1        = 
| guide2        = 
| guide3        = 
| guide4        = 
| guide5        = 
}}

Parameters

Note - in this section, the string YYYY refers to the current year. Its current value is 2024.

  • name - The name of the template. This is needed to make the navbar work properly. Defaults to ACEYYYY.
  • electionpage - The main page for the year's Arbcom elections. Defaults to [[Wikipedia:Arbitration Committee Elections December YYYY|YYYY Arbitration Committee Elections]].
  • nomstart - The date that nominations start. This must be in a format accepted by the #time parser function, e.g. November 11.
.
  • nomend - The deadline for nominations, e.g. November 18.
.
  • votestart - The date that voting begins, e.g. November 23.
.
  • voteend - The date that voting ends, e.g. December 5.
.
  • beforenomlink - Text to be displayed before the nomination period begins. Defaults to [[Wikipedia:Requests for comment/Arbitration Committee Elections December YYYY/Electoral Commission|Electoral Commission RFC]].
  • nomlink - Text to be displayed while nominations are underway. Defaults to [[Wikipedia:Arbitration Committee Elections December YYYY/Candidates|Nominate]].
  • votepage - The link to the SecurePoll voting page. Defaults to [[Special:SecurePoll]].
  • votelog - The link to the voting log. Defaults to [[Wikipedia:Arbitration Committee Elections December YYYY/Log|Voter log]].
  • votelink - A link to display during the voting period. Defaults to the voting page and the voting log, and can safely be left blank.
  • contact - Link to the coordinator contact page. Defaults to [[WT:COORDYY|Contact the coordinators]], where YY is the third and fourth digits of the current year.
  • discuss - Link to the election discussion page. Defaults to [[WT:ACEYYYY|Discuss the elections]].
  • cguide - Link to the candidate guide. Defaults to [[Wikipedia:Arbitration Committee Elections December YYYY/Candidates/Guide|Candidate guide]].
  • cstatements - Link to the candidate statements page. Defaults to [[Wikipedia:Arbitration Committee Elections December YYYY/Candidates|Candidate statements]].
  • cquestions - Link to the candidate questions page. Defaults to [[Wikipedia:Arbitration Committee Elections December YYYY/Questions|Questions for the candidates]].
  • cdiscuss - Link to the candidate discussion page. Defaults to [[Wikipedia:Arbitration Committee Elections December YYYY/Candidates/Discussion|Discuss the candidates]].
  • guide1, guide2, guide3, ... - links to voting guides. These will be displayed in random order.