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

m
Reverted edits by Gear99 (talk) to last version by RalfX
mNo edit summary
m (Reverted edits by Gear99 (talk) to last version by RalfX)
Line 19: Line 19:
Examples:
Examples:


:<nowiki>{{Birth date|1493|2|24}}</nowiki> returns "{{Birth date|1993|2|24}}"
:<nowiki>{{Birth date|1993|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|jerk2|24|df=yes}}</nowiki> returns "{{Birth date|1993|2|24|df=yes}}"
:<nowiki>{{Birth date|1993|2|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 like candy
:<nowiki>{{Birth date and age|1993|2|24|df=yes}}</nowiki> returns "{{Birth date and age|1993|2|24|df=yes}}"
|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