##############################################################################
#                             Region Collections                             #
#       Created by Adam Pope, bartolomesorianol, Bullmoose20 & Sohjiro       #
#          Artwork Credit to Duhniel, Bullmoose20, and Wiki Commons          #
#          EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL           #
#          https://metamanager.wiki/en/latest/defaults/show/region           #
##############################################################################

external_templates:
  pmm: templates
  template_variables:
    collection_section: "081"

collections:
  Region Collections:
    template:
      - name: separator
        separator: region
        key_name: Region
        translation_key: separator

dynamic_collections:
  Region:
    type: origin_country
    title_format: <<key_name>>
    other_name: Other Regions
    template:
      - filter
      - shared
    other_template:
      - other_collection
      - filter
      - shared
    template_variables:
      filter_term:
        default: origin_country
      image:
        default: country/<<style>>/<<original_key_name_encoded>>
      style:
        default: white
      translation_key:
        default: country
        other: country_other
      dynamic:
        default: true

    include:
      - Northern Africa
      - Eastern Africa
      - Central Africa
      - Southern Africa
      - Western Africa
      - Caribbean
      - Central America
      - South America
      - North America
      - Antarctica
      - Central Asia
      - Eastern Asia
      - South-Eastern Asia
      - Southern Asia
      - Western Asia
      - Eastern Europe
      - Northern Europe
      - Southern Europe
      - Western Europe
      - Australia and New Zealand
      - Melanesia
      - Micronesia
      - Polynesia

    addons:
      Northern Africa:
        - dz                    # Algeria
        - eg                    # Egypt
        - ly                    # Libya
        - ma                    # Morocco
        - sd                    # Sudan
        - tn                    # Tunisia
        - eh                    # Western Sahara
      Eastern Africa:
        - io                    # British Indian Ocean Territory
        - bi                    # Burundi
        - km                    # Comoros
        - dj                    # Djibouti
        - er                    # Eritrea
        - et                    # Ethiopia
        - tf                    # French Southern Territories
        - ke                    # Kenya
        - mg                    # Madagascar
        - mw                    # Malawi
        - mu                    # Mauritius
        - yt                    # Mayotte
        - mz                    # Mozambique
        - re                    # Réunion
        - rw                    # Rwanda
        - sc                    # Seychelles
        - so                    # Somalia
        - ss                    # South Sudan
        - ug                    # Uganda
        - tz                    # Tanzania [United Republic of Tanzania]
        - zm                    # Zambia
        - zw                    # Zimbabwe
      Central Africa:
        - ao                    # Angola
        - cm                    # Cameroon
        - cf                    # Central African Republic
        - td                    # Chad
        - cg                    # Republic of the Congo [Congo]
        - cd                    # Democratic Republic of the Congo
        - zr                    # Zaire
        - gq                    # Equatorial Guinea
        - ga                    # Gabon
        - st                    # São Tomé and Príncipe [Sao Tome and Principe]
      Southern Africa:
        - bw                    # Botswana
        - sz                    # Eswatini [Swaziland]
        - ls                    # Lesotho
        - na                    # Namibia
        - za                    # South Africa
      Western Africa:
        - bj                    # Benin
        - bf                    # Burkina Faso
        - cv                    # Cape Verde [Cabo Verde]
        - ci                    # Côte d'Ivoire [Côte d’Ivoire] [Ivory Coast]
        - gm                    # Gambia
        - gh                    # Ghana
        - gn                    # Guinea
        - gw                    # Guinea-Bissau
        - lr                    # Liberia
        - ml                    # Mali
        - mr                    # Mauritania
        - ne                    # Niger
        - ng                    # Nigeria
        - sh                    # Saint Helena, Ascension and Tristan da Cunha [Ascension] [Tristan da Cunha] [Saint Helena]
        - sn                    # Senegal
        - sl                    # Sierra Leone
        - tg                    # Togo
      Caribbean:
        - ai                    # Anguilla
        - ag                    # Antigua and Barbuda [Antigua] [Barbuda]
        - aw                    # Aruba
        - bs                    # Bahamas
        - bb                    # Barbados
        - bq                    # Bonaire, Sint Eustatius and Saba [Bonaire] [Sint Eustatius] [Saba]
        - an                    # Netherlands Antilles
        - vg                    # British Virgin Islands
        - ky                    # Cayman Islands
        - cu                    # Cuba
        - cw                    # Curaçao
        - dm                    # Dominica
        - do                    # Dominican Republic
        - gd                    # Grenada
        - gp                    # Guadeloupe
        - ht                    # Haiti
        - jm                    # Jamaica
        - mq                    # Martinique
        - ms                    # Montserrat
        - pr                    # Puerto Rico
        - bl                    # Saint Barthélemy
        - kn                    # Saint Kitts and Nevis
        - lc                    # Saint Lucia
        - mf                    # Saint Martin
        - vc                    # Saint Vincent and the Grenadines
        - sx                    # Sint Maarten
        - tt                    # Trinidad and Tobago
        - tc                    # Turks and Caicos Islands
        - vi                    # US Virgin Islands [U.S. Virgin Islands] [United States Virgin Islands]
      Central America:
        - bz                    # Belize
        - cr                    # Costa Rica
        - sv                    # El Salvador
        - gt                    # Guatemala
        - hn                    # Honduras
        - mx                    # Mexico
        - ni                    # Nicaragua
        - pa                    # Panama
      South America:
        - ar                    # Argentina
        - bo                    # Bolivia [Plurinational State of Bolivia]
        - bv                    # Bouvet Island
        - br                    # Brazil
        - cl                    # Chile
        - co                    # Colombia
        - ec                    # Ecuador
        - fk                    # Falkland Islands [Malvinas]
        - gf                    # French Guiana
        - gy                    # Guyana
        - py                    # Paraguay
        - pe                    # Peru
        - gs                    # South Georgia and the South Sandwich Islands [South Georgia] [South Sandwich Islands]
        - sr                    # Suriname
        - uy                    # Uruguay
        - ve                    # Venezuela [Bolivarian Republic of Venezuela]
      North America:
        - bm                    # Bermuda
        - ca                    # Canada
        - gl                    # Greenland
        - pm                    # Saint Pierre and Miquelon
        - us                    # United States [United States of America]
      Antarctica:
        - aq                    # Antarctica
      Central Asia:
        - kz                    # Kazakhstan
        - kg                    # Kyrgyzstan
        - tj                    # Tajikistan
        - tm                    # Turkmenistan
        - uz                    # Uzbekistan
      Eastern Asia:
        - cn                    # China
        - hk                    # Hong Kong
        - mo                    # Macao
        - kp                    # North Korea [Democratic People's Republic of Korea]
        - jp                    # Japan
        - mn                    # Mongolia
        - kr                    # South Korea [Republic of Korea] [Korea]
        - tw                    # Taiwan [Taiwan, Province of China]
      South-Eastern Asia:
        - bn                    # Brunei [Brunei Darussalam]
        - kh                    # Cambodia
        - id                    # Indonesia
        - la                    # Laos [Lao People's Democratic Republic] [Lao]
        - my                    # Malaysia
        - mm                    # Myanmar
        - bu                    # Burma
        - ph                    # Philippines
        - sg                    # Singapore
        - th                    # Thailand
        - tp                    # East Timor
        - tl                    # Timor-Leste
        - vn                    # Vietnam [Viet Nam]
      Southern Asia:
        - af                    # Afghanistan
        - bd                    # Bangladesh
        - bt                    # Bhutan
        - in                    # India
        - ir                    # Iran [Islamic Republic of Iran]
        - mv                    # Maldives
        - np                    # Nepal
        - pk                    # Pakistan
        - lk                    # Sri Lanka
      Western Asia:
        - am                    # Armenia
        - az                    # Azerbaijan
        - bh                    # Bahrain
        - cy                    # Cyprus
        - ge                    # Georgia
        - iq                    # Iraq
        - il                    # Israel
        - jo                    # Jordan
        - kw                    # Kuwait
        - lb                    # Lebanon
        - om                    # Oman
        - qa                    # Qatar
        - sa                    # Saudi Arabia
        - ps                    # Palestine [State of Palestine]
        - sy                    # Syria [Syrian Arab Republic]
        - tr                    # Turkey [Türkiye]
        - ae                    # United Arab Emirates
        - ye                    # Yemen
      Eastern Europe:
        - by                    # Belarus
        - bg                    # Bulgaria
        - cz                    # Czech Republic [Czechia]
        - cs                    # Czechoslovakia
        - hu                    # Hungary
        - pl                    # Poland
        - md                    # Moldova [Republic of Moldova]
        - ro                    # Romania
        - ru                    # Russia [Russian Federation]
        - su                    # Soviet Union
        - sk                    # Slovakia
        - ua                    # Ukraine
      Northern Europe:
        - ax                    # Åland Islands
        - gg                    # Guernsey
        - je                    # Jersey
        - cq                    # Sark
        - dk                    # Denmark
        - ee                    # Estonia
        - fo                    # Faroe Islands
        - fi                    # Finland
        - is                    # Iceland
        - ie                    # Ireland
        - im                    # Isle of Man
        - lv                    # Latvia
        - lt                    # Lithuania
        - no                    # Norway
        - sj                    # Svalbard and Jan Mayen Islands [Svalbard and Jan Mayen]
        - se                    # Sweden
        - gb                    # United Kingdom
      Southern Europe:
        - al                    # Albania
        - ad                    # Andorra
        - ba                    # Bosnia and Herzegovina
        - hr                    # Croatia
        - gi                    # Gibraltar
        - gr                    # Greece
        - xk                    # Kosovo
        - va                    # Vatican City [Holy See]
        - it                    # Italy
        - mt                    # Malta
        - me                    # Montenegro
        - mk                    # North Macedonia [Macedonia] [Republic of North Macedonia]
        - pt                    # Portugal
        - sm                    # San Marino
        - rs                    # Serbia
        - si                    # Slovenia
        - es                    # Spain
        - yu                    # Yugoslavia
      Western Europe:
        - at                    # Austria
        - be                    # Belgium
        - fr                    # France [French Republic]
        - de                    # Germany
        - dd                    # East Germany
        - li                    # Liechtenstein
        - lu                    # Luxembourg
        - mc                    # Monaco
        - nl                    # Netherlands
        - ch                    # Switzerland
      Australia and New Zealand:
        - au                    # Australia
        - cx                    # Christmas Island
        - cc                    # Cocos (Keeling) Islands
        - hm                    # Heard Island and McDonald Islands
        - nz                    # New Zealand
        - nf                    # Norfolk Island
      Melanesia:
        - fj                    # Fiji
        - nc                    # New Caledonia
        - pg                    # Papua New Guinea [New Guinea]
        - sb                    # Solomon Islands
        - vu                    # Vanuatu
      Micronesia:
        - gu                    # Guam
        - ki                    # Kiribati
        - mh                    # Marshall Islands
        - fm                    # Micronesia [Federated States of Micronesia]
        - nr                    # Nauru
        - mp                    # Northern Mariana Islands
        - pw                    # Palau
        - um                    # US Minor Outlying Islands
      Polynesia:
        - as                    # American Samoa
        - ck                    # Cook Islands
        - pf                    # French Polynesia
        - nu                    # Niue
        - pn                    # Pitcairn [Pitcairn Islands]
        - ws                    # Samoa
        - tk                    # Tokelau
        - to                    # Tonga
        - tv                    # Tuvalu
        - wf                    # Wallis and Futuna Islands