Template:Birth date and age/doc: Difference between revisions

not sure why you changed this as the default is Month First-just try entering a few and see-that is why df must be added to UK/Euro articles but mf is not needed for US ones
(not sure why you changed this as the default is Month First-just try entering a few and see-that is why df must be added to UK/Euro articles but mf is not needed for US ones)
Line 42: Line 42:
The '''df''' (day first) and '''mf''' (month first) parameters indicate the intended date format to display. The appropriate parameter should be set to "y" or "yes" e.g. '''df=yes''' or '''mf=y'''.
The '''df''' (day first) and '''mf''' (month first) parameters indicate the intended date format to display. The appropriate parameter should be set to "y" or "yes" e.g. '''df=yes''' or '''mf=y'''.


The default output of this template is to display the day before the month. This default may not be appropriate for articles about people from parts of the world where the month precedes the day in a date. In such articles the parameter, "mf", should be set to display the day before the month.
The default output of this template is to display the month before the day. This default may not be appropriate for articles about people from parts of the world where the day precedes the month in a date. In such articles the parameter, "df", should be set to display the day before the month.


The parameter "df", while not actually used by the template, will indicate that day first format is intended. Using these parameters can assist [[WP:BOT|bots]] or other automated processing to detect which date format is intended; leaving the format as default may lead an editor or bot to change the format to an unintended value.
The parameter "mf", while not actually used by the template, will indicate that month first format is intended. Using these parameters can assist [[WP:BOT|bots]] or other automated processing to detect which date format is intended; leaving the format as default may lead an editor or bot to change the format to an unintended value.


Do not specify both "df" and "mf" parameters in the same use of the template, as these formats are mutually exclusive.
Do not specify both "df" and "mf" parameters in the same use of the template, as these formats are mutually exclusive.
Anonymous user