• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Current election/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Current election
Voting box
This article documents a current election. Information may change rapidly as the election progresses, until official results have been published. Initial news reports may be unreliable, and the last updates to this article may not reflect the most current information. Please feel free to improve this article or discuss changes on the talk page. (Learn how and when to remove this message)
This is the template sandbox page for Template:Current election (diff).
Template documentation[view] [edit] [history] [purge]
This template should not be substituted.
This template uses Lua:
  • Module:Unsubst (sandbox)

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

Contents

  • 1 Guidelines
  • 2 Usage
    • 2.1 Examples
  • 3 Template data
  • 4 See also

Guidelines

edit
  • Note that every article on Wikipedia has a General disclaimer indicating that the article contents may not be accurate.
  • Generally it is expected that this template and its closely related templates will appear on an article for a few days; occasionally longer.
  • If you desire that an article be noticed as a topic about or related to a significant current event, see Wikipedia:How the Current events page works, and also Wikipedia:In the news/Candidates
Check main (article) namespace links

Usage

edit

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.

Examples

edit
Code Result
{{current election}}
Voting box
This article documents a current election. Information may change rapidly as the election progresses until official results have been published. Initial news reports may be unreliable, and the last updates to this article may not reflect the most current information. Please feel free to improve this article or discuss changes on the talk page. (Learn how and when to remove this message)
{{current election|section|date=August 2025}}
Voting box
This section documents a current election. Information may change rapidly as the election progresses until official results have been published. Initial news reports may be unreliable, and the last updates to this section may not reflect the most current information. Please feel free to improve this section or discuss changes on the talk page. (August 2025) (Learn how and when to remove this message)
{{current election| |a recent election|date=August 2025}}
Voting box
This article documents a recent election. Information may change rapidly as the election progresses until official results have been published. Initial news reports may be unreliable, and the last updates to this article may not reflect the most current information. Please feel free to improve this article or discuss changes on the talk page. (August 2025) (Learn how and when to remove this message)
{{current election| | |referendum|date=August 2025}}
Voting box
This article documents a current referendum. Information may change rapidly as the referendum progresses until official results have been published. Initial news reports may be unreliable, and the last updates to this article may not reflect the most current information. Please feel free to improve this article or discuss changes on the talk page. (August 2025) (Learn how and when to remove this message)

Template data

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Current election in articles based on its TemplateData.

TemplateData for Current election

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

Template parameters[Edit template data]

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

edit
  • Wikipedia:Current event templates
  • {{Current event}}
  • {{election}}
The above documentation is transcluded from Template:Current election/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Current_election/sandbox&oldid=895111793"
Last edited on 2 May 2019, at 02:15

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 2 May 2019, at 02:15 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop