Jump to content

Template:Lifespan: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
trap some era straddle related errors
update: v. 1.0.3 (non-optimized special case), year 0 handling
Line 1: Line 1:
<!--Begin {{lifespan}}--><includeonly>{{#switch: {{{brackets|{{{bkt}}}}}}|age|nb=|full|#default=(&#8288;}}{{#if: {{{birth|{{{b|}}}}}}|{{#if: {{{death|{{{d|}}}}}}|{{#if: {{{err|}}}|{{#ifeq: {{{err}}}|y|{{#if: {{{prefix|{{{pfx|}}}}}}|{{#switch: {{{prefix|{{{pfx}}}}}}|y|tt|nt=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">prefix/pfx</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#prefix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{ca|}}}|{{#switch: {{{ca}}}|born|died|both=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">ca</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#ca|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}{{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">ca</span></strong>&#32;requires numerical birth/death year-value&#32;&#91;&#8288;[[Template:Lifespan#ca|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}}}{{#if: {{{or|}}}|{{#switch: {{{or}}}|born|died|both=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">or</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#or|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{suffix|{{{sfx|}}}}}}|{{#switch: {{{suffix|{{{sfx}}}}}}|ad|b-a|b-c|ce|bc|bce=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">suffix/sfx</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{age-label|{{{al|}}}}}}|{{#if: {{{age-range|{{{ar|}}}}}}||{{#if: {{{age-yrs|{{{ay|}}}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">age-label/al</span></strong>&#32;requires parameter&#32;<strong><span style="color:green">age-range/ar</span></strong> or parameter <strong><span style="color:green">age-year/ay</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#age-label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#switch: {{{age-label|{{{al}}}}}}|nl|nolabel|aged|dur|duration=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-label/al</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#age-label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{age-range|{{{ar|}}}}}}|{{#ifeq: {{{age-range|{{{ar}}}}}}|y|{{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-range/ar</span></strong>&#32;requires numerical birth/death year-value&#32;&#91;&#8288;[[Template:Lifespan#Age component|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-range/ar</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#age-range|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{age-yrs|{{{ay|}}}}}}|{{#if: {{{or|}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">age-yrs/ay</span></strong>&#32;cannot be used with parameter&#32;<strong><span style="color:green">or</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#age-yrs|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}{{#if: {{{age-range|{{{ar|}}}}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameters <strong><span style="color:green">age-yrs/ay</span></strong>&#32;and&#32;<strong><span style="color:green">age-range/ar</span></strong>&#32;are mutually exclusive&#32;&#91;&#8288;[[Template:Lifespan#age-yrs|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}{{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-yrs/ay</span></strong>&#32;requires numerical birth/death year-value&#32;&#91;&#8288;[[Template:Lifespan#Age component|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#switch: {{{age-yrs|{{{ay}}}}}}|abd|bbd=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-yrs/ay</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#age-yrs|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{label|{{{l|}}}}}}|{{#switch: {{{label|{{{l}}}}}}|lc|uc=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">label/l</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">err</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#err|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{label|{{{l|}}}}}}|{{#if: {{{prefix|{{{pfx|}}}}}}|{{#ifeq: {{{err}}}|y|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">label/l</span></strong>&#32;cannot be used with parameter&#32;<strong><span style="color:green">prefix/pfx</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}|{{#switch: {{{label|{{{l|}}}}}}|lc=lifespan:&#160;|uc=Lifespan:&#160;}}}}}}{{#switch: {{{prefix|{{{pfx}}}}}}|y|tt={{abbr|b.|born}}&#8201;|nt=b.&#8201;}}{{#switch: {{{ca}}}
<!--Begin {{lifespan}}--><includeonly>{{#switch: {{{brackets|{{{bkt}}}}}}|age|nb=|full|#default=(&#8288;}}{{#if: {{{birth|{{{b|}}}}}}|{{#if: {{{death|{{{d|}}}}}}|{{#if: {{{err|}}}|{{#ifeq: {{{err}}}|y|{{#if: {{{prefix|{{{pfx|}}}}}}|{{#switch: {{{prefix|{{{pfx}}}}}}|y|tt|nt=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">prefix/pfx</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#prefix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{ca|}}}|{{#switch: {{{ca}}}|born|died|both=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">ca</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#ca|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}{{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">ca</span></strong>&#32;requires numerical birth/death year-value&#32;&#91;&#8288;[[Template:Lifespan#ca|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}}}{{#if: {{{or|}}}|{{#switch: {{{or}}}|born|died|both=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">or</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#or|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{suffix|{{{sfx|}}}}}}|{{#switch: {{{suffix|{{{sfx}}}}}}|ad|b-a|b-c|ce|bc|bce=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">suffix/sfx</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}{{#switch: {{{suffix|{{{sfx}}}}}}
|ce=
|b-c={{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}=0|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#ifeq: {{{birth2|{{{b2}}}}}}|{{YEAR|{{padleft:{{{birth2|{{{b2}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{birth2|{{{b2}}}}}}|4|0}}}}=0|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}
|ad|bc|bce|b-a={{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}=0|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}=0|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#ifeq: {{{birth2|{{{b2}}}}}}|{{YEAR|{{padleft:{{{birth2|{{{b2}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{birth2|{{{b2}}}}}}|4|0}}}}=0|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#ifeq: {{{death2|{{{d2}}}}}}|{{YEAR|{{padleft:{{{death2|{{{d2}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{death2|{{{d2}}}}}}|4|0}}}}=0|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}
}}|{{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}=0|&#32;<span><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) suffix not used (may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>)&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}=0|&#32;<span><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) suffix not used (may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>)&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#ifeq: {{{birth2|{{{b2}}}}}}|{{YEAR|{{padleft:{{{birth2|{{{b2}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{birth2|{{{b2}}}}}}|4|0}}}}=0|&#32;<span><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) suffix not used (may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>)&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#ifeq: {{{death2|{{{d2}}}}}}|{{YEAR|{{padleft:{{{death2|{{{d2}}}}}}|4|0}}}}|{{#ifexpr: {{YEAR|{{padleft:{{{death2|{{{d2}}}}}}|4|0}}}}=0|&#32;<span><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">suffix/sfx: </span></strong>&#32;Year 0 (zero) suffix not used (may only have the [[Common Era]] suffix option <strong><span style="color:green">ce</span></strong>)&#32;&#91;&#8288;[[Template:Lifespan#suffix|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}}}{{#if: {{{age-label|{{{al|}}}}}}|{{#if: {{{age-range|{{{ar|}}}}}}||{{#if: {{{age-yrs|{{{ay|}}}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">age-label/al</span></strong>&#32;requires parameter&#32;<strong><span style="color:green">age-range/ar</span></strong> or parameter <strong><span style="color:green">age-year/ay</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#age-label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#switch: {{{age-label|{{{al}}}}}}|nl|nolabel|aged|dur|duration=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-label/al</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#age-label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{age-range|{{{ar|}}}}}}|{{#ifeq: {{{age-range|{{{ar}}}}}}|y|{{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-range/ar</span></strong>&#32;requires numerical birth/death year-value&#32;&#91;&#8288;[[Template:Lifespan#Age component|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-range/ar</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#age-range|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{age-yrs|{{{ay|}}}}}}|{{#if: {{{or|}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">age-yrs/ay</span></strong>&#32;cannot be used with parameter&#32;<strong><span style="color:green">or</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#age-yrs|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}{{#if: {{{age-range|{{{ar|}}}}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameters <strong><span style="color:green">age-yrs/ay</span></strong>&#32;and&#32;<strong><span style="color:green">age-range/ar</span></strong>&#32;are mutually exclusive&#32;&#91;&#8288;[[Template:Lifespan#age-yrs|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}{{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{#ifeq: {{{death|{{{d}}}}}}|{{YEAR|{{padleft:{{{death|{{{d}}}}}}|4|0}}}}||&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-yrs/ay</span></strong>&#32;requires numerical birth/death year-value&#32;&#91;&#8288;[[Template:Lifespan#Age component|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#switch: {{{age-yrs|{{{ay}}}}}}|abd|bbd=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">age-yrs/ay</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#age-yrs|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{label|{{{l|}}}}}}|{{#switch: {{{label|{{{l}}}}}}|lc|uc=|#default=&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">label/l</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter&#32;<strong><span style="color:green">err</span></strong>&#32;has invalid value&#32;&#91;&#8288;[[Template:Lifespan#err|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}}}{{#if: {{{label|{{{l|}}}}}}|{{#if: {{{prefix|{{{pfx|}}}}}}|{{#ifeq: {{{err}}}|y|&#32;<span style="color:red"><strong>!</strong>&#160;{{tlx|lifespan}}:&#32;Parameter <strong><span style="color:green">label/l</span></strong>&#32;cannot be used with parameter&#32;<strong><span style="color:green">prefix/pfx</span></strong>&#32;&#91;&#8288;[[Template:Lifespan#label|info]]&#8288;&#93;&#160;<strong>!</strong></span>&#32;}}|{{#switch: {{{label|{{{l|}}}}}}|lc=lifespan:&#160;|uc=Lifespan:&#160;}}}}}}{{#switch: {{{prefix|{{{pfx}}}}}}|y|tt={{abbr|b.|born}}&#8201;|nt=b.&#8201;}}{{#switch: {{{ca}}}
|born|both={{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{circa}}&#8201;}}}}{{#switch: {{{birth|{{{b}}}}}}
|born|both={{#ifeq: {{{birth|{{{b}}}}}}|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}|{{circa}}&#8201;}}}}{{#switch: {{{birth|{{{b}}}}}}
|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}
|{{YEAR|{{padleft:{{{birth|{{{b}}}}}}|4|0}}}}

Revision as of 15:36, 1 January 2025

(⁠1975–2015⁠)