Template:AllCountrySidebar: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 83: Line 83:
</ul>
</ul>
|,}}
|,}}
<!-------------------------------------language background---------------------------------------------->
<!-------------------------------------language word lists---------------------------------------------->
{{#arraydefine:languagebackground|
{{#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 Genealogical Word List]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Brazil}} >= 1 | value if true | value if false }} | false | true }} = *[[Portuguese Genealogical Word List|Portuguese]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Columbia}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish Genealogical Word List]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Columbia}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Peru}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish Genealogical Word List]]
  | {{#iferror: {{#ifexpr: {{#pos:{{PAGENAME}}|Peru}} >= 1 | value if true | value if false }} | false | true }} = *[[Spanish Genealogical Word List|Spanish]]
  |  
  |  
}}
}}
Line 132: Line 132:
{{#arrayprint:background|}}
{{#arrayprint:background|}}
|-
|-
<!--------------------------------------language background------------------------------------>
<!--------------------------------------language word lists------------------------------------>
| style="text-align:center; background: #C8C8C8; font-size:14pt"|'''{{#var:countryName}} Language Background'''
| style="text-align:center; background: #C8C8C8; font-size:14pt"|'''{{#var:countryName}} Genealogical Word Lists'''
|-  
|-  
| {{#ifexpr:{{#arraysize:background}}<4 | |style="column-count:2"}}|
| {{#ifexpr:{{#arraysize:background}}<4 | |style="column-count:2"}}|
{{#arrayprint:languagebackground|}}
{{#arrayprint:languagewordlists|}}
|-
|-
<!--------------------------------------cultural groups------------------------------------>
<!--------------------------------------cultural groups------------------------------------>

Revision as of 11:09, 29 June 2023

AllCountrySidebar Wiki Topics
Flag of AllCountrySidebar.png
AllCountrySidebar Beginning Research
Record Types
AllCountrySidebar Background
AllCountrySidebar Genealogical Word Lists
Cultural Groups
Local Research Resources