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

→‎Using month name instead of number: removing, as it doesn't seem work
(→‎Using month name instead of number: removing, as it doesn't seem work)
Line 41: Line 41:
: <code><nowiki>{{Birth date and age|year=1993|month=2|day=24|df=yes}}</nowiki></code> returns "{{Birth date and age|year=1993|month=2|day=24|df=yes}}"
: <code><nowiki>{{Birth date and age|year=1993|month=2|day=24|df=yes}}</nowiki></code> returns "{{Birth date and age|year=1993|month=2|day=24|df=yes}}"
: <code><nowiki>{{Birth date and age|year=1993|month=2|day=24|mf=yes}}</nowiki></code> returns "{{Birth date and age|year=1993|month=2|day=24|mf=yes}}"
: <code><nowiki>{{Birth date and age|year=1993|month=2|day=24|mf=yes}}</nowiki></code> returns "{{Birth date and age|year=1993|month=2|day=24|mf=yes}}"
=== Using month name instead of number ===
The following examples use a parameter value that will not work in the {{tl|Birth date}}, {{tl|Death date}}, or {{tl|Death date and age}} templates.
; Unnamed parameters for year, month name, day
: <code><nowiki>{{Birth date and age|1993|Feb|24}}</nowiki></code> returns "{{Birth date and age|1993|Feb|24}}"
: <code><nowiki>{{Birth date and age|1993|Feb|24|df=yes}}</nowiki></code> returns "{{Birth date and age|1993|Feb|24|df=yes}}"
: <code><nowiki>{{Birth date and age|1993|Feb|24|mf=yes}}</nowiki></code> returns "{{Birth date and age|1993|Feb|24|mf=yes}}"
; Named parameters for year, month name, day
: <code><nowiki>{{Birth date and age|year=1993|month=Feb|day=24}}</nowiki></code> returns "{{Birth date and age|year=1993|month=Feb|day=24}}"
: <code><nowiki>{{Birth date and age|year=1993|month=Feb|day=24|df=yes}}</nowiki></code> returns "{{Birth date and age|year=1993|month=Feb|day=24|df=yes}}"
: <code><nowiki>{{Birth date and age|year=1993|month=Feb|day=24|mf=yes}}</nowiki></code> returns "{{Birth date and age|year=1993|month=Feb|day=24|mf=yes}}"


=== Using full date in one parameter ===
=== Using full date in one parameter ===