Template:Infobox/aged

< Template:Infobox
Revision as of 13:57, June 10, 2024 by Porplemontage (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#iferror:{{age|{{#sub:{{{1}}}|{{#expr:{{#pos:{{{1}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{1}}}|]}} - {{#pos:{{{1}}}|{{!}}}} - 1}}}}|{{#sub:{{{2}}}|{{#expr:{{#pos:{{{2}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{2}}}|]}} - {{#pos:{{{2}}}|{{!}}}} - 1}}}}}}||(aged {{age|{{#sub:{{{1}}}|{{#expr:{{#pos:{{{1}}}|{{!}}}} + 1}}|{{#expr:{{#pos:{{{1}}}|]}} - {{#pos:{{{1}}}|{{!}}}} - 1}}}}|{{#sub:{{{2}}}|{{#expr:{{#pos:{{{2}}}|{{!}}}} + 1}}|{{#expr:{{#p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is used by infobox templates to generate age at death/end of service.