Template:AllCountrySidebar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 86: Line 86:
{{#arraydefine:languagewordlists|
{{#arraydefine:languagewordlists|
{{#switch: true
{{#switch: true
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Brazil}} >= 1 | value if true | value if false }} | false | true }} = *[[Portuguese Genealogical Word List|Portuguese]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Brazil}} >= 1 | true | false }} | false | true }} = {{LinkTemplate|condition=true|link=Portuguese Genealogical Word List}}
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Brazil}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Brazil}} >= 1 | true | false }} | false | true }} = {{LinkTemplate|condition=true|link=Spanish Genealogical Word List}}
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Peru}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Peru}} >= 1 | true | false }} | false | true }} = {{LinkTemplate|condition=true|link=Spanish Genealogical Word List}}
|
}}
}}
|,}}
|,}}
Line 96: Line 95:
<ul style="margin-top:0px">
<ul style="margin-top:0px">
<li>{{#ifexist:{{#var:countryName}} Social Life and Customs|[[{{#var:countryName}} Social Life and Customs|Social Life and Customs]]|}}</li>,
<li>{{#ifexist:{{#var:countryName}} Social Life and Customs|[[{{#var:countryName}} Social Life and Customs|Social Life and Customs]]|}}</li>,
<li>{{#ifexist:{{#var:countryName}} Peoples of STATE|[[Peoples of {{#var:countryName}}|Indigenous People ]]|}}</li>,
<li>{{#ifexist:Peoples of {{#var:countryName}}|[[Peoples of {{#var:countryName}}|Indigenous People ]]|}}</li>,
<li>{{#ifexist:{{#var:countryName}} Cultural Groups|[[{{#var:countryName}} Cultural Groups|Cultural Groups]]|}}</li>,
<li>{{#ifexist:{{#var:countryName}} Cultural Groups|[[{{#var:countryName}} Cultural Groups|Cultural Groups]]|}}</li>,
</ul>
</ul>
16,277

edits