Template:Age/doc

From OpenMedia
< Template:Age
Revision as of 03:28, 18 June 2011 by Rd232 (Talk) (Imported 2013-03-10 from http://commons.wikimedia.org/wiki/[SAME-NAME-AS-HERE] to enable licence display of reused media. See there for complete license and author attribution!)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Provides age from date inputs

Usage

{{Age/doc|1=|2=|3=|4=|5=|6=}}

Example: {{age|1974|01|01}} gives 50, the age today of a person born on 01/01/1974. {{age|1974|01|01|1997|01|01}} gives 23, the age that person was on 01/01/1997.

Parameters

Parameter name Description Default value required or optional?

parameter #1 (1) start year (YYYY) empty required
parameter #2 (2) month (MM) empty required
parameter #3 (3) day (DD) empty required
parameter #4 (4) end year (YYYY) empty optional
parameter #5 (5) month (MM) empty optional
parameter #6 (6) day (DD) empty optional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Localization

This template is not intended to be localized.