Template:Current election/doc

From TWC Archive
Jump to navigation Jump to search

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"
  • Named parameter "date" categorizes into a monthly sub category for ease of maintenance. This will be added by a bot if omitted.

Examples

Code Result
{{current election}}
{{current election|section|date=April 2024}}
{{current election| |a current referendum|date=April 2024}}

Template data

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

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"

Example
Current Aviation Incident
Stringsuggested
Datedate

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

Example
May 2015
Daterequired

See also