10,322
次編輯
變更
小
Wikipedia {{SITENAME}} articles that use <code>mmm dd, yyyy</code> ("American") dates, either because of the [[WP:RETAIN|first main contributor]] rule or [[WP:TIES|close national ties]] (see [[Wikipedia{{SITENAME}}:Manual of Style/Dates and numbers]], shortcut: [[WP:MOSNUM]]), are systematically tagged with {{Tl|Use mdy dates}} over time. The template is invisible except in edit mode.
文本替换 - 替换“Wikipedia”为“{{SITENAME}}”
}}
=== Usage ===
To promote consistent date formatting, place this template with other maintenance near the top of articles that use the <code>mmm dd, yyyy</code> [[date format]] (below hatnotes, but above infoboxes, as per the [[Wikipedia{{SITENAME}}:Manual of Style/Lead section#Elements of the lead|Manual of Style]]). Use the parameter <code>|date=</code> for the month and year that an editor or [[WP:bot|bot]] last checked the article for inconsistent date formatting and fixed any found.
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 [[WP:bots|bots]] to recognize use of this format, and by adding the article to the [[WP:hidden category|hidden category]] called [[:Category:Use mdy dates|Use mdy dates]].
After being tagged, and bearing in mind article evolution, a [[WP:bot|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 {{Tl|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 [[Wikipedia{{SITENAME}}:Date formattings]]. [[User:Ohconfucius/script/MOSNUM dates|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]]).