shortcuts: {{flux}} {{live}}

Template:Current/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
imported>Rotideypoc41352
(→‎Guidelines: Conciseness)
 
Line 6: Line 6:
{{Lua|Module:Unsubst}}
{{Lua|Module:Unsubst}}


This template displays the tag above and adds articles to [[:Category:Current events]] or one of its dated subcategories.
This template displays the message above and adds the article to [[:Category:Current events]]; a bot then adds the date parameter to move it into one of the dated subcategories of [[:Category:Current events]].


==Guidelines==
==Guidelines==
:*Note that every article on Wikipedia has a [[Wikipedia:General disclaimer|General disclaimer]] indicating that the article contents may not be accurate.
* Every article on Wikipedia has a [[Wikipedia:General disclaimer|general disclaimer]] 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 on 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.
* 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 less than a day; occasionally longer.
* This and closely related templates are generally expected to appear on an article for less than a day, sometimes 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]]
* If you would like an article on a significant current event to be noticed, please see [[Wikipedia:How the Current events page works]] and [[Wikipedia:In the news/Candidates]].
:''[{{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]''


Line 20: Line 20:
* Parameter 1 overrides the word "article"
* Parameter 1 overrides the word "article"
* Parameter 2 overrides the words "current event"
* 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 [[WP:BOT|bot]] if omitted.
* Named parameter "date" categorizes the page into a monthly sub-category of [[:Category:Current events]] for ease of navigation and maintenance. This will be added by a [[WP:BOT|bot]] if omitted.


===Examples===
===Examples===

Latest revision as of 02:04, 17 April 2022

This template displays the message above and adds the article to Category:Current events; a bot then adds the date parameter to move it into one of the dated subcategories of Category:Current events.

Guidelines

  • Every article on Wikipedia has a general disclaimer that the article contents may not be accurate.
  • As an advisory to editors, the template may optionally be used on 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.
  • This and closely related templates are generally expected to appear on an article for less than a day, sometimes longer.
  • If you would like an article on a significant current event to be noticed, please see Wikipedia:How the Current events page works and 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 the page into a monthly sub-category of Category:Current events for ease of navigation and maintenance. This will be added by a bot if omitted.

Examples

Code Result
{{current}}
{{current|section|date=June 2024}}
{{current||current election|date=June 2024}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Current

Use this cleanup template to indicate that an article documents a current event, that information may change rapidly as the event progresses and that initial news reports may be unreliable.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Month and yeardate

The month and year that the template was placed (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Linesuggested
Type of event2

Text to replace "current event" in the template

Example
current aviation incident
Stringsuggested
Affected area1

Text to replace the word "article", usually "section"

Example
section
Auto value
section
Stringoptional

Redirects

See also