Jump to content

Template:AllCountrySidebar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 81: Line 81:
<li>{{#ifexist:{{#var:countryName}} Social Life and Customs|[[{{#var:countryName}} Social Life and Customs|Social Life & Customs]]|}}</li>,
<li>{{#ifexist:{{#var:countryName}} Social Life and Customs|[[{{#var:countryName}} Social Life and Customs|Social Life & Customs]]|}}</li>,
<li>{{#ifexist:{{#var:countryName}} word lists according to country|[[{{#var:countryName}} word lists according to country|]]|}}</li>,
<li>{{#ifexist:{{#var:countryName}} word lists according to country|[[{{#var:countryName}} word lists according to country|]]|}}</li>,
 
</ul>
|,}}
<!-------------------------------------language word lists---------------------------------------------->
{{#arraydefine:languagewordlists|
{{#switch: true
{{#switch: true
  | {{#iferror: {{#expr: {{#pos:{{PAGENAME}}|Brazil}} }} | false | true }} = <li>[[Portuguese Genealogical Word List|Portuguese Genealogical Word List]]</li>,
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Brazil}} >= 1 | value if true | value if false }} | false | true }} = *[[Portuguese Genealogical Word List|Portuguese]]
  | {{#iferror: {{#expr: {{#pos:{{PAGENAME}}|Brazil}} }} | false | true }} = <li>[[Spanish Genealogical Word List|Spanish Genealogical Word List]]</li>,
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Columbia}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish]]
| {{#iferror: {{#expr: {{#pos:{{PAGENAME}}|Columbia}} }} | false | true }} = <li>[[Spanish Genealogical Word List|Spanish Genealogical Word List]]</li>,
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Peru}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish]]
  | {{#iferror: {{#expr: {{#pos:{{PAGENAME}}|Peru}} }} | false | true }} = <li>[[Spanish Genealogical Word List|Spanish Genealogical Word List]]</li>,
  |  
  |  
}}
}}
</ul>
|,}}
|,}}
<!---------------cultural Groups----------------------------------------->
<!---------------cultural Groups----------------------------------------->
Line 130: Line 131:
| {{#ifexpr:{{#arraysize:background}}<4 | |style="column-count:2"}}|
| {{#ifexpr:{{#arraysize:background}}<4 | |style="column-count:2"}}|
{{#arrayprint:background|}}
{{#arrayprint:background|}}
|-
<!--------------------------------------language word lists------------------------------------>
| style="text-align:center; background: #C8C8C8; font-size:14pt"|'''{{#var:countryName}} Genealogical Word Lists'''
|-
| {{#ifexpr:{{#arraysize:background}}<4 | |style="column-count:2"}}|
{{#arrayprint:languagewordlists|}}
|-
|-
<!--------------------------------------cultural groups------------------------------------>
<!--------------------------------------cultural groups------------------------------------>
16,277

edits