Difference between revisions of "Template:Current"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
(Undid revision 151392285 by Rich Farmbrough (talk))
imported>Rich Farmbrough
Line 1: Line 1:
 
<!-- {{Current}} start -->{| class="messagebox current" style="width: auto;"
 
<!-- {{Current}} start -->{| class="messagebox current" style="width: auto;"
 
| [[Image:Current event marker.svg|50px| ]]
 
| [[Image:Current event marker.svg|50px| ]]
| '''This {{{1|article}}} documents a [[Portal:Current events|current event]].''' <br> <small>Information may change rapidly as the event progresses.</small>
+
| '''This {{{1|article}}} documents a [[Portal:Current events|current {{#if:{{{2|}}}|{{{2}}}|event}}]].''' <br> <small>Information may change rapidly as the event progresses.</small>
 
|}{{#if:{{NAMESPACE}}|<!-- don't categorize -->|[[Category:Current events {{#if:{{{date|}}}|as of {{#time:F Y|{{{date}}}}}|}}]]}}<!-- Current end --><noinclude>
 
|}{{#if:{{NAMESPACE}}|<!-- don't categorize -->|[[Category:Current events {{#if:{{{date|}}}|as of {{#time:F Y|{{{date}}}}}|}}]]}}<!-- Current end --><noinclude>
 
{{protected template}}
 
{{protected template}}
 
{{/doc}}
 
{{/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 12:24, 17 August 2007

Current event marker.svg This article documents a current event.
Information may change rapidly as the event progresses.

Template:Protected template

Template:Template shortcuts

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 less than a day; 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 event marker.svg This article documents a current event.
Information may change rapidly as the event progresses.
{{current|section|date=January 2026}}
Current event marker.svg This section documents a current event.
Information may change rapidly as the event progresses.
{{current||current election|date=January 2026}}
Current event marker.svg This documents a current current election.
Information may change rapidly as the event progresses.

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.

Template parameters

ParameterDescriptionTypeStatus
Type (typically section)1

Something to replace "article" in the template, typically "section"

Default
article
Stringoptional
Type2

Allows modification of the current link instead of displaying "current event"

Example
current aviation incident
Stringsuggested
Datedate

The month and year that the article is identified as current.

Example
May 2015
Daterequired

Redirects

See also