Knowledge (XXG)

Template:Use dmy dates

Source ๐Ÿ“

21: 52: 438:
Avoid redirects of this template, because their presence in an article may not be recognized by date formatting scripts and bots. (These are a number of "legacy redirects" which are still supported at least by CS1/CS2 citation templates, but they should be changed to direct invocations of this
227:
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 access/archive dates to either, with date consistency being preferred (see
623: 520:
The month and year that the template was placed or the article was last checked or cleaned (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.
172:
The template is useful to the editors to quickly know which date format is to be used when adding new dates into an article. It also facilitates article maintenance by enabling
191:
a temporary "cleanup" template. Therefore, do not remove the template without valid reason, such as a determination that the article uses or should use a different date format.
235:
This template is intended for use in articles. It can be used on a template page in order to format citation dates on the template page itself, but it must be enclosed in
187:
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
718: 703: 140:
checked the article for inconsistent date formatting and, if any inconsistencies were found, fixed them to comply with this template's date formatting preference.
691: 36: 751: 216:
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
730: 687: 32: 746: 129: 270:, the cs1|2 templates can automatically format dates in a variety of styles. Editors may choose how cs1|2 templates render dates by the use of 614:, you should replace it with the appropriate template to avoid scripts or bots reapplying the "wrong" format in the course of maintenance. 221: 195:
After an article is tagged, periodic script or bot runs clean up formats, correcting any new introductions since the bot's last visit, and
40: 673: 713: 70: 698: 121:
To promote consistent date formatting, place this template with other maintenance tags near the top of articles that use the
66: 461: 217: 212:
The dmy and mdy templates have almost always been used to indicate date styles in the body of the articles; although it
177: 78: 411:
template. When editing with the visual editor, changes to this template do not take effect until the page is saved.
726: 681: 28: 457: 449: 435:
The template should be inserted in one of the first few lines of code of an article (to improve performance).
74: 645: 629: 453: 180: 394: 251: 247: 405:: cs1|2 auto-date formatting does not apply when previewing an article section that does not contain a 267: 88: 77:. The tested changes can be added to this page in a single edit. Consider discussing changes on the 156: 677: 611: 478:
This template should be placed near the top of articles that use the d mmmm yyyy date format.
173: 152: 137: 377: 65:
To avoid major disruption and server load, any changes should be tested in the template's
610:
If, for example, you determine that an article has a template that is inappropriate for
740: 661: 229: 364:
abbreviated publication dates; year-initial numeric access- / archive-dates (ymd)
337:
long-form publication dates; year-initial numeric access- / archive-dates (ymd)
148: 125: 59: 376:
cs1|2 cannot reformat Month YYYY, Season YYYY, date-ranges of any form, or
266:, etc.) in the style specified by this template. Because it is allowed by 15: 136:
is intended to track the most recent month and year in which an editor or
395:
Help:Citation Style 1 ยง Auto-formatting citation template dates
624:
Category:Pages using Use dmy dates template with unknown parameters
374:
year-initial numeric publication, access- and archive-dates (ymd);
176:
to recognise use of this format, and by adding the article to the
327:
long-form publication dates; abbreviated access- / archive-dates
239:
tags so that it is not transcluded into articles or other pages.
46: 254:(collectively cs1|2) templates automatically render dates ( 707: 106: 97: 488:
This template prefers inline formatting of parameters.
169:
over time. The template is visible only in edit mode.
347:
abbreviated publication and access- / archive-dates
304:long-form publication and access- / archive-dates; 128:(below hatnotes, but above infoboxes, as per the 667:, which can alter the format of an inputted date 534:{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}} 557:How dates should be formatted in CS1 citations 8: 475: 468:in articles based on its TemplateData. 400: 697:Editors can experiment in this template's 481: 237:<noinclude>...</noinclude> 224:may also be relevant to those interested. 439:template, also for performance reasons.) 280: 243:Auto-formatting citation template dates 307: 271: 263: 259: 255: 424:|date=September 2024}} 408:{{use xxx dates}} 7: 462:See a monthly parameter usage report 197:updating the tracking date parameter 752:Time and date maintenance templates 236: 159:), are systematically tagged with 143:Knowledge (XXG) articles that use 60:approximately 1,790,000 pages 14: 747:Templates with no visible output 218:Knowledge (XXG):Date formattings 50: 19: 471:TemplateData for Use dmy dates 306:this is the default case when 1: 147:dates, either because of the 632:and its dated subcategories 222:MOSNUM script documentation 768: 682:Template:Use dmy dates/doc 671: 452:for this template used by 86: 731:Subpages of this template 494: 384: 373: 368: 358: 351: 346: 341: 331: 321: 314: 303: 298: 293: 290: 81:before implementing them. 73:subpages, or in your own 58:This template is used on 272:|cs1-dates=< 393:An example is given at 264:|archive-date= 725:Add categories to the 653:mmmm d, yyyy 630:Category:Use dmy dates 466:Template:Use dmy dates 401: 380:dates into ymd format 260:|access-date= 149:first main contributor 24:Template documentation 145:d mmmm yyyy 123:d mmmm yyyy 310:is omitted or empty 308:|cs1-dates= 618:Tracking categories 603: 491: 484:Template parameters 287: 153:close national ties 482: 480: 281: 602: 601: 507: 476: 460:and other tools. 391: 390: 132:). The parameter 85: 84: 759: 722: 711: 695: 666: 660: 654: 650: 644: 590: 587: 584: 581: 578: 575: 572: 569: 566: 561:Suggested values 553: 535: 516: 508: 492: 489: 425: 410: 409: 404: 387: 371: 361: 354: 344: 334: 324: 317: 309: 301: 288: 285: 284:|cs1-dates= 277: 265: 261: 257: 248:Citation Style 1 238: 208: 202: 168: 162: 146: 135: 124: 109: 100: 54: 53: 47: 44: 25: 23: 22: 767: 766: 762: 761: 760: 758: 757: 756: 737: 736: 735: 734: 724: 716: 701: 696: 685: 670: 664: 658: 652: 648: 642: 639: 620: 612:its nationality 608: 606:Wrongly tagged? 588: 585: 582: 579: 576: 573: 570: 567: 564: 551: 533: 514: 487: 474: 446: 419: 417: 407: 406: 385: 378:Julian calendar 375: 369: 359: 352: 342: 332: 322: 315: 305: 299: 283: 275: 256:|date= 245: 206: 200: 178:hidden category 166: 160: 144: 133: 130:Manual of Style 122: 119: 114: 113: 105: 96: 91: 64: 51: 45: 26: 20: 18: 12: 11: 5: 765: 763: 755: 754: 749: 739: 738: 669: 668: 656: 638: 635: 634: 633: 627: 619: 616: 607: 604: 600: 599: 596: 593: 592: 591: 562: 554: 549: 545: 544: 541: 538: 537: 536: 531: 528: 525: 517: 512: 511:Month and year 506: 505: 502: 499: 496: 454:TemplateWizard 447: 445: 442: 441: 440: 436: 416: 413: 389: 388: 382: 381: 372: 366: 365: 362: 356: 355: 349: 348: 345: 339: 338: 335: 329: 328: 325: 319: 318: 312: 311: 302: 296: 295: 292: 273: 244: 241: 118: 115: 112: 111: 102: 92: 87: 83: 82: 55: 17: 16: 13: 10: 9: 6: 4: 3: 2: 764: 753: 750: 748: 745: 744: 742: 732: 728: 720: 715: 709: 705: 700: 693: 689: 683: 679: 675: 674:documentation 663: 657: 647: 646:Use mdy dates 641: 640: 636: 631: 628: 625: 622: 621: 617: 615: 613: 605: 597: 594: 563: 560: 559: 558: 555: 550: 547: 546: 542: 539: 532: 529: 526: 523: 522: 521: 518: 513: 510: 509: 503: 500: 497: 493: 490: 485: 479: 473: 472: 467: 463: 459: 455: 451: 443: 437: 434: 433: 432: 430: 426: 423: 422:Use dmy dates 414: 412: 403: 398: 396: 383: 379: 367: 363: 357: 350: 340: 336: 330: 326: 320: 313: 297: 289: 279: 269: 253: 249: 242: 240: 233: 231: 230:MOS:DATEUNIFY 225: 223: 219: 215: 210: 205: 204:Use dmy dates 198: 193: 192: 190: 184: 182: 181:Use dmy dates 179: 175: 170: 165: 164:Use dmy dates 158: 154: 150: 141: 139: 131: 127: 116: 108: 103: 99: 94: 93: 90: 80: 76: 72: 68: 62: 61: 56: 49: 48: 42: 38: 34: 30: 665:}} 659:{{ 649:}} 643:{{ 609: 556: 519: 486: 483: 477: 470: 469: 465: 458:VisualEditor 450:TemplateData 448:This is the 444:TemplateData 428: 427: 421: 420:{{ 418: 399: 392: 246: 234: 226: 213: 211: 207:}} 203: 201:{{ 196: 194: 188: 186: 185: 171: 167:}} 163: 161:{{ 142: 120: 110:}} 104:{{ 101:}} 95:{{ 75:user subpage 57: 678:transcluded 498:Description 294:Definition 282:Acceptable 268:WP:MOSDATES 126:date format 39:] [ 35:] [ 31:] [ 741:Categories 672:The above 651:, for the 530:Auto value 527:April 2022 209:template. 71:/testcases 729:subpage. 714:testcases 626: (0) 552:cs1-dates 548:cs1-dates 543:suggested 495:Parameter 402:Nota bene 286:keywords 89:Shortcuts 79:talk page 637:See also 598:optional 291:Keyword 151:rule or 67:/sandbox 706:| 699:sandbox 692:history 690:| 595:Unknown 524:Example 274:keyword 199:in the 37:history 723:pages. 655:format 540:String 504:Status 415:Syntax 157:MOSNUM 134:|date= 680:from 429:Notes 155:(see 117:Usage 43:] 41:purge 27:[ 727:/doc 719:edit 712:and 708:diff 704:edit 688:edit 662:Date 515:date 501:Type 464:for 397:. 276:> 250:and 174:bots 33:edit 29:view 676:is 232:). 214:may 189:not 138:bot 107:DMY 98:dmy 69:or 743:: 684:. 589:yy 583:sy 580:ss 574:ly 571:ls 568:ll 456:, 431:: 386:yy 360:sy 353:ss 333:ly 323:ls 316:ll 278:. 262:, 258:, 220:. 183:. 733:. 721:) 717:( 710:) 702:( 694:) 686:( 586:y 577:s 565:l 370:y 343:s 300:l 252:2 63:.

Index

view
edit
history
purge
approximately 1,790,000 pages
/sandbox
/testcases
user subpage
talk page
Shortcuts
dmy
DMY
date format
Manual of Style
bot
first main contributor
close national ties
MOSNUM
Use dmy dates
bots
hidden category
Use dmy dates
Use dmy dates
Knowledge (XXG):Date formattings
MOSNUM script documentation
MOS:DATEUNIFY
Citation Style 1
2
WP:MOSDATES
Julian calendar

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

โ†‘