Predloga:Aktualne volitve/dok

Iz Wikipedije, proste enciklopedije

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

Guidelines[uredi kodo]

Check main (article) namespace links

Usage[uredi kodo]

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[uredi kodo]

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

Template data[uredi kodo]

To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Aktualne volitve

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

Parametri predloge[Urejanje podatkov predloge]

Za to predlogo se uporablja postavitev parametrov v eni vrstici.

ParameterOpisVrstaStanje
Type (typically section)1

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

Privzeto
article
Nizneobvezno
Type2

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

Privzeto
a current election
Zgled
a current referendum
Nizneobvezno
Election type3

Overrides the word "election"

Privzeto
election
Zgled
referendum
Nizneobvezno
Datedate

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

Zgled
May 2015
Datumzahtevano

See also[uredi kodo]