Jump to content

Template:Infobox officeholder: Difference between revisions

From BRUS Wikipedia
Template:DPP and Template:KMT are being transcluded onto ~100k pages, when that isn't necessary (transclusions in articles have been replaced)
BRUSpedia (talk | contribs)
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 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,500: Line 1,500:


| label10 = Nationality
| label10 = Nationality
| data10 = {{#switch:{{Delink|{{{nationality|}}}}}
| data10 = {{#switch:{{#invoke:delink|delink|{{{nationality|}}}}}
| {{#ifeq:{{Country2nationality|{{Find country|{{Delink|{{{birth_place|}}}}}}}}}|{{Delink|{{{nationality|}}}}}|{{Delink|{{{nationality|}}}}}}} =
| {{#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|}}}|{{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,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{{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}}}]}}  



Latest revision as of 18:47, 12 January 2025

Infobox officeholder

Page Module:Documentation/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").