Module:Citizenship/data/doc: Difference between revisions

From ESU Wiki
Created page with "local citizenshipData = { AD = "25px Andorran", AE = "25px Emirati", AF = "25px Afghan", AG = "25px Antiguan", AI = "25px Anguillian", AL = "25px Albanian", AM = "25px Armenian", AO = "25px Angola|An..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
local citizenshipData = {
=== Info ===
    AD = "[[File:AD.jpg|25px]] [[Andorra|Andorran]]",
This is a list of country codes to determine character nationality.
    AE = "[[File:AE.jpg|25px]] [[United Arab Emirates|Emirati]]",
    AF = "[[File:AF.jpg|25px]] [[Afghanistan|Afghan]]",
    AG = "[[File:AG.jpg|25px]] [[Antigua and Barbuda|Antiguan]]",
    AI = "[[File:AI.jpg|25px]] [[Anguilla|Anguillian]]",
    AL = "[[File:AL.jpg|25px]] [[Albania|Albanian]]",
    AM = "[[File:AM.jpg|25px]] [[Armenia|Armenian]]",
    AO = "[[File:AO.jpg|25px]] [[Angola|Angolan]]",
    AR = "[[File:AR.jpg|25px]] [[Argentina|Argentine]]",
    AS = "[[File:AS.jpg|25px]] [[American Samoa|Samoan]]",
    AT = "[[File:AT.jpg|25px]] [[Austria|Austrian]]",
    AU = "[[File:AU.jpg|25px]] [[Australia|Australian]]",
    AW = "[[File:AW.jpg|25px]] [[Aruba|Aruban]]",
    AX = "[[File:AX.jpg|25px]] [[Åland Islands|Ålander]]",
    AZ = "[[File:AZ.jpg|25px]] [[Azerbaijan|Azerbaijani]]",
    BA = "[[File:BA.jpg|25px]] [[Bosnia and Herzegovina|Bosnian]]",
    BB = "[[File:BB.jpg|25px]] [[Barbados|Barbadian]]",
    BD = "[[File:BD.jpg|25px]] [[Bangladesh|Bangladeshi]]",
    BE = "[[File:BE.jpg|25px]] [[Belgium|Belgian]]",
    BF = "[[File:BF.jpg|25px]] [[Burkina Faso|Burkinabé]]",
    BG = "[[File:BG.jpg|25px]] [[Bulgaria|Bulgarian]]",
    BH = "[[File:BH.jpg|25px]] [[Bahrain|Bahraini]]",
    BI = "[[File:BI.jpg|25px]] [[Burundi|Burundian]]",
    BJ = "[[File:BJ.jpg|25px]] [[Benin|Beninese]]",
    BL = "[[File:BL.jpg|25px]] [[Saint Barthélemy|Barthélemois]]",
    BM = "[[File:BM.jpg|25px]] [[Bermuda|Bermudian]]",
    BN = "[[File:BN.jpg|25px]] [[Brunei|Bruneian]]",
    BO = "[[File:BO.jpg|25px]] [[Bolivia|Bolivian]]",
    BQ = "[[File:BQ.jpg|25px]] [[Bonaire, Sint Eustatius and Saba|Bonairean]]",
    BR = "[[File:BR.jpg|25px]] [[Brazil|Brazilian]]",
    BS = "[[File:BS.jpg|25px]] [[Bahamas|Bahamian]]",
    BT = "[[File:BT.jpg|25px]] [[Bhutan|Bhutanese]]",
    BV = "[[File:BV.jpg|25px]] [[Bouvet Island|Bouvet Islander]]",
    BW = "[[File:BW.jpg|25px]] [[Botswana|Motswana]]",
    BY = "[[File:BY.jpg|25px]] [[Belarus|Belarusian]]",
    BZ = "[[File:BZ.jpg|25px]] [[Belize|Belizean]]",
    CA = "[[File:CA.jpg|25px]] [[Canada|Canadian]]",
    CC = "[[File:CC.jpg|25px]] [[Cocos (Keeling) Islands|Cocos Islander]]",
    CD = "[[File:CD.jpg|25px]] [[Democratic Republic of the Congo|Congolese]]",
    CF = "[[File:CF.jpg|25px]] [[Central African Republic|Central African]]",
    CG = "[[File:CG.jpg|25px]] [[Republic of the Congo|Congolese]]",
    CH = "[[File:CH.jpg|25px]] [[Switzerland|Swiss]]",
    CI = "[[File:CI.jpg|25px]] [[Ivory Coast|Ivorian]]",
    CK = "[[File:CK.jpg|25px]] [[Cook Islands|Cook Islander]]",
    CL = "[[File:CL.jpg|25px]] [[Chile|Chilean]]",
    CM = "[[File:CM.jpg|25px]] [[Cameroon|Cameroonian]]",
    CN = "[[File:CN.jpg|25px]] [[China|Chinese]]",
    CO = "[[File:CO.jpg|25px]] [[Colombia|Colombian]]",
    CR = "[[File:CR.jpg|25px]] [[Costa Rica|Costa Rican]]",
    CU = "[[File:CU.jpg|25px]] [[Cuba|Cuban]]",
    CV = "[[File:CV.jpg|25px]] [[Cabo Verde|Cape Verdean]]",
    CW = "[[File:CW.jpg|25px]] [[Curaçao|Curaçaoan]]",
    CX = "[[File:CX.jpg|25px]] [[Christmas Island|Christmas Islander]]",
    CY = "[[File:CY.jpg|25px]] [[Cyprus|Cypriot]]",
    CZ = "[[File:CZ.jpg|25px]] [[Czech Republic|Czech]]",
    DE = "[[File:DE.jpg|25px]] [[Germany|German]]",
    DJ = "[[File:DJ.jpg|25px]] [[Djibouti|Djiboutian]]",
    DK = "[[File:DK.jpg|25px]] [[Denmark|Danish]]",
    DM = "[[File:DM.jpg|25px]] [[Dominica|Dominican]]",
    DO = "[[File:DO.jpg|25px]] [[Dominican Republic|Dominican]]",
    DZ = "[[File:DZ.jpg|25px]] [[Algeria|Algerian]]",
    EC = "[[File:EC.jpg|25px]] [[Ecuador|Ecuadorian]]",
    EE = "[[File:EE.jpg|25px]] [[Estonia|Estonian]]",
    EG = "[[File:EG.jpg|25px]] [[Egypt|Egyptian]]",
    EH = "[[File:EH.jpg|25px]] [[Western Sahara|Sahrawi]]",
    ER = "[[File:ER.jpg|25px]] [[Eritrea|Eritrean]]",
    ES = "[[File:ES.jpg|25px]] [[Spain|Spanish]]",
    ET = "[[File:ET.jpg|25px]] [[Ethiopia|Ethiopian]]",
    FI = "[[File:FI.jpg|25px]] [[Finland|Finnish]]",
    FJ = "[[File:FJ.jpg|25px]] [[Fiji|Fijian]]",
    FM = "[[File:FM.jpg|25px]] [[Micronesia|Micronesian]]",
    FO = "[[File:FO.jpg|25px]] [[Faroe Islands|Faroese]]",
    FR = "[[File:FR.jpg|25px]] [[France|French]]",
    GA = "[[File:GA.jpg|25px]] [[Gabon|Gabonese]]",
    GB = "[[File:GB.jpg|25px]] [[United Kingdom|British]]",
    GD = "[[File:GD.jpg|25px]] [[Grenada|Grenadian]]",
    GE = "[[File:GE.jpg|25px]] [[Georgia|Georgian]]",
    GF = "[[File:GF.jpg|25px]] [[French Guiana|Guianese]]",
    GG = "[[File:GG.jpg|25px]] [[Guernsey|Guernsey]]",
    GH = "[[File:GH.jpg|25px]] [[Ghana|Ghanaian]]",
    GI = "[[File:GI.jpg|25px]] [[Gibraltar|Gibraltarian]]",
    GL = "[[File:GL.jpg|25px]] [[Greenland|Greenlander]]",
    GM = "[[File:GM.jpg|25px]] [[Gambia|Gambian]]",
    GN = "[[File:GN.jpg|25px]] [[Guinea|Guinean]]",
    GP = "[[File:GP.jpg|25px]] [[Guadeloupe|Guadeloupean]]",
    GQ = "[[File:GQ.jpg|25px]] [[Equatorial Guinea|Equatorial Guinean]]",
    GR = "[[File:GR.jpg|25px]] [[Greece|Greek]]",
    GT = "[[File:GT.jpg|25px]] [[Guatemala|Guatemalan]]",
    GU = "[[File:GU.jpg|25px]] [[Guam|Guamanian]]",
    GW = "[[File:GW.jpg|25px]] [[Guinea-Bissau|Bissau-Guinean]]",
    GY = "[[File:GY.jpg|25px]] [[Guyana|Guyanese]]",
    HK = "[[File:HK.jpg|25px]] [[Hong Kong|Hongkonger]]",
    HM = "[[File:HM.jpg|25px]] [[Heard Island and McDonald Islands|Heard Islander]]",
    HN = "[[File:HN.jpg|25px]] [[Honduras|Honduran]]",
    HR = "[[File:HR.jpg|25px]] [[Croatia|Croatian]]",
    HT = "[[File:HT.jpg|25px]] [[Haiti|Haitian]]",
    HU = "[[File:HU.jpg|25px]] [[Hungary|Hungarian]]",
    ID = "[[File:ID.jpg|25px]] [[Indonesia|Indonesian]]",
    IE = "[[File:IE.jpg|25px]] [[Ireland|Irish]]",
    IL = "[[File:IL.jpg|25px]] [[Israel|Israeli]]",
    IM = "[[File:IM.jpg|25px]] [[Isle of Man|Manx]]",
    IN = "[[File:IN.jpg|25px]] [[India|Indian]]",
    IO = "[[File:IO.jpg|25px]] [[British Indian Ocean Territory|British Indian Ocean Territory]]",
    IQ = "[[File:IQ.jpg|25px]] [[Iraq|Iraqi]]",
    IR = "[[File:IR.jpg|25px]] [[Iran|Iranian]]",
    IS = "[[File:IS.jpg|25px]] [[Iceland|Icelander]]",
    IT = "[[File:IT.jpg|25px]] [[Italy|Italian]]",
    JE = "[[File:JE.jpg|25px]] [[Jersey|Jerseyman]]",
    JM = "[[File:JM.jpg|25px]] [[Jamaica|Jamaican]]",
    JO = "[[File:JO.jpg|25px]] [[Jordan|Jordanian]]",
    JP = "[[File:JP.jpg|25px]] [[Japan|Japanese]]",
    KE = "[[File:KE.jpg|25px]] [[Kenya|Kenyan]]",
    KG = "[[File:KG.jpg|25px]] [[Kyrgyzstan|Kyrgyz]]",
    KH = "[[File:KH.jpg|25px]] [[Cambodia|Cambodian]]",
    KI = "[[File:KI.jpg|25px]] [[Kiribati|I-Kiribati]]",
    KM = "[[File:KM.jpg|25px]] [[Comoros|Comorian]]",
    KN = "[[File:KN.jpg|25px]] [[Saint Kitts and Nevis|Kittitian]]",
    KP = "[[File:KP.jpg|25px]] [[North Korea|North Korean]]",
    KR = "[[File:KR.jpg|25px]] [[South Korea|South Korean]]",
    KW = "[[File:KW.jpg|25px]] [[Kuwait|Kuwaiti]]",
    KY = "[[File:KY.jpg|25px]] [[Cayman Islands|Caymanian]]",
    KZ = "[[File:KZ.jpg|25px]] [[Kazakhstan|Kazakh]]",
    LA = "[[File:LA.jpg|25px]] [[Laos|Laotian]]",
    LB = "[[File:LB.jpg|25px]] [[Lebanon|Lebanese]]",
    LC = "[[File:LC.jpg|25px]] [[Saint Lucia|Lucian]]",
    LI = "[[File:LI.jpg|25px]] [[Liechtenstein|Liechtensteiner]]",
    LK = "[[File:LK.jpg|25px]] [[Sri Lanka|Sri Lankan]]",
    LR = "[[File:LR.jpg|25px]] [[Liberia|Liberian]]",
    LS = "[[File:LS.jpg|25px]] [[Lesotho|Basotho]]",
    LT = "[[File:LT.jpg|25px]] [[Lithuania|Lithuanian]]",
    LU = "[[File:LU.jpg|25px]] [[Luxembourg|Luxembourger]]",
    LV = "[[File:LV.jpg|25px]] [[Latvia|Latvian]]",
    LY = "[[File:LY.jpg|25px]] [[Libya|Libyan]]",
    MA = "[[File:MA.jpg|25px]] [[Morocco|Moroccan]]",
    MC = "[[File:MC.jpg|25px]] [[Monaco|Monegasque]]",
    MD = "[[File:MD.jpg|25px]] [[Moldova|Moldovan]]",
    ME = "[[File:ME.jpg|25px]] [[Montenegro|Montenegrin]]",
    MF = "[[File:MF.jpg|25px]] [[Saint Martin|Saint Martin]]",
    MG = "[[File:MG.jpg|25px]] [[Madagascar|Malagasy]]",
    MH = "[[File:MH.jpg|25px]] [[Marshall Islands|Marshallese]]",
    MK = "[[File:MK.jpg|25px]] [[North Macedonia|Macedonian]]",
    ML = "[[File:ML.jpg|25px]] [[Mali|Malian]]",
    MM = "[[File:MM.jpg|25px]] [[Myanmar|Burmese]]",
    MN = "[[File:MN.jpg|25px]] [[Mongolia|Mongolian]]",
    MO = "[[File:MO.jpg|25px]] [[Macau|Macanese]]",
    MP = "[[File:MP.jpg|25px]] [[Northern Mariana Islands|Northern Marianan]]",
    MQ = "[[File:MQ.jpg|25px]] [[Martinique|Martinican]]",
    MR = "[[File:MR.jpg|25px]] [[Mauritania|Mauritanian]]",
    MS = "[[File:MS.jpg|25px]] [[Montserrat|Montserratian]]",
    MT = "[[File:MT.jpg|25px]] [[Malta|Maltese]]",
    MU = "[[File:MU.jpg|25px]] [[Mauritius|Mauritian]]",
    MV = "[[File:MV.jpg|25px]] [[Maldives|Maldivian]]",
    MW = "[[File:MW.jpg|25px]] [[Malawi|Malawian]]",
    MX = "[[File:MX.jpg|25px]] [[Mexico|Mexican]]",
    MY = "[[File:MY.jpg|25px]] [[Malaysia|Malaysian]]",
    MZ = "[[File:MZ.jpg|25px]] [[Mozambique|Mozambican]]",
    NA = "[[File:NA.jpg|25px]] [[Namibia|Namibian]]",
    NC = "[[File:NC.jpg|25px]] [[New Caledonia|New Caledonian]]",
    NE = "[[File:NE.jpg|25px]] [[Niger|Nigerien]]",
    NF = "[[File:NF.jpg|25px]] [[Norfolk Island|Norfolk Islander]]",
    NG = "[[File:NG.jpg|25px]] [[Nigeria|Nigerian]]",
    NI = "[[File:NI.jpg|25px]] [[Nicaragua|Nicaraguan]]",
    NL = "[[File:NL.jpg|25px]] [[Netherlands|Dutch]]",
    NO = "[[File:NO.jpg|25px]] [[Norway|Norwegian]]",
    NP = "[[File:NP.jpg|25px]] [[Nepal|Nepali]]",
    NR = "[[File:NR.jpg|25px]] [[Nauru|Nauruan]]",
    NU = "[[File:NU.jpg|25px]] [[Niue|Niuean]]",
    NZ = "[[File:NZ.jpg|25px]] [[New Zealand|New Zealander]]",
    OM = "[[File:OM.jpg|25px]] [[Oman|Omani]]",
    PA = "[[File:PA.jpg|25px]] [[Panama|Panamanian]]",
    PE = "[[File:PE.jpg|25px]] [[Peru|Peruvian]]",
    PF = "[[File:PF.jpg|25px]] [[French Polynesia|French Polynesian]]",
    PG = "[[File:PG.jpg|25px]] [[Papua New Guinea|Papua New Guinean]]",
    PH = "[[File:PH.jpg|25px]] [[Philippines|Filipino]]",
    PK = "[[File:PK.jpg|25px]] [[Pakistan|Pakistani]]",
    PL = "[[File:PL.jpg|25px]] [[Poland|Polish]]",
    PM = "[[File:PM.jpg|25px]] [[Saint Pierre and Miquelon|Saint Pierresian]]",
    PN = "[[File:PN.jpg|25px]] [[Pitcairn Islands|Pitcairner]]",
    PR = "[[File:PR.jpg|25px]] [[Puerto Rico|Puerto Rican]]",
    PT = "[[File:PT.jpg|25px]] [[Portugal|Portuguese]]",
    PW = "[[File:PW.jpg|25px]] [[Palau|Palauan]]",
    PY = "[[File:PY.jpg|25px]] [[Paraguay|Paraguayan]]",
    QA = "[[File:QA.jpg|25px]] [[Qatar|Qatari]]",
    RE = "[[File:RE.jpg|25px]] [[Réunion|Réunionese]]",
    RO = "[[File:RO.jpg|25px]] [[Romania|Romanian]]",
    RS = "[[File:RS.jpg|25px]] [[Serbia|Serbian]]",
    RU = "[[File:RU.jpg|25px]] [[Russia|Russian]]",
    RW = "[[File:RW.jpg|25px]] [[Rwanda|Rwandan]]",
    SA = "[[File:SA.jpg|25px]] [[Saudi Arabia|Saudi]]",
    SB = "[[File:SB.jpg|25px]] [[Solomon Islands|Solomon Islander]]",
    SC = "[[File:SC.jpg|25px]] [[Seychelles|Seychellois]]",
    SD = "[[File:SD.jpg|25px]] [[Sudan|Sudanese]]",
    SE = "[[File:SE.jpg|25px]] [[Sweden|Swedish]]",
    SG = "[[File:SG.jpg|25px]] [[Singapore|Singaporean]]",
    SH = "[[File:SH.jpg|25px]] [[Saint Helena|Saint Helenian]]",
    SI = "[[File:SI.jpg|25px]] [[Slovenia|Slovenian]]",
    SJ = "[[File:SJ.jpg|25px]] [[Svalbard and Jan Mayen|Svalbardian]]",
    SK = "[[File:SK.jpg|25px]] [[Slovakia|Slovak]]",
    SL = "[[File:SL.jpg|25px]] [[Sierra Leone|Sierra Leonean]]",
    SM = "[[File:SM.jpg|25px]] [[San Marino|Sammarinese]]",
    SN = "[[File:SN.jpg|25px]] [[Senegal|Senegalese]]",
    SO = "[[File:SO.jpg|25px]] [[Somalia|Somali]]",
    SR = "[[File:SR.jpg|25px]] [[Suriname|Surinamese]]",
    SS = "[[File:SS.jpg|25px]] [[South Sudan|South Sudanese]]",
    ST = "[[File:ST.jpg|25px]] [[Sao Tome and Principe|Sao Tomean]]",
    SV = "[[File:SV.jpg|25px]] [[El Salvador|Salvadoran]]",
    SX = "[[File:SX.jpg|25px]] [[Sint Maarten|Sint Maarten]]",
    SY = "[[File:SY.jpg|25px]] [[Syria|Syrian]]",
    SZ = "[[File:SZ.jpg|25px]] [[Eswatini|Swazi]]",
    TC = "[[File:TC.jpg|25px]] [[Turks and Caicos Islands|Turks and Caicos Islander]]",
    TD = "[[File:TD.jpg|25px]] [[Chad|Chadian]]",
    TF = "[[File:TF.jpg|25px]] [[French Southern and Antarctic Lands|French Southern and Antarctic Lands]]",
    TG = "[[File:TG.jpg|25px]] [[Togo|Togolese]]",
    TH = "[[File:TH.jpg|25px]] [[Thailand|Thai]]",
    TJ = "[[File:TJ.jpg|25px]] [[Tajikistan|Tajik]]",
    TK = "[[File:TK.jpg|25px]] [[Tokelau|Tokelauan]]",
    TL = "[[File:TL.jpg|25px]] [[Timor-Leste|Timorese]]",
    TM = "[[File:TM.jpg|25px]] [[Turkmenistan|Turkmen]]",
    TN = "[[File:TN.jpg|25px]] [[Tunisia|Tunisian]]",
    TO = "[[File:TO.jpg|25px]] [[Tonga|Tongan]]",
    TR = "[[File:TR.jpg|25px]] [[Turkey|Turkish]]",
    TT = "[[File:TT.jpg|25px]] [[Trinidad and Tobago|Trinidadian]]",
    TV = "[[File:TV.jpg|25px]] [[Tuvalu|Tuvaluan]]",
    TZ = "[[File:TZ.jpg|25px]] [[Tanzania|Tanzanian]]",
    UA = "[[File:UA.jpg|25px]] [[Ukraine|Ukrainian]]",
    UG = "[[File:UG.jpg|25px]] [[Uganda|Ugandan]]",
    US = "[[File:US.jpg|25px]] [[United States|American]]",
    UY = "[[File:UY.jpg|25px]] [[Uruguay|Uruguayan]]",
    UZ = "[[File:UZ.jpg|25px]] [[Uzbekistan|Uzbek]]",
    VA = "[[File:VA.jpg|25px]] [[Vatican City|Vatican]]",
    VC = "[[File:VC.jpg|25px]] [[Saint Vincent and the Grenadines|Vincentian]]",
    VE = "[[File:VE.jpg|25px]] [[Venezuela|Venezuelan]]",
    VG = "[[File:VG.jpg|25px]] [[British Virgin Islands|British Virgin Islander]]",
    VI = "[[File:VI.jpg|25px]] [[U.S. Virgin Islands|Virgin Islander]]",
    VN = "[[File:VN.jpg|25px]] [[Vietnam|Vietnamese]]",
    VU = "[[File:VU.jpg|25px]] [[Vanuatu|Ni-Vanuatu]]",
    WF = "[[File:WF.jpg|25px]] [[Wallis and Futuna|Wallisian]]",
    WS = "[[File:WS.jpg|25px]] [[Samoa|Samoan]]",
    XK = "[[File:XK.jpg|25px]] [[Kosovo|Kosovar]]",
    YE = "[[File:YE.jpg|25px]] [[Yemen|Yemeni]]",
    YT = "[[File:YT.jpg|25px]] [[Mayotte|Mahoran]]",
    ZA = "[[File:ZA.jpg|25px]] [[South Africa|South African]]",
    ZM = "[[File:ZM.jpg|25px]] [[Zambia|Zambian]]",
    ZW = "[[File:ZW.jpg|25px]] [[Zimbabwe|Zimbabwean]]",
    ASG = "[[File:ASG.jpg|25px]] [[Asgard|Asgardian]]"
}


return citizenshipData
=== Syntax ===
 
<code><nowiki>{{Citizenship}}</nowiki></code>
 
=== Example ===
 
<code><nowiki>{{Citizenship|US}}</nowiki></code>
 
will return
 
{{Citizenship|US}}

Latest revision as of 22:04, 2 November 2024

Info[edit source]

This is a list of country codes to determine character nationality.

Syntax[edit source]

{{Citizenship}}

Example[edit source]

{{Citizenship|US}}

will return

American