模板:Current/doc:修订间差异
UJNWiki>SUM1 (Fix) |
小 (导入1个版本) |
(没有差异)
| |
2023年5月28日 (日) 00:50的最新版本
| 文件:Edit-copy green.svg | This is a documentation subpage for 模板:Current. It may contain usage information, categories and other content that is not part of the original 模板 page. |
| 文件:Information icon4.svg | This template should not be substituted. |
| 文件:Police man Twinkle Head.svg | 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 the standard installation of Twinkle adds and removes this template. Thank you! |
| 文件:Lua-Logo.svg | This template uses Lua: |
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.
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=3月 2026}}
|
| ||
{{current||current election|date=3月 2026}}
|
|
TemplateData
TemplateData for Current
<templatedata> {
"description": "Use this maintenance 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.",
"format": "inline", "params": { "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}\" inserts the current month and year automatically.", "type": "line", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "2": { "label": "Type of event", "description": "Text to replace \"current event\" in the template", "type": "string", "example": "current aviation incident", "suggested": true }, "1": { "label": "Affected area", "description": "Text to replace the word \"article\", usually \"section\"", "type": "string", "autovalue": "section", "example": "section" } }, "paramOrder": [ "date", "2",
"1"
] } </templatedata>
Redirects
- {{Current section}}
See also
- Wikipedia:Current event templates
- {{Currentdate}}
- {{Speculation}}
- {{In use}}
- {{Recentism}}
- {{Update}}