Predloga:Aktualne volitve/dok
To je dokumentacijska podstran za glavno stran Predloga:Aktualne volitve. Namenjena je shranjevanju navodil, kategorizaciji in drugi vsebini, ki ni del glavne strani. |
Ta predloga ne sme biti substituirana. |
Uporablja Lua: |
This template displays the tag above and adds articles to Category:Current elections or one of its dated subcategories.
Guidelines uredi
- 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 uredi
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
Code | Result | ||
---|---|---|---|
{{current election}}
|
| ||
{{current election|section|date=maj 2024}}
|
| ||
{{current election| |a recent election|date=maj 2024}}
|
| ||
{{current election| | |referendum|date=maj 2024}}
|
|
Template data uredi
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.
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
Type (typically section) | 1 | Something to replace "article" in the template, typically "section"
| Niz | neobvezno |
Type | 2 | Allows modification of the current link instead of displaying "a current election"
| Niz | neobvezno |
Election type | 3 | Overrides the word "election"
| Niz | neobvezno |
Date | date | The month and year that the article is identified as current.
| Datum | zahtevano |
See also uredi