Template:Birth-date and age: Difference between revisions

    From Nonbinary Wiki
    m (Protected Template:Birth-date and age: Highly-visible templates (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
     
    (8 intermediate revisions by 7 users not shown)
    Line 1: Line 1:
    <includeonly>{{birth-date|dt={{{dt|}}}|{{{gregorian|{{{1|}}}}}}|{{{2|{{{1|}}}}}}}} (age&nbsp;{{age|{{#ifeq:"{{lc:{{{1|0009-11}}}}}"|"{{Four digit|{{#expr:{{{1|0009-11}}}}}}}"|<!--Here if it is a 4 digit year only-Test1 satisfied: see talk -->{{{1|0009-11}}}|{{#expr: {{#iferror:{{#ifexpr:((abs({{{1|0009-11}}}))< 1900) and  ({{#time:Y|{{{1|0009-11}}}}} >1900)  | {{#ifexpr:({{#time:Y|{{{1|0009-11}}}}}) <2000|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-1900}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-2000}} }} |{{#time:Y|{{{1|0009-11}}}}} }}|{{#time:Y|{{{1|0009-11}}}}} }}{{#switch:{{{bce|}}}|b|bd|d|db=*(-1) +1}}}} }}|{{#time:m|{{{1|}}}}}|{{#time:d|{{{1|}}}}} }})</includeonly><noinclude>
    <includeonly>{{birth-date|dt={{{dt|}}}|{{{gregorian|{{{1|}}}}}}|{{{2|{{{1|}}}}}}}} (age&nbsp;{{age|{{#ifeq:"{{lc:{{{1|0009-11}}}}}"|"{{Four digit|{{#expr:{{{1|0009-11}}}}}}}"|<!--Here if it is a 4 digit year only-Test1 satisfied: see talk -->{{{1|0009-11}}}|{{#expr: {{#iferror:{{#ifexpr:((abs({{{1|0009-11}}}))< 1900) and  ({{#time:Y|{{{1|0009-11}}}}} >1900)  | {{#ifexpr:({{#time:Y|{{{1|0009-11}}}}}) <2000|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-1900}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-2000}} }} |{{#time:Y|{{{1|0009-11}}}}} }}|{{#time:Y|{{{1|0009-11}}}}} }}{{#switch:{{{bce|}}}|b|bd|d|db=*(-1) +1}}}} }}|{{#time:m|{{{1|}}}}}|{{#time:d|{{{1|}}}}} }}){{#invoke:check for unknown parameters|check|unknown={{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Birth-date and age transclusions with invalid parameters|_VALUE_]]}}|preview=unknown parameter "_VALUE_"|1|2|dt|gregorian|bce}}</includeonly><noinclude>
     
    {{documentation}}  
    {{documentation}}  
    </noinclude>
    </noinclude>

    Latest revision as of 11:39, 21 May 2021

    Template documentation[create]