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

Content deleted Content added
नवीन पान: <includeonly>{{template doc page transcluded}}</includeonly> <noinclude>{{template doc page viewed directly}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT TH...
 
साचा:मृत्यू दिनांक आणि वय/doc कडे पुनर्निर्देशित
 
ओळ १:
#REDIRECT [[साचा:मृत्यू दिनांक आणि वय/doc]]
<includeonly>{{template doc page transcluded}}</includeonly>
<noinclude>{{template doc page viewed directly}}</noinclude>
<!--
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
==Usage==
Returns a person's date of death and his/her age at that date.
Available shortcut: '''{{tl|Dda}}'''.
 
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.
 
; Syntax<nowiki>:</nowiki>
: <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki></tt>''year of death''<tt><nowiki>|</nowiki></tt>''month of death''<tt><nowiki>|</nowiki></tt>''day of death''<tt><nowiki>|</nowiki></tt>''year of birth''<tt><nowiki>|</nowiki></tt>''month of birth''<tt><nowiki>|</nowiki></tt>''day of birth''<tt><nowiki>}}</nowiki></tt>
 
; Format:
:<tt><nowiki>{{</nowiki>{{PAGENAME}}|yyyy|mm|dd|yyyy|mm|dd<nowiki>}}</nowiki></tt>
:<tt><nowiki>{{</nowiki>Dda|yyyy|mm|dd|yyyy|mm|dd<nowiki>}}</nowiki></tt>
 
; Example<nowiki>:</nowiki>
<nowiki>{{म्रूत्यु दिनांक आणि वय|1993|2|24|1941|4|12}}</nowiki><br>returns {{म्रूत्यु दिनांक आणि वय|1993|2|24|1941|4|12}}
 
An optional parameter, df, can be set to "yes" 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.
 
; Example<nowiki>:</nowiki>
 
<nowiki>{{म्रूत्यु दिनांक आणि वय|1993|2|24|1941|4|12|df=yes}}</nowiki><br> returns "{{म्रूत्यु दिनांक आणि वय|1993|2|24|1941|4|12|df=yes}}"
 
'''Note''': The template will appear broken when the parameters are left blank (as seen above).
 
== See also ==
*[[Template:Birth date and age]] – similar, for birth date (and current age)
*[[Template:Death date]] – identical, minus the trailing "(aged ##)"
 
<includeonly>
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
[[Category:Date mathematics templates|{{PAGENAME}}]]
[[वर्ग:पार्सरक्रिया वापरणारे साचे|{{PAGENAME}}]]
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
[[ja:Template:死亡年月日と没年齢]]
[[nl:Sjabloon:Leeftijd en sterfdatum]]
[[no:Mal:Dødsdato og alder]]
[[vi:Tiêu bản:Ngày mất và tuổi]]
 
</includeonly>