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

    (add documentation)
    (→‎Usage: add nowiki)
    Line 3: Line 3:
    Returns a person's date of birth and his/her age .
    Returns a person's date of birth and his/her age .


    Syntax: {{tl|Birth date and age|year of birth|month of birth|day of birth}}
    Syntax: <nowiki>{{Birth date and age|year of birth|month of birth|day of birth}}</nowiki>


    Example:
    Example:


    {{tl|Birth date and age|1993|2|24}} returns {{Birth date and age|1993|2|24}}
    <nowiki>{{Birth date and age|1993|2|24}}</nowiki> returns {{Birth date and age|1993|2|24}}


    '''Note:''' The template will appear broken when the parameters are left blank (as seen above).
    '''Note:''' The template will appear broken when the parameters are left blank (as seen above).