Difference between revisions of "Template:Use dmy dates/doc"

From LIMSWiki
Jump to navigationJump to search
(Created as needed.)
 
(Corrected for this wiki)
Line 3: Line 3:
{{Template shortcut|dmy|DMY}}
{{Template shortcut|dmy|DMY}}
=== Usage ===
=== Usage ===
Place this template near the top of articles that use the <code>dd&nbsp;mmm&nbsp;yyyy</code> date format.
Place this template near the top of articles to remind users to use the <code>dd&nbsp;mmm&nbsp;yyyy</code> date format.


LIMSwiki articles that use <code>dd&nbsp;mmm&nbsp;yyyy</code> dates, either because of the first main contributor rule or close national ties, are systematically tagged with {{Tl|Use dmy dates}} over time. The template is invisible except in edit mode.
LIMSwiki articles should ''always'' use <code>dd&nbsp;mmm&nbsp;yyyy</code> dates. The template is invisible except in edit mode.


The template is useful to the editors to quickly know which date format is to be used when adding new dates into an article.
The template is useful to the editors to quickly remind them which date format is to be used when adding new dates into an article.


'''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.'''
'''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.
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.
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. In those cases, the archive and access date formats should ''not'' be altered when fixing dates.


=== Syntax ===
=== Syntax ===
{{Tlx|Use dmy dates|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{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 appropriate template to avoid scripts or bots reapplying the "wrong" format in the course of maintenance.
=== See also ===
* {{Tl|Use mdy dates}}, for the <code>mmm&nbsp;dd,&nbsp;yyyy</code> format


<includeonly>
<includeonly>

Revision as of 21:05, 19 August 2016

Usage

Place this template near the top of articles to remind users to use the dd mmm yyyy date format.

LIMSwiki articles should always use dd mmm yyyy dates. The template is invisible except in edit mode.

The template is useful to the editors to quickly remind them which date format is to be used when adding new dates into an article.

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.

Syntax

{{Use dmy dates|date=June 2024}}