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

m
no edit summary
mNo edit summary
mNo edit summary
Line 19: Line 19:
Examples:
Examples:


:<nowiki>{{Birth date|1993|2|24}}</nowiki> returns "{{Birth date|1993|2|24}}"
:<nowiki>{{Birth date|1493|2|24}}</nowiki> returns "{{Birth date|1993|2|24}}"


:<nowiki>{{Birth date and age|1993|2|24}}</nowiki> returns {{Birth date and age|1993|2|24}}
:<nowiki>{{Birth date and age|1993|2|24}}</nowiki> returns {{Birth date and age|1993|2|24}}
Line 27: Line 27:
Examples:
Examples:


:<nowiki>{{Birth date|1993|2|24|df=yes}}</nowiki> returns "{{Birth date|1993|2|24|df=yes}}"
:<nowiki>{{Birth date|jerk2|24|df=yes}}</nowiki> returns "{{Birth date|1993|2|24|df=yes}}"


:<nowiki>{{Birth date and age|1993|2|24|df=yes}}</nowiki> returns "{{Birth date and age|1993|2|24|df=yes}}"
:<nowiki>{{Birth date and age|1993|2|24|df=yes}}</nowiki> returns "{{Birth like candy
|2|24|df=yes}}"


The templates also return the date, hidden by CSS, in the [[ISO 8601]] format needed by [[HCard|hCard microformat]]s. for example:
The templates also return the date, hidden by CSS, in the [[ISO 8601]] format needed by [[HCard|hCard microformat]]s. for example:
Anonymous user