Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Current election/doc: Difference between revisions

Template page
m 1 revision imported
 
m 1 revision imported
 
(No difference)

Latest revision as of 09:44, 28 July 2025

Script error: No such module "Unsubst".

This template displays the tag above and adds articles to Category:Current elections or one of its dated subcategories.

Guidelines

Check main (article) namespace links

Usage

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.

election

Code Result
{{current election}} Script error: No such module "Unsubst".
{{current election|section|date=December 2025}} Script error: No such module "Unsubst".
{{current election| |a recent election|date=December 2025}} Script error: No such module "Unsubst".
{{current election| | |referendum|date=December 2025}} Script error: No such module "Unsubst".

===Presidential candidate[f]=== Template:TemplateDataHeader

This template generates a tag to indicate that the article documents a current event.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type (typically section)1

Something to replace "article" in the template, typically "section"

Default
article
Stringoptional
Type2

Allows modification of the current link instead of displaying "a current election"

Default
a current election
Example
a current referendum
Stringoptional
Election type3

Overrides the word "election"

Default
election
Example
referendum
Stringoptional
Datedate

The month and year that the article is identified as current.

Example
May 2015
Daterequired

See also