Template:Infobox officeholder: Difference between revisions
Appearance
Template:DPP and Template:KMT are being transcluded onto ~100k pages, when that isn't necessary (transclusions in articles have been replaced) |
No edit summary Tag: Manual revert |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 18: | Line 18: | ||
| caption{{#if:{{{smallimage|}}}|3|{{#if:{{{image name|}}}|2}}}} = {{{caption|}}} | | caption{{#if:{{{smallimage|}}}|3|{{#if:{{{image name|}}}|2}}}} = {{{caption|}}} | ||
| headerstyle = {{#ifeq:{{lc:{{{embed}}}}}|yes|background:#eee|background:lavender}} | | headerstyle = color: #202122; {{#ifeq:{{lc:{{{embed}}}}}|yes|background:#eee|background:lavender}} | ||
| data1 = | | data1 = | ||
Line 1,478: | Line 1,478: | ||
| label5 = Born | | label5 = Born | ||
| data5 = {{br | | 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 | | 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 | | data8 = {{#invoke:Separated entries|br|{{{resting_place|{{{restingplace|}}}}}}|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}} | ||
| label9 = Citizenship | | label9 = Citizenship | ||
Line 1,500: | Line 1,500: | ||
| label10 = Nationality | | label10 = Nationality | ||
| data10 = {{#switch:{{ | | data10 = {{#switch:{{#invoke:delink|delink|{{{nationality|}}}}} | ||
| {{#ifeq:{{Country2nationality|{{Find country|{{ | | {{#ifeq:{{Country2nationality|{{Find country|{{#invoke:delink|delink|{{{birth_place|}}}}}}}}}|{{#invoke:delink|delink|{{{nationality|}}}}}|{{#invoke:delink|delink|{{{nationality|}}}}}}} = <!-- not displayed --> | ||
| {{#ifeq:{{Find country|{{{birth_place|}}}}}|England|British}} = | | {{#ifeq:{{Find country|{{{birth_place|}}}}}|England|British}} = <!-- not displayed --> | ||
| #default = {{{nationality|}}} }} | | #default = {{{nationality|}}} }} | ||
Line 1,539: | Line 1,539: | ||
| label13 = Height | | label13 = Height | ||
| data13 = {{#if:{{{height|}}}|{{ | | data13 = {{#if:{{{height|}}}|{{Infobox person/height|{{{height|}}}}}}} | ||
| label14 = Spouse{{#if:{{{spouses|}}}|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{{ | | 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|}}}|{{ | | 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}}}|{{ | | 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{{ | | 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,610: | Line 1,610: | ||
| label36 = Signature | | label36 = Signature | ||
| data36 = {{#if:{{{signature|}}}|[[File:{{{signature}}}|{{#if:{{{signature_size|}}}|{{{signature_size}}}|128x80px}}|alt={{{signature_alt|}}}|{{PAGENAME}}'s signature]]}} | | data36 = {{#if:{{{signature|}}}|[[File:{{{signature}}}|{{#if:{{{signature_size|}}}|{{{signature_size}}}|128x80px}}|class=skin-invert|alt={{{signature_alt|}}}|{{PAGENAME}}'s signature]]}} | ||
| label37 = Website | | label37 = Website | ||
| data37 = {{{website|}}} | | data37 = {{{website|}}} | ||
| label38 = Nickname{{ | | 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; | | 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}}}]}} | ||