"साचा:जन्म दिनांक आणि वय/doc" च्या विविध आवृत्यांमधील फरक

Content deleted Content added
Maihudon (चर्चा | योगदान)
नवीन पान: {{mergefrom|Hcard-bday|Template_talk:Birth_date_and_age#Edit_request}} <includeonly>{{template doc page transcluded|Template:Birth date and age}}</includeonly> <noinclude>{{t...
 
Maihudon (चर्चा | योगदान)
No edit summary
ओळ १:
<includeonly>{{template doc page transcluded|Template:Birthजन्म dateदिनांक andआणि ageवय}}</includeonly>
{{mergefrom|Hcard-bday|Template_talk:Birth_date_and_age#Edit_request}}
<includeonly>{{template doc page transcluded|Template:Birth date and age}}</includeonly>
<noinclude>{{template doc page viewed directly}}</noinclude>
<!--
Line ८ ⟶ ७:
== Usage ==
 
These templates ('''{{tl|Birthजन्म dateदिनांक}}''' and '''{{tl|Birthजन्म dateदिनांक andआणि ageवय}}''') return a person's date of birth and optionally his/her age. The latter also have the shortcut: '''{{tl|Bda}}'''.
 
Using this template rather than simply inserting the date into articles allows for the inclusion of hidden [[metadata]] about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.
Line १४ ⟶ १३:
Syntax:
 
:<nowiki>{{Birthजन्म dateदिनांक|year of birth|month of birth|day of birth}}</nowiki>
 
or
 
:<nowiki>{{Birthजन्म dateदिनांक andआणि ageवय|year of birth|month of birth|day of birth}}</nowiki>
:<nowiki>{{Bda|year of birth|month of birth|day of birth}}</nowiki>
 
Examples:
 
:<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}}
 
An optional parameter, df, can be set (to "y" or "yes" for example) to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date. Conversely the (unimplemented) parameter mf can be set for month first, currently the default behaviour.
Line ३१ ⟶ ३०:
Examples:
 
:<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जन्म dateदिनांक andआणि ageवय|1993|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: