Template:Current election/sandbox: Difference between revisions
Appearance
Content deleted Content added
update |
m fixed |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| type = notice |
| type = notice |
||
| image = [[File:A coloured voting box.svg|30px|alt=Voting box|link=]] |
| image = [[File:A coloured voting box.svg|30px|alt=Voting box|link=]] |
||
| text = '''This {{#if:{{{1|}}}|{{{1}}}|article}} documents [[Portal:Elections|{{{2|a current election}}}]].''' Information may change rapidly as the election progresses, until official results have been published. Initial news reports may be [[Wikipedia:Identifying reliable sources#Breaking news|unreliable]], and the [{{fullurl:{{FULLPAGENAME}}|action=history}} last updates] to this {{#if:{{{1|}}}|{{{1}}}|article}} [[Wikipedia:Risk disclaimer|may not reflect]] the most current information. |
| text = '''This {{#if:{{{1|}}}|{{{1}}}|article}} documents [[Portal:Elections|{{#if:{{{2|}}}|{{{2}}}|a current {{{3|election}}}}}]].''' Information may change rapidly as the {{{3|election}}} progresses, until official results have been published. Initial news reports may be [[Wikipedia:Identifying reliable sources#Breaking news|unreliable]], and the [{{fullurl:{{FULLPAGENAME}}|action=history}} last updates] to this {{#if:{{{1|}}}|{{{1}}}|article}} [[Wikipedia:Risk disclaimer|may not reflect]] the most current information. |
||
| removalnotice = yes |
| removalnotice = yes |
||
| fix = Please feel free to [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{#if:{{{1|}}}|{{{1}}}|article}}] or discuss changes on the [[{{TALKPAGENAME}}|talk page]]. |
| fix = Please feel free to [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{#if:{{{1|}}}|{{{1}}}|article}}] or discuss changes on the [[{{TALKPAGENAME}}|talk page]]. |
Revision as of 16:23, 18 October 2018
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. |
This is the template sandbox page for Template:Current election (diff). |
This template should not be substituted. |
This template uses Lua: |
This template displays the tag above and adds articles to Category:Current elections or one of its dated subcategories.
Guidelines
- 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
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
Code | Result | ||
---|---|---|---|
{{current election}}
|
| ||
{{current election|section|date=January 2025}}
|
| ||
{{current election| |a recent election|date=January 2025}}
|
| ||
{{current election| | |referendum|date=January 2025}}
|
|
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type (typically section) | 1 | Something to replace "article" in the template, typically "section"
| String | optional |
Type | 2 | Allows modification of the current link instead of displaying "a current election"
| String | optional |
Election type | 3 | Overrides the word "election"
| String | optional |
Date | date | The month and year that the article is identified as current.
| Date | required |