Template:Age/doc

From GamingAlliance - GTA RP Wiki

<templatedata> { "params": { "1": { "aliases": [ "birth_year" ], "label": "Year of birth", "description": "Year of birth", "example": "birth_year = 1997", "type": "number", "required": true }, "2": { "aliases": [ "birth_month" ], "label": "Month of birth", "description": "Month of birth", "example": "birth_month = 12", "type": "number", "required": true }, "3": { "aliases": [ "birth_day" ], "label": "Day of birth", "description": "Day of birth", "example": "birth_day = 1", "type": "number", "required": true } }, "format": "inline", "paramOrder": [ "1", "2", "3" ], "description": "Used to calculate age by date of birth." } </templatedata>

Empty syntax

Provided for copy-and-paste usage.

{{age|birth_year = 1997|birth_month = 12|birth_day = 1}}
or
{{age|1997|12|1}}

Template:Clr