Difference between revisions of "Template:Death date and given age/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m (Updated template call.)
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{important|This template emits metadata for the death date, and this metadata is required to be in the '''[[Gregorian calendar]]'''. Thus this template should not be used for a date stated in any other calendar, such as the [[Julian calendar]].}}
  
 
===Syntax===
 
===Syntax===
{{tlc|{{TEMPLATENAME}} |''YYYY''|''MM''|''DD'' |''age''}}
+
{{tlc|{{TEMPLATENAME}}|''YYYY''|''MM''|''DD''|''age''}}
  
 +
===Examples===
 +
{{tlc|{{TEMPLATENAME}}|1846|01|04|25}}: {{death date and given age|1846|01|04|25}}
  
 
{{Birth, death and age templates}}
 
{{Birth, death and age templates}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
+
<includeonly>{{Sandbox other|
 
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
[[Category:Date mathematics templates]]
 
[[Category:Date mathematics templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 23:07, 24 April 2020

Syntax

{{Death date and given age|YYYY|MM|DD|age}}

Examples

{{Death date and given age|1846|01|04|25}}: (aged 25)