Jump to content

Template:Infobox officeholder: Difference between revisions

avoid linking from 'What links here'; -font-size: 95% per MOS:FONTSIZE
Line 1,478: Line 1,478:


| label5 = Born
| label5 = Born
| data5 = {{br separated entries
| data5 = {{#invoke:Separated entries|br
  |1 = {{#if:{{{birth_name|{{{birthname|}}}}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname}}}}}}</div>}}
  |1 = {{#if:{{{birth_name|{{{birthname|}}}}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname}}}}}}</div>}}
  |2 = {{{birth_date|}}}
  |2 = {{{birth_date|}}}
Line 1,485: Line 1,485:


| label6 = Died
| label6 = Died
| data6 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
| data6 = {{#invoke:Separated entries|br|{{{death_date|}}}|{{{death_place|}}}}}


| label7    = {{#ifexpr: {{strfind short|
| label7    = {{#ifexpr: {{strfind short|
Line 1,494: Line 1,494:
| label8 = Resting place
| label8 = Resting place
| class8 = label
| class8 = label
| data8 = {{br separated entries|{{{resting_place|{{{restingplace|}}}}}}|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}
| data8 = {{#invoke:Separated entries|br|{{{resting_place|{{{restingplace|}}}}}}|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}


| label9 = Citizenship
| label9 = Citizenship
Line 1,539: Line 1,539:


| label13 = Height
| label13 = Height
| data13 = {{#if:{{{height|}}}|{{infobox person/height|{{{height|}}}}}}}
| data13 = {{#if:{{{height|}}}|{{Infobox person/height|{{{height|}}}}}}}


| label14 = Spouse{{#if:{{{spouses|}}}|s|{{Pluralize from text|{{{spouse|{{{spouse(s)|}}}}}}|likely=(s)|plural=s}}}}
| label14 = Spouse{{#if:{{{spouses|}}}|s|{{#invoke:Detect singular|pluralize|{{{spouse|{{{spouse(s)|}}}}}}|likely=(s)|plural=s}}}}
| data14 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}
| data14 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}


| label15 = Domestic partner{{Pluralize from text|{{{partner|}}}|likely=(s)|plural=s}}
| label15 = Domestic partner{{#invoke:Detect singular|pluralize|{{{partner|}}}|likely=(s)|plural=s}}
| data15 = {{{partner|}}}
| data15 = {{{partner|}}}


Line 1,553: Line 1,553:
| data17 = {{{children|}}}
| data17 = {{{children|}}}


| label18 = Parent{{#if:{{{parents|}}}|{{Pluralize from text|{{{parents|}}}|likely=(s)|plural=s}}|<!--
| label18 = Parent{{#if:{{{parents|}}}|{{#invoke:Detect singular|pluralize|{{{parents|}}}|likely=(s)|plural=s}}|<!--
               -->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|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}}}|{{#invoke:list|unbulleted|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}


| label19 = Relatives
| label19 = Relatives
| data19 = {{{relatives|}}}
| data19 = {{{relatives|}}}


| label20 = Residence{{Pluralize from text|{{{residence|}}}|likely=(s)|plural=s}}
| label20 = Residence{{#invoke:Detect singular|pluralize|{{{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,615: Line 1,615:
| data37 = {{{website|}}}
| data37 = {{{website|}}}


| label38 = Nickname{{Pluralize from text|{{{nickname|}}}|likely=(s)|plural=s}}
| label38 = Nickname{{#invoke:Detect singular|pluralize|{{{nickname|}}}|likely=(s)|plural=s}}
| data38 = {{{nickname|}}}
| data38 = {{{nickname|}}}


Line 1,665: Line 1,665:
| data57 = {{{module5|}}}
| data57 = {{{module5|}}}
| data58 = {{{footnotes|}}}
| data58 = {{{footnotes|}}}
| belowstyle = border-top: 1px solid right; font-size: 95%
| belowstyle = border-top: 1px solid right;
| below = <div>{{#if:{{{date|}}}| As of {{{date}}}{{#if:{{{year|}}}|, {{{year}}}}}}}</div>{{#if:{{{source|}}}|Source: [{{{source}}}]}}  
| below = <div>{{#if:{{{date|}}}| As of {{{date}}}{{#if:{{{year|}}}|, {{{year}}}}}}}</div>{{#if:{{{source|}}}|Source: [{{{source}}}]}}