Jump to content

Template:Lifespan: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
simplify; ce
m
Line 245: Line 245:
:{{em|Options:}}
:{{em|Options:}}
:{{blist|{{para|age-label|aged|code=y}}{{snd}} set to explicitly state the default preceding static text "aged"; [[[#allxc|example]]]
:{{blist|{{para|age-label|aged|code=y}}{{snd}} set to explicitly state the default preceding static text "aged"; [[[#allxc|example]]]
|{{para|age-label|duration|code=y}} or its alias {{para|age-label|dur|code=y}}{{snd}} set to change the preceding static text to "duration"; [[[#arx2|example]]]
|{{para|age-label|duration|code=y}} or the option alias <code>dur</code>{{snd}} set to change the preceding static text to "duration"; &#91;[[#arx2|example]]&#93;
|{{para|age-label|nolabel|code=y}} or its alias {{para|age-label|nl|code=y}}{{snd}} removes the age component label {{em|only}}; other age component elements are unaffected.}}
|{{para|age-label|nolabel|code=y}} or the option alias <code>nl</code>{{snd}} removes the age component label {{em|only}}; other age component elements are unaffected.}}


* {{bxtn|{{vanchor|age-range}}}}, alias {{bxtn|ar}}: Set {{para|age-range|y|code=y|plain=y}} to display the subject's age range(s){{snd}} any other input will be ignored, or will produce an error message if error-handling parameter {{bxtn|[[#err|err]]}} is used. This parameter and parameter {{bxtn|age-yrs}} are mutually exclusive; &#91;[[#!ar|example]]&#93;
* {{bxtn|{{vanchor|age-range}}}}, alias {{bxtn|ar}}: Set {{para|age-range|y|code=y|plain=y}} to display the subject's age range(s){{snd}} any other input will be ignored, or will produce an error message if error-handling parameter {{bxtn|[[#err|err]]}} is used. This parameter and parameter {{bxtn|age-yrs}} are mutually exclusive; &#91;[[#!ar|example]]&#93;
Line 254: Line 254:
:{{blist|When there are alternative years, and {{em|a singular}} [[#Era suffix|era suffix]] (AD/CE or BC/BCE) or no suffix, the range is bounded by the minimum and maximum possible ages defined by the date spans; they are separated by the static text "to" surrounded by non-wrapping spaces; &#91;[[#rxc|example]]&#93;
:{{blist|When there are alternative years, and {{em|a singular}} [[#Era suffix|era suffix]] (AD/CE or BC/BCE) or no suffix, the range is bounded by the minimum and maximum possible ages defined by the date spans; they are separated by the static text "to" surrounded by non-wrapping spaces; &#91;[[#rxc|example]]&#93;
|The static text "less than a year" will be displayed as the minimum range value when alternative years are included and any death/end year is the same as any birth/start year (subject to date parameter constraints); when there are no alternative years the text will display as the only range value; &#91;[[#alx|example]]&#93;}}
|The static text "less than a year" will be displayed as the minimum range value when alternative years are included and any death/end year is the same as any birth/start year (subject to date parameter constraints); when there are no alternative years the text will display as the only range value; &#91;[[#alx|example]]&#93;}}
:{{em|Note:|id=!ac-strad}} When the date span(s) have [[#suffix|suffixes]] that straddle eras (BC-to-AD or BCE-to-CE) {{em|and}} alternative years the range(s) cannot be rendered by the template.
:{{em|Note:|id=!ac-strad}} When the date span(s) have [[#suffix|suffixes]] that straddle eras (BC-to-AD or BCE-to-CE) {{em|and}} alternative years, the range(s) cannot be rendered by the template.


* {{bxtn|{{vanchor|age-yrs}}}}, alias {{bxtn|ay}}: Use when the subject's exact or circa age is known. Select one of the options below; any other input will be ignored, or will produce an error message if error-handling parameter {{bxtn|[[#err|err]]}} is used. Cannot be used with parameter {{bxtn|[[#or|or]]}}. This parameter and parameter {{bxtn|age-range}} are mutually exclusive; &#91;[[#!ay-nc|example]]&#93;
* {{bxtn|{{vanchor|age-yrs}}}}, alias {{bxtn|ay}}: Use when the subject's exact or circa age is known. Select one of the options below; any other input will be ignored, or will produce an error message if error-handling parameter {{bxtn|[[#err|err]]}} is used. Cannot be used with parameter {{bxtn|[[#or|or]]}}. This parameter and parameter {{bxtn|age-range}} are mutually exclusive; &#91;[[#!ay-nc|example]]&#93;

Revision as of 21:43, 16 December 2024

(⁠1975–2015⁠)