Template:Infobox officeholder: Difference between revisions

Tested; nationality hidden if country found in |birth_name= value matches the country name from the demonym (adjective) found in |nationality= value, per documentation
(swap "Cause" for "Manner" if input for |death_cause is simply "Assassination")
(Tested; nationality hidden if country found in |birth_name= value matches the country name from the demonym (adjective) found in |nationality= value, per documentation)
Line 1,498:
 
| label10 = Nationality
| data10 = {{#switch:{{{nationality|}}}
| {{#ifeq:{{Find country|{{{birth_place|}}}}}|{{GetCountryNameFromAdjective|{{{nationality|}}}}}|{{{nationality|}}}}} =
| #default = {{{nationality|}}} }}
 
| label11 = Political party
Anonymous user