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

examples when no additional parameter, actually mf=yes is not picked up by the template code, not sure if we should document an unused parameter
(→‎See also: template data)
(examples when no additional parameter, actually mf=yes is not picked up by the template code, not sure if we should document an unused parameter)
Line 34: Line 34:
:<code><nowiki>{{Birth date|1993|2|4|df=yes}}</nowiki></code> returns "{{Birth date|1993|2|4|df=yes}}"
:<code><nowiki>{{Birth date|1993|2|4|df=yes}}</nowiki></code> returns "{{Birth date|1993|2|4|df=yes}}"
:<code><nowiki>{{Birth date|1993|2|4|mf=yes}}</nowiki></code> returns "{{Birth date|1993|2|4|mf=yes}}"
:<code><nowiki>{{Birth date|1993|2|4|mf=yes}}</nowiki></code> returns "{{Birth date|1993|2|4|mf=yes}}"
:<code><nowiki>{{Birth date|1993|2|4}}</nowiki></code> returns "{{Birth date|1993|2|4}}"
:<code><nowiki>{{Birth date|1993|2|24|df=yes}}</nowiki></code> returns "{{Birth date|1993|2|24|df=yes}}"
:<code><nowiki>{{Birth date|1993|2|24|df=yes}}</nowiki></code> returns "{{Birth date|1993|2|24|df=yes}}"
:<code><nowiki>{{Birth date|1993|2|24|mf=yes}}</nowiki></code> returns "{{Birth date|1993|2|24|mf=yes}}"
:<code><nowiki>{{Birth date|1993|2|24|mf=yes}}</nowiki></code> returns "{{Birth date|1993|2|24|mf=yes}}"
:<code><nowiki>{{Birth date|1993|2|24}}</nowiki></code> returns "{{Birth date|1993|2|24}}"


:<code><nowiki>{{Birth date and age|1993|2|4|df=yes}}</nowiki></code> returns {{Birth date and age|1993|2|4|df=yes}}
:<code><nowiki>{{Birth date and age|1993|2|4|mf=yes}}</nowiki></code> returns {{Birth date and age|1993|2|4|mf=yes}}
:<code><nowiki>{{Birth date and age|1993|2|4|mf=yes}}</nowiki></code> returns {{Birth date and age|1993|2|4|mf=yes}}
:<code><nowiki>{{Birth date and age|1993|2|4|df=yes}}</nowiki></code> returns {{Birth date and age|1993|2|4|df=yes}}
:<code><nowiki>{{Birth date and age|1993|2|4}}</nowiki></code> returns {{Birth date and age|1993|2|4}}
:<code><nowiki>{{Birth date and age|1993|2|24|df=yes}}</nowiki></code> returns {{Birth date and age|1993|2|24|df=yes}}
:<code><nowiki>{{Birth date and age|1993|2|24|mf=yes}}</nowiki></code> returns {{Birth date and age|1993|2|24|mf=yes}}
:<code><nowiki>{{Birth date and age|1993|2|24|mf=yes}}</nowiki></code> returns {{Birth date and age|1993|2|24|mf=yes}}
:<code><nowiki>{{Birth date and age|1993|2|24|df=yes}}</nowiki></code> returns {{Birth date and age|1993|2|24|df=yes}}
:<code><nowiki>{{Birth date and age|1993|2|24}}</nowiki></code> returns {{Birth date and age|1993|2|24}}


====Month First (mf) and Day First (df) options====
====Month First (mf) and Day First (df) options====
Anonymous user