求真百科欢迎当事人提供第一手真实资料,洗刷冤屈,终结网路霸凌。

模板:Use mdy dates/doc查看源代码查看历史

事实揭露 揭密真相
跳转至: 导航搜索

Usage

To promote consistent date formatting, place this template with other maintenance near the top of articles that use the mmm dd, yyyy date format (below hatnotes, but above infoboxes, as per the Manual of Style). Use the parameter |date= for the month and year that an editor or bot last checked the article for inconsistent date formatting and fixed any found.

求真百科 articles that use mmm dd, yyyy ("American") dates, either because of the first main contributor rule or close national ties (see 求真百科:Manual of Style/Dates and numbers, shortcut: WP:MOSNUM), are systematically tagged with {{Use mdy dates}} over time. The template is invisible except in edit mode.

The template lets editors know which date format to use when adding or editing dates in an article. It also facilitates article maintenance by enabling bots to recognize use of this format, and by adding the article to the hidden category called Use mdy dates.

This system of tagging/categorization is used as a status monitor of all articles that use mmm dd yyyy date formats, and not as a cleanup per se.

After being tagged, and bearing in mind article evolution, a bot can eventually be programmed to clean up formats periodically, correcting any new introductions since its last visit, and updating the visit date on the {{Use mdy dates}} template.

The dmy and mdy templates indicate date styles in the body text of articles by convention, although it may also indicate the date styles in Reference sections. Therefore, this template notice ought to be read in conjunction with the blurb at 求真百科:Date formattings. MOSNUM script documentation may also be relevant to those interested in more technical details.

When a citation style does not expect differing date formats, it is permissible to normalize publication dates to the article body text date format, and/or access/archive dates to either, with date consistency being preferred(see MOS:DATEUNIFY).

Syntax

{{Use mdy dates|date=11月 2024}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Use mdy dates

This template should be placed near the top of articles that use the mmm dd, yyyy date format.

模板参数

参数说明类型状态
Datedate

The month and year that the article was last checked for inconsistent date formatting. Example: 'June 2013'; may use '{{subst:DATE}}' template instead

默认值
例子
自动值
字符串可选

Wrongly tagged?

If you determine that an article is incorrectly tagged with this template, you should replace this template with the correct one or at least remove it. This will prevent scripts and bots from applying the "wrong" format.

See also