Jump to content

Template:Infobox officeholder: Difference between revisions

Template:DPP and Template:KMT are being transcluded onto ~100k pages, when that isn't necessary (transclusions in articles have been replaced)
m use module directly
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|}}}}}}} =
| {{#ifeq:{{Find country|{{{birth_place|}}}}}|England|British}} =
| {{#ifeq:{{Find country|{{{birth_place|}}}}}|England|British}} =
| #default = {{{nationality|}}} }}
| #default = {{{nationality|}}} }}