Difference between revisions of "Template:Birth date and age2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(formattingt (including <tt> replacement), removed heading and link (now in template), sandbox non-categorization)
imported>Jdaloner
m (Updated template calls.)
Line 6: Line 6:
  
 
; Syntax
 
; Syntax
: {{tc|{{lc:{{BASEPAGENAME}}}}&nbsp;|''specified year''|''specified month''|''specified day''&nbsp;|''year of birth''|''month of birth''|''day of birth''}}
+
: {{tlc|{{lc:{{BASEPAGENAME}}}}&nbsp;|''specified year''|''specified month''|''specified day''&nbsp;|''year of birth''|''month of birth''|''day of birth''}}
  
 
; Format
 
; Format
: {{tcpl|{{lc:{{BASEPAGENAME}}}}&nbsp;|''yyyy''|''mm''|''dd''&nbsp;|''yyyy''|''mm''|''dd''&nbsp;|df{{=}}y}}
+
: {{tcplain|{{lc:{{BASEPAGENAME}}}}&nbsp;|''yyyy''|''mm''|''dd''&nbsp;|''yyyy''|''mm''|''dd''&nbsp;|df{{=}}y}}
  
 
; Example
 
; Example

Revision as of 22:41, 16 December 2014

This template displays a person's birth date and age at a specified date.
This allows you to show how old a person was at the time they participated in an event or made an achievement.

Syntax
{{birth date and age2 |specified year|specified month|specified day |year of birth|month of birth|day of birth}}
Format
Template:Tcplain
Example

Template:Plaincode produces:  (1961-07-04)4 July 1961 (aged 26)