Jump to content

Template:Birth date and age/doc: Difference between revisions

→‎Template data: add aliases
(examples when no additional parameter, actually mf=yes is not picked up by the template code, not sure if we should document an unused parameter)
(→‎Template data: add aliases)
Line 90: Line 90:
                         "description": "The year in which the person was born",
                         "description": "The year in which the person was born",
                         "type": "number",
                         "type": "number",
                        "aliases": ["year"],
                         "required": true
                         "required": true
                 },
                 },
Line 96: Line 97:
                         "description": "The month (number) in which the person was born",
                         "description": "The month (number) in which the person was born",
                         "type": "number",
                         "type": "number",
                        "aliases": ["month"],
                         "required": true
                         "required": true
                 },
                 },
Line 102: Line 104:
                         "description": "The day (number) in which the person was born",
                         "description": "The day (number) in which the person was born",
                         "type": "number",
                         "type": "number",
                        "aliases": ["day"],
                         "required": true
                         "required": true
                 },
                 },
Line 119: Line 122:
}
}
</TemplateData>
</TemplateData>
===See also===
===See also===
* [[Wikipedia:Age calculation templates]]
* [[Wikipedia:Age calculation templates]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.