Template:Infobox officeholder: Difference between revisions

From The Goon Show Depository

en>Neveselbert
(swap "Cause" for "Manner" if input for |death_cause is simply "Assassination")
m (1 revision imported)
 
(6 intermediate revisions by 4 users not shown)
Line 23: Line 23:
{{#if:{{{speaker|}}}|
{{#if:{{{speaker|}}}|
{{#if:{{{nominee|}}}{{{candidate|}}}||
{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname2|}}}
| 1blankname = {{{1blankname2|}}}
| 1namedata = {{{1namedata2|}}}
| 1namedata = {{{1namedata2|}}}
Line 103: Line 103:
| prior_term = {{{prior_term|}}}
| prior_term = {{{prior_term|}}}
}}}}}}<!--
}}}}}}<!--
-->{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
-->{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname|}}}
| 1blankname = {{{1blankname|}}}
| 1namedata = {{{1namedata|}}}
| 1namedata = {{{1namedata|}}}
Line 190: Line 190:
}}<!--
}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname1|}}}
| 1blankname = {{{1blankname1|}}}
| 1namedata = {{{1namedata1|}}}
| 1namedata = {{{1namedata1|}}}
Line 271: Line 271:
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{#if:{{{speaker|}}}||
{{#if:{{{speaker|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname2|}}}
| 1blankname = {{{1blankname2|}}}
| 1namedata = {{{1namedata2|}}}
| 1namedata = {{{1namedata2|}}}
Line 351: Line 351:
}}}}}}<!--
}}}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname3|}}}
| 1blankname = {{{1blankname3|}}}
| 1namedata = {{{1namedata3|}}}
| 1namedata = {{{1namedata3|}}}
Line 431: Line 431:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname4|}}}
| 1blankname = {{{1blankname4|}}}
| 1namedata = {{{1namedata4|}}}
| 1namedata = {{{1namedata4|}}}
Line 511: Line 511:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname5|}}}
| 1blankname = {{{1blankname5|}}}
| 1namedata = {{{1namedata5|}}}
| 1namedata = {{{1namedata5|}}}
Line 591: Line 591:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname6|}}}
| 1blankname = {{{1blankname6|}}}
| 1namedata = {{{1namedata6|}}}
| 1namedata = {{{1namedata6|}}}
Line 671: Line 671:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname7|}}}
| 1blankname = {{{1blankname7|}}}
| 1namedata = {{{1namedata7|}}}
| 1namedata = {{{1namedata7|}}}
Line 751: Line 751:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname8|}}}
| 1blankname = {{{1blankname8|}}}
| 1namedata = {{{1namedata8|}}}
| 1namedata = {{{1namedata8|}}}
Line 831: Line 831:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname9|}}}
| 1blankname = {{{1blankname9|}}}
| 1namedata = {{{1namedata9|}}}
| 1namedata = {{{1namedata9|}}}
Line 911: Line 911:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname10|}}}
| 1blankname = {{{1blankname10|}}}
| 1namedata = {{{1namedata10|}}}
| 1namedata = {{{1namedata10|}}}
Line 991: Line 991:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname11|}}}
| 1blankname = {{{1blankname11|}}}
| 1namedata = {{{1namedata11|}}}
| 1namedata = {{{1namedata11|}}}
Line 1,071: Line 1,071:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname12|}}}
| 1blankname = {{{1blankname12|}}}
| 1namedata = {{{1namedata12|}}}
| 1namedata = {{{1namedata12|}}}
Line 1,151: Line 1,151:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname13|}}}
| 1blankname = {{{1blankname13|}}}
| 1namedata = {{{1namedata13|}}}
| 1namedata = {{{1namedata13|}}}
Line 1,231: Line 1,231:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname14|}}}
| 1blankname = {{{1blankname14|}}}
| 1namedata = {{{1namedata14|}}}
| 1namedata = {{{1namedata14|}}}
Line 1,311: Line 1,311:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname15|}}}
| 1blankname = {{{1blankname15|}}}
| 1namedata = {{{1namedata15|}}}
| 1namedata = {{{1namedata15|}}}
Line 1,391: Line 1,391:
}}}}<!--
}}}}<!--
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
-->{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/office |color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
{{Infobox officeholder/office|color={{#ifeq:{{lc:{{{embed}}}}}|yes|#eee|lavender}}
| 1blankname = {{{1blankname16|}}}
| 1blankname = {{{1blankname16|}}}
| 1namedata = {{{1namedata16|}}}
| 1namedata = {{{1namedata16|}}}
Line 1,487: Line 1,487:
| data6 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
| data6 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}


| label7    = {{#ifeq:Assassination|{{delink|{{{death_cause|}}}}}|Manner|Cause}}&nbsp;of&nbsp;death
| label7    = {{#ifexpr: {{strfind short|
    {{{death_cause|}}}|Assassination}}
    | Manner | Cause }}&nbsp;of&nbsp;death
| data7    = {{{death_cause|}}}
| data7    = {{{death_cause|}}}


Line 1,498: Line 1,500:


| label10 = Nationality
| label10 = Nationality
| data10 = {{{nationality|}}}
| data10 = {{#switch:{{Delink|{{{nationality|}}}}}
| {{#ifeq:{{Country2nationality|{{Find country|{{{birth_place|}}}}}}}|{{Delink|{{{nationality|}}}}}|{{Delink|{{{nationality|}}}}}}} =
| {{#ifeq:{{Find country|{{{birth_place|}}}}}|England|British}} =
| #default = {{{nationality|}}} }}


| label11 = Political party
| label11 = Political party
Line 1,539: Line 1,544:
| data13 = {{#if:{{{height|}}}|{{infobox person/height|{{{height|}}}}}}}
| data13 = {{#if:{{{height|}}}|{{infobox person/height|{{{height|}}}}}}}


| label14 = Spouse(s)
| label14 = Spouse{{Pluralize from text|{{{spouse|}}}|likely=(s)|plural=s}}
| data14 = {{{spouse|}}}
| data14 = {{{spouse|}}}


| label15 = Domestic partner
| label15 = Domestic partner{{Pluralize from text|{{{partner|}}}|likely=(s)|plural=s}}
| data15 = {{{partner|}}}
| data15 = {{{partner|}}}


Line 1,551: Line 1,556:
| data17 = {{{children|}}}
| data17 = {{{children|}}}


| label18 = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}}
| label18 = Parent{{#if:{{{parents|}}}|{{Pluralize from text|{{{parents|}}}|likely=(s)|plural=s}}|<!--
              -->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|s}}}}
| data18 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}
| data18 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}


Line 1,557: Line 1,563:
| data19 = {{{relatives|}}}
| data19 = {{{relatives|}}}


| label20 = Residence(s)
| label20 = Residence{{Pluralize from text|{{{residence|}}}|likely=(s)|plural=s}}
| class20 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| class20 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| data20 = {{{residence|}}}
| data20 = {{{residence|}}}
Line 1,612: Line 1,618:
| data37 = {{{website|}}}
| data37 = {{{website|}}}


| label38 = Nickname(s)
| label38 = Nickname{{Pluralize from text|{{{nickname|}}}|likely=(s)|plural=s}}
| data38 = {{{nickname|}}}
| data38 = {{{nickname|}}}



Latest revision as of 16:01, 12 January 2023

Infobox officeholder