Template:Current/doc: Difference between revisions

From Osolia Wiki
disable {{tsh}} after recent incident at {{Current_event}}
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{{Documentation subpage}}
{{Documentation subpage}}
{{Nosubst}}
{{Nosubst}}
{{Twinkle standard installation}}
<!-- {{Template shortcuts|flux|live}} not a good idea, these are unprotected -->
<!-- {{Template shortcuts|flux|live}} not a good idea, these are unprotected -->
{{Lua|Module:Unsubst}}
{{Lua|Module:Unsubst}}

Latest revision as of 17:22, 28 August 2024

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. The template is automatically removed by Yapperbot once an article has not been edited in the past five hours.

It may be used in tandem with {{Current event editnotice}} where applicable.

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=December 2024}}
{{current||current election|date=December 2024}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Current in articles based on its TemplateData.

TemplateData for Current

Use this 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

See also