Jump to content

Template:Infobox officeholder: Difference between revisions

From BRUS Wikipedia
Tested; nationality hidden if country found in |birth_name= value matches the country name from the demonym (adjective) found in |nationality= value, per documentation
m delink conditional
Line 1,499: Line 1,499:
| label10 = Nationality
| label10 = Nationality
| data10 = {{#switch:{{{nationality|}}}
| data10 = {{#switch:{{{nationality|}}}
| {{#ifeq:{{Find country|{{{birth_place|}}}}}|{{GetCountryNameFromAdjective|{{{nationality|}}}}}|{{{nationality|}}}}} =  
| {{#ifeq:{{Find country|{{{birth_place|}}}}}|{{GetCountryNameFromAdjective|{{delink|{{{nationality|}}}}}}}|{{{nationality|}}}}} =  
| #default = {{{nationality|}}} }}
| #default = {{{nationality|}}} }}



Revision as of 10:33, 9 August 2022

Infobox officeholder

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