Template:Use dmy dates: Difference between revisions

From WDCL Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Template shortcut|dmy|DMY}} === Usage === Place this template near the t...")
 
(Replaced content with "{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Use dmy dates |date=__DATE__ |$B= {{DMCA|Use dmy dates|from|{{{date|}}}}} }}<noinclude>{{Documentation}}</noinclude>")
 
Line 1: Line 1:
{{Documentation subpage}}
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Use dmy dates |date=__DATE__ |$B=
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{DMCA|Use dmy dates|from|{{{date|}}}}}
{{Template shortcut|dmy|DMY}}
}}<noinclude>{{Documentation}}</noinclude>
 
=== Usage ===
 
Place this template near the top of articles that use the <code>dd&nbsp;mmm&nbsp;yyyy</code> date format; see [[Wikipedia:Manual of Style/Lead section]] for more information about the order of elements near the beginning of the article.
 
Wikipedia articles that use <code>dd&nbsp;mmm&nbsp;yyyy</code> dates, either because of the [[WP:RETAIN|first main contributor]] rule or [[WP:TIES|close national ties]] (see [[Wikipedia:MOSNUM|MOSNUM]]), are being systematically tagged with {{Tl|Use dmy dates}}. The template facilitates article maintenance by enabling [[WP:bots|bots]] to recognise use of this format and by adding the article to the [[WP:hidden category|hidden category]] [[:Category:Use dmy dates|Use dmy dates]].  The template is invisible except in edit mode.
 
Use of this template is part of a continuing effort to monitor the date formats used in articles, to assist in maintaining consistent formatting within an article. It is ''not'' a temporary "cleanup" template. Therefore, do not remove the template without valid reason, such as a determination the article uses or should use a different date format.
 
After being tagged, and bearing in mind article evolution, periodic script or bot runs clean up formats, correcting any new introductions since its last visit, and updating the visit date on the {{Tl|Use dmy dates}} template.
 
Due to there being some objection to totally unifying date formats within an article, the dmy and mdy templates have almost always been used to indicate date styles in the body of the articles; although it ''may'' also indicate the flavour of dates in reference sections or parts thereof. Therefore, this template notice ought to be read in conjunction with the blurb at [[Wikipedia:Date formattings]]. [[User:Ohconfucius/script/MOSNUM dates|MOSNUM script documentation]] may also be relevant to those interested.
 
In general, the date format used for ''publication dates'' within references should match that used within the article body. However, it is common practice for ''archive'' and ''access'' dates to use the alternative ymd format. This usage is valid and is specifically mentioned at [[Wikipedia:MOSDATE#Consistency|MOSDATE]]. In those cases, the archive and access date formats should ''not'' be altered when fixing dates.
 
=== Syntax ===
 
{{Tlx|Use dmy dates|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
=== TemplateData ===
{{TemplateDataHeader}}
<TemplateData>
{
        "description": "This template should be placed near the top of articles that use the dd mmm yyyy date format.",
        "params": {
                "date": {
                        "label": "Date",
                        "description": "The month and year that the article was last checked for inconsistent date formatting. Example: 'June 2013'; may use '{{subst:DATE}}' template instead",
                        "type": "string",
                        "required": false
                }
        }
}
</TemplateData>
 
=== Wrongly tagged? ===
If, for example, you determine that an article has a template that is inappropriate for [[WP:TIES|its nationality]], you should substitute the template to avoid scripts or bots reapplying the "wrong" format in the course of maintenance.
 
=== See also ===
* {{Tl|Use mdy dates}}
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Time and date maintenance templates]]
</includeonly>

Latest revision as of 22:30, 29 December 2014

{{ safesubst:#invoke:Unsubst||$N=Use dmy dates |date=__DATE__ |$B=

}}

Documentation icon Template documentation[create]