Difference between revisions of "Template:Current/doc"
Jump to navigation
Jump to search
imported>JaventheAlderick (Removed redlink) |
imported>Voidxor (Promote all section headers (as I didn't see any level 2 ones). →Redirects: Start section.) |
||
| Line 7: | Line 7: | ||
This template displays the tag above and adds articles to [[:Category:Current events]] or one of its dated subcategories. | This template displays the tag above and adds articles to [[:Category:Current events]] or one of its dated subcategories. | ||
| − | + | ==Guidelines== | |
:*Note that every article on Wikipedia has a [[Wikipedia:General disclaimer|General disclaimer]] indicating that the article contents may not be accurate. | :*Note that every article on Wikipedia has a [[Wikipedia:General disclaimer|General disclaimer]] indicating that the article contents may not be accurate. | ||
:* As an advisory to editors, the template may optionally be used in those extraordinary occasions that many editors (perhaps a hundred or more) edit an article on the same day, for example, in the case of natural disasters or other breaking news. | :* As an advisory to editors, the template may optionally be used in those extraordinary occasions that many editors (perhaps a hundred or more) edit an article on the same day, for example, in the case of natural disasters or other breaking news. | ||
| Line 15: | Line 15: | ||
:''[{{fullurl:Special:Whatlinkshere/Template:{{BASEPAGENAME}}|limit=999&namespace=0}} Check main (article) namespace links]'' | :''[{{fullurl:Special:Whatlinkshere/Template:{{BASEPAGENAME}}|limit=999&namespace=0}} Check main (article) namespace links]'' | ||
| − | + | ==Usage== | |
The template takes three parameters: | The template takes three parameters: | ||
* Parameter 1 overrides the word "article" | * Parameter 1 overrides the word "article" | ||
| Line 21: | Line 21: | ||
* Named parameter "date" categorizes into a monthly sub category for ease of maintenance. This will be added by a [[WP:BOT|bot]] if omitted. | * Named parameter "date" categorizes into a monthly sub category for ease of maintenance. This will be added by a [[WP:BOT|bot]] if omitted. | ||
| − | + | ===Examples=== | |
{{Current/examples}} | {{Current/examples}} | ||
| − | + | ==Template data== | |
{{TemplateDataHeader}} | {{TemplateDataHeader}} | ||
<templatedata> | <templatedata> | ||
| Line 54: | Line 54: | ||
</templatedata> | </templatedata> | ||
| − | ===See also | + | ==Redirects== |
| − | *[[Wikipedia:Current event templates]] | + | * {{tl|Current section}} |
| − | *{{tl|Currentdate}} | + | |
| − | *{{tl|Speculation}} | + | ==See also== |
| − | *{{tl|In use}} | + | * [[Wikipedia:Current event templates]] |
| − | *{{tl|Recentism}} | + | * {{tl|Currentdate}} |
| − | *{{tl|Update}} | + | * {{tl|Speculation}} |
| + | * {{tl|In use}} | ||
| + | * {{tl|Recentism}} | ||
| + | * {{tl|Update}} | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
[[Category:Temporal templates]] | [[Category:Temporal templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 04:10, 10 July 2020
| 40px | This is a documentation subpage for Template:Current. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This template should not be substituted. |
| 50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
| 30px | This template uses Lua: |
This template displays the tag above and adds articles to Category:Current events 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.
- As an advisory to editors, the template may optionally be used in those extraordinary occasions that many editors (perhaps a hundred or more) edit an article on the same day, for example, in the case of natural disasters or other breaking news.
- It is not intended to be used to mark an article that merely has recent news articles about the topic; if it were, hundreds of thousands of articles would have this template, with no informational consequence.
- 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 "current event"
- 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}}
|
| ||
{{current|section|date=March 2026}}
|
| ||
{{current||current election|date=March 2026}}
|
|
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Current
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 "current event"
| String | suggested |
| Date | date | The month and year that the article is identified as current.
| Date | required |
Redirects
- {{Current section}}
See also
- Wikipedia:Current event templates
- {{Currentdate}}
- {{Speculation}}
- {{In use}}
- {{Recentism}}
- {{Update}}