From Wikipedia, the free encyclopedia
![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/30px-Lua-Logo.svg.png) | This template uses
Lua:
|
This template displays the tag above and adds articles to
Category:Current elections or one of its dated subcategories.
-
Check main (article) namespace links
The template takes three parameters:
- Parameter 1 overrides the word "article"
- Parameter 2 overrides the words "a current election"
- Parameter 3 overrides the word "election"
- Named parameter "date" categorizes into a monthly sub category for ease of maintenance. This will be added by a
bot if omitted.
Template parameters
Edit template data
This template prefers inline formatting of parameters.
Parameter | Description | Type | Status |
---|
Type (typically section) | 1 | Something to replace "article" in the template, typically "section" - Default
- article
| String | optional |
---|
Type | 2 | Allows modification of the current link instead of displaying "a current election" - Default
- a current election
- Example
- a current referendum
| String | optional |
---|
Election type | 3 | Overrides the word "election" - Default
- election
- Example
- referendum
| String | optional |
---|
Date | date | The month and year that the article is identified as current. - Example
- May 2015
| Date | required |
---|