ppy / osu-wiki

home of the osu! wiki
https://osu.ppy.sh/help/wiki/
Other
490 stars 1.09k forks source link

Flag reference links template #328

Closed MegaApplePi closed 2 years ago

MegaApplePi commented 7 years ago

Update: I have created a GitHub page to do the parsing for you.


Put these references at the bottom of your article, and remove the ones you don't use. If a user's flag doesn't exist, follow these rules for replacing the flag based on their country code:

[flag___]: /wiki/shared/flag/__.gif
[flag_AD]: /wiki/shared/flag/AD.gif "Andorra"
[flag_AE]: /wiki/shared/flag/AE.gif "United Arab Emirates"
[flag_AF]: /wiki/shared/flag/AF.gif "Afghanistan"
[flag_AG]: /wiki/shared/flag/AG.gif "Antigua and Barbuda"
[flag_AI]: /wiki/shared/flag/AI.gif "Anguilla"
[flag_AL]: /wiki/shared/flag/AL.gif "Albania"
[flag_AM]: /wiki/shared/flag/AM.gif "Armenia"
[flag_AN]: /wiki/shared/flag/AN.gif "Netherlands Antilles"
[flag_AO]: /wiki/shared/flag/AO.gif "Angola"
[flag_AR]: /wiki/shared/flag/AR.gif "Argentina"
[flag_AS]: /wiki/shared/flag/AS.gif "American Samoa"
[flag_AT]: /wiki/shared/flag/AT.gif "Austria"
[flag_AU]: /wiki/shared/flag/AU.gif "Australia"
[flag_AW]: /wiki/shared/flag/AW.gif "Aruba"
[flag_AX]: /wiki/shared/flag/AX.gif "Aland Islands"
[flag_AZ]: /wiki/shared/flag/AZ.gif "Azerbaijan"
[flag_BA]: /wiki/shared/flag/BA.gif "Bosnia and Herzegovina"
[flag_BB]: /wiki/shared/flag/BB.gif "Barbados"
[flag_BD]: /wiki/shared/flag/BD.gif "Bangladesh"
[flag_BE]: /wiki/shared/flag/BE.gif "Belgium"
[flag_BF]: /wiki/shared/flag/BF.gif "Burkina Faso"
[flag_BG]: /wiki/shared/flag/BG.gif "Bulgaria"
[flag_BH]: /wiki/shared/flag/BH.gif "Bahrain"
[flag_BI]: /wiki/shared/flag/BI.gif "Burundi"
[flag_BJ]: /wiki/shared/flag/BJ.gif "Benin"
[flag_BL]: /wiki/shared/flag/BL.gif "Saint Barthelemy"
[flag_BM]: /wiki/shared/flag/BM.gif "Bermuda"
[flag_BN]: /wiki/shared/flag/BN.gif "Brunei"
[flag_BO]: /wiki/shared/flag/BO.gif "Bolivia"
[flag_BR]: /wiki/shared/flag/BR.gif "Brazil"
[flag_BS]: /wiki/shared/flag/BS.gif "Bahamas"
[flag_BT]: /wiki/shared/flag/BT.gif "Bhutan"
[flag_BW]: /wiki/shared/flag/BW.gif "Botswana"
[flag_BY]: /wiki/shared/flag/BY.gif "Belarus"
[flag_BZ]: /wiki/shared/flag/BZ.gif "Belize"
[flag_CA]: /wiki/shared/flag/CA.gif "Canada"
[flag_CD]: /wiki/shared/flag/CD.gif "Congo, The Democratic Republic of the"
[flag_CF]: /wiki/shared/flag/CF.gif "Central African Republic"
[flag_CG]: /wiki/shared/flag/CG.gif "Congo"
[flag_CH]: /wiki/shared/flag/CH.gif "Switzerland"
[flag_CI]: /wiki/shared/flag/CI.gif "Cote D'Ivoire"
[flag_CL]: /wiki/shared/flag/CL.gif "Chile"
[flag_CM]: /wiki/shared/flag/CM.gif "Cameroon"
[flag_CN]: /wiki/shared/flag/CN.gif "China"
[flag_CO]: /wiki/shared/flag/CO.gif "Colombia"
[flag_CR]: /wiki/shared/flag/CR.gif "Costa Rica"
[flag_CU]: /wiki/shared/flag/CU.gif "Cuba"
[flag_CV]: /wiki/shared/flag/CV.gif "Cabo Verde"
[flag_CX]: /wiki/shared/flag/CX.gif "Christmas Island"
[flag_CY]: /wiki/shared/flag/CY.gif "Cyprus"
[flag_CZ]: /wiki/shared/flag/CZ.gif "Czech Republic"
[flag_DE]: /wiki/shared/flag/DE.gif "Germany"
[flag_DJ]: /wiki/shared/flag/DJ.gif "Djibouti"
[flag_DK]: /wiki/shared/flag/DK.gif "Denmark"
[flag_DM]: /wiki/shared/flag/DM.gif "Dominica"
[flag_DO]: /wiki/shared/flag/DO.gif "Dominican Republic"
[flag_DZ]: /wiki/shared/flag/DZ.gif "Algeria"
[flag_EC]: /wiki/shared/flag/EC.gif "Ecuador"
[flag_EE]: /wiki/shared/flag/EE.gif "Estonia"
[flag_EG]: /wiki/shared/flag/EG.gif "Egypt"
[flag_ER]: /wiki/shared/flag/ER.gif "Eritrea"
[flag_ES]: /wiki/shared/flag/ES.gif "Spain"
[flag_ET]: /wiki/shared/flag/ET.gif "Ethiopia"
[flag_EU]: /wiki/shared/flag/EU.gif "Europe"
[flag_FI]: /wiki/shared/flag/FI.gif "Finland"
[flag_FJ]: /wiki/shared/flag/FJ.gif "Fiji"
[flag_FK]: /wiki/shared/flag/FK.gif "Falkland Islands (Malvinas)"
[flag_FM]: /wiki/shared/flag/FM.gif "Micronesia, Federated States of"
[flag_FO]: /wiki/shared/flag/FO.gif "Faroe Islands"
[flag_FR]: /wiki/shared/flag/FR.gif "France"
[flag_GA]: /wiki/shared/flag/GA.gif "Gabon"
[flag_GB]: /wiki/shared/flag/GB.gif "United Kingdom"
[flag_GD]: /wiki/shared/flag/GD.gif "Grenada"
[flag_GE]: /wiki/shared/flag/GE.gif "Georgia"
[flag_GF]: /wiki/shared/flag/GF.gif "French Guiana"
[flag_GG]: /wiki/shared/flag/GG.gif "Guernsey"
[flag_GH]: /wiki/shared/flag/GH.gif "Ghana"
[flag_GI]: /wiki/shared/flag/GI.gif "Gibraltar"
[flag_GL]: /wiki/shared/flag/GL.gif "Greenland"
[flag_GM]: /wiki/shared/flag/GM.gif "Gambia"
[flag_GN]: /wiki/shared/flag/GN.gif "Guinea"
[flag_GP]: /wiki/shared/flag/GP.gif "Guadeloupe"
[flag_GQ]: /wiki/shared/flag/GQ.gif "Equatorial Guinea"
[flag_GR]: /wiki/shared/flag/GR.gif "Greece"
[flag_GT]: /wiki/shared/flag/GT.gif "Guatemala"
[flag_GU]: /wiki/shared/flag/GU.gif "Guam"
[flag_GW]: /wiki/shared/flag/GW.gif "Guinea-Bissau"
[flag_GY]: /wiki/shared/flag/GY.gif "Guyana"
[flag_HK]: /wiki/shared/flag/HK.gif "Hong Kong"
[flag_HM]: /wiki/shared/flag/HM.gif "Heard Island and McDonald Islands"
[flag_HN]: /wiki/shared/flag/HN.gif "Honduras"
[flag_HR]: /wiki/shared/flag/HR.gif "Croatia"
[flag_HT]: /wiki/shared/flag/HT.gif "Haiti"
[flag_HU]: /wiki/shared/flag/HU.gif "Hungary"
[flag_ID]: /wiki/shared/flag/ID.gif "Indonesia"
[flag_IE]: /wiki/shared/flag/IE.gif "Ireland"
[flag_IL]: /wiki/shared/flag/IL.gif "Israel"
[flag_IM]: /wiki/shared/flag/IM.gif "Isle of Man"
[flag_IN]: /wiki/shared/flag/IN.gif "India"
[flag_IQ]: /wiki/shared/flag/IQ.gif "Iraq"
[flag_IR]: /wiki/shared/flag/IR.gif "Iran, Islamic Republic of"
[flag_IS]: /wiki/shared/flag/IS.gif "Iceland"
[flag_IT]: /wiki/shared/flag/IT.gif "Italy"
[flag_JE]: /wiki/shared/flag/JE.gif "Jersey"
[flag_JM]: /wiki/shared/flag/JM.gif "Jamaica"
[flag_JO]: /wiki/shared/flag/JO.gif "Jordan"
[flag_JP]: /wiki/shared/flag/JP.gif "Japan"
[flag_KE]: /wiki/shared/flag/KE.gif "Kenya"
[flag_KG]: /wiki/shared/flag/KG.gif "Kyrgyzstan"
[flag_KH]: /wiki/shared/flag/KH.gif "Cambodia"
[flag_KI]: /wiki/shared/flag/KI.gif "Kiribati"
[flag_KM]: /wiki/shared/flag/KM.gif "Comoros"
[flag_KN]: /wiki/shared/flag/KN.gif "Saint Kitts and Nevis"
[flag_KP]: /wiki/shared/flag/KP.gif "Korea, Democratic People's Republic of"
[flag_KR]: /wiki/shared/flag/KR.gif "South Korea"
[flag_KW]: /wiki/shared/flag/KW.gif "Kuwait"
[flag_KY]: /wiki/shared/flag/KY.gif "Cayman Islands"
[flag_KZ]: /wiki/shared/flag/KZ.gif "Kazakhstan"
[flag_LA]: /wiki/shared/flag/LA.gif "Lao People's Democratic Republic"
[flag_LB]: /wiki/shared/flag/LB.gif "Lebanon"
[flag_LC]: /wiki/shared/flag/LC.gif "Saint Lucia"
[flag_LI]: /wiki/shared/flag/LI.gif "Liechtenstein"
[flag_LK]: /wiki/shared/flag/LK.gif "Sri Lanka"
[flag_LR]: /wiki/shared/flag/LR.gif "Liberia"
[flag_LS]: /wiki/shared/flag/LS.gif "Lesotho"
[flag_LT]: /wiki/shared/flag/LT.gif "Lithuania"
[flag_LU]: /wiki/shared/flag/LU.gif "Luxembourg"
[flag_LV]: /wiki/shared/flag/LV.gif "Latvia"
[flag_LY]: /wiki/shared/flag/LY.gif "Libya"
[flag_MA]: /wiki/shared/flag/MA.gif "Morocco"
[flag_MC]: /wiki/shared/flag/MC.gif "Monaco"
[flag_MD]: /wiki/shared/flag/MD.gif "Moldova"
[flag_ME]: /wiki/shared/flag/ME.gif "Montenegro"
[flag_MF]: /wiki/shared/flag/MF.gif "Saint Martin"
[flag_MG]: /wiki/shared/flag/MG.gif "Madagascar"
[flag_MH]: /wiki/shared/flag/MH.gif "Marshall Islands"
[flag_MK]: /wiki/shared/flag/MK.gif "North Macedonia"
[flag_ML]: /wiki/shared/flag/ML.gif "Mali"
[flag_MM]: /wiki/shared/flag/MM.gif "Myanmar"
[flag_MN]: /wiki/shared/flag/MN.gif "Mongolia"
[flag_MO]: /wiki/shared/flag/MO.gif "Macau"
[flag_MP]: /wiki/shared/flag/MP.gif "Northern Mariana Islands"
[flag_MQ]: /wiki/shared/flag/MQ.gif "Martinique"
[flag_MR]: /wiki/shared/flag/MR.gif "Mauritania"
[flag_MS]: /wiki/shared/flag/MS.gif "Montserrat"
[flag_MT]: /wiki/shared/flag/MT.gif "Malta"
[flag_MU]: /wiki/shared/flag/MU.gif "Mauritius"
[flag_MV]: /wiki/shared/flag/MV.gif "Maldives"
[flag_MW]: /wiki/shared/flag/MW.gif "Malawi"
[flag_MX]: /wiki/shared/flag/MX.gif "Mexico"
[flag_MY]: /wiki/shared/flag/MY.gif "Malaysia"
[flag_MZ]: /wiki/shared/flag/MZ.gif "Mozambique"
[flag_NA]: /wiki/shared/flag/NA.gif "Namibia"
[flag_NC]: /wiki/shared/flag/NC.gif "New Caledonia"
[flag_NE]: /wiki/shared/flag/NE.gif "Niger"
[flag_NF]: /wiki/shared/flag/NF.gif "Norfolk Island"
[flag_NG]: /wiki/shared/flag/NG.gif "Nigeria"
[flag_NI]: /wiki/shared/flag/NI.gif "Nicaragua"
[flag_NL]: /wiki/shared/flag/NL.gif "Netherlands"
[flag_NO]: /wiki/shared/flag/NO.gif "Norway"
[flag_NP]: /wiki/shared/flag/NP.gif "Nepal"
[flag_NR]: /wiki/shared/flag/NR.gif "Nauru"
[flag_NU]: /wiki/shared/flag/NU.gif "Niue"
[flag_NZ]: /wiki/shared/flag/NZ.gif "New Zealand"
[flag_OM]: /wiki/shared/flag/OM.gif "Oman"
[flag_PA]: /wiki/shared/flag/PA.gif "Panama"
[flag_PE]: /wiki/shared/flag/PE.gif "Peru"
[flag_PF]: /wiki/shared/flag/PF.gif "French Polynesia"
[flag_PG]: /wiki/shared/flag/PG.gif "Papua New Guinea"
[flag_PH]: /wiki/shared/flag/PH.gif "Philippines"
[flag_PK]: /wiki/shared/flag/PK.gif "Pakistan"
[flag_PL]: /wiki/shared/flag/PL.gif "Poland"
[flag_PM]: /wiki/shared/flag/PM.gif "Saint Pierre and Miquelon"
[flag_PN]: /wiki/shared/flag/PN.gif "Pitcairn"
[flag_PR]: /wiki/shared/flag/PR.gif "Puerto Rico"
[flag_PS]: /wiki/shared/flag/PS.gif "Palestinian Territory Occupied"
[flag_PT]: /wiki/shared/flag/PT.gif "Portugal"
[flag_PW]: /wiki/shared/flag/PW.gif "Palau"
[flag_PY]: /wiki/shared/flag/PY.gif "Paraguay"
[flag_QA]: /wiki/shared/flag/QA.gif "Qatar"
[flag_RE]: /wiki/shared/flag/RE.gif "Reunion"
[flag_RO]: /wiki/shared/flag/RO.gif "Romania"
[flag_RS]: /wiki/shared/flag/RS.gif "Serbia"
[flag_RU]: /wiki/shared/flag/RU.gif "Russian Federation"
[flag_RW]: /wiki/shared/flag/RW.gif "Rwanda"
[flag_SA]: /wiki/shared/flag/SA.gif "Saudi Arabia"
[flag_SB]: /wiki/shared/flag/SB.gif "Solomon Islands"
[flag_SC]: /wiki/shared/flag/SC.gif "Seychelles"
[flag_SD]: /wiki/shared/flag/SD.gif "Sudan"
[flag_SE]: /wiki/shared/flag/SE.gif "Sweden"
[flag_SG]: /wiki/shared/flag/SG.gif "Singapore"
[flag_SH]: /wiki/shared/flag/SH.gif "Saint Helena"
[flag_SI]: /wiki/shared/flag/SI.gif "Slovenia"
[flag_SJ]: /wiki/shared/flag/SJ.gif "Svalbard and Jan Mayen"
[flag_SK]: /wiki/shared/flag/SK.gif "Slovakia"
[flag_SL]: /wiki/shared/flag/SL.gif "Sierra Leone"
[flag_SM]: /wiki/shared/flag/SM.gif "San Marino"
[flag_SN]: /wiki/shared/flag/SN.gif "Senegal"
[flag_SO]: /wiki/shared/flag/SO.gif "Somalia"
[flag_SR]: /wiki/shared/flag/SR.gif "Suriname"
[flag_ST]: /wiki/shared/flag/ST.gif "Sao Tome and Principe"
[flag_SV]: /wiki/shared/flag/SV.gif "El Salvador"
[flag_SY]: /wiki/shared/flag/SY.gif "Syrian Arab Republic"
[flag_SZ]: /wiki/shared/flag/SZ.gif "Eswatini"
[flag_TC]: /wiki/shared/flag/TC.gif "Turks and Caicos Islands"
[flag_TD]: /wiki/shared/flag/TD.gif "Chad"
[flag_TG]: /wiki/shared/flag/TG.gif "Togo"
[flag_TH]: /wiki/shared/flag/TH.gif "Thailand"
[flag_TJ]: /wiki/shared/flag/TJ.gif "Tajikistan"
[flag_TL]: /wiki/shared/flag/TL.gif "Timor-Leste"
[flag_TM]: /wiki/shared/flag/TM.gif "Turkmenistan"
[flag_TN]: /wiki/shared/flag/TN.gif "Tunisia"
[flag_TO]: /wiki/shared/flag/TO.gif "Tonga"
[flag_TR]: /wiki/shared/flag/TR.gif "Turkey"
[flag_TT]: /wiki/shared/flag/TT.gif "Trinidad and Tobago"
[flag_TV]: /wiki/shared/flag/TV.gif "Tuvalu"
[flag_TW]: /wiki/shared/flag/TW.gif "Taiwan"
[flag_TZ]: /wiki/shared/flag/TZ.gif "Tanzania, United Republic of"
[flag_UA]: /wiki/shared/flag/UA.gif "Ukraine"
[flag_UG]: /wiki/shared/flag/UG.gif "Uganda"
[flag_US]: /wiki/shared/flag/US.gif "United States"
[flag_UY]: /wiki/shared/flag/UY.gif "Uruguay"
[flag_UZ]: /wiki/shared/flag/UZ.gif "Uzbekistan"
[flag_VA]: /wiki/shared/flag/VA.gif "Holy See (Vatican City State)"
[flag_VC]: /wiki/shared/flag/VC.gif "Saint Vincent and the Grenadines"
[flag_VE]: /wiki/shared/flag/VE.gif "Venezuela"
[flag_VG]: /wiki/shared/flag/VG.gif "Virgin Islands, British"
[flag_VI]: /wiki/shared/flag/VI.gif "Virgin Islands, U.S."
[flag_VN]: /wiki/shared/flag/VN.gif "Vietnam"
[flag_VU]: /wiki/shared/flag/VU.gif "Vanuatu"
[flag_WS]: /wiki/shared/flag/WS.gif "Samoa"
[flag_YE]: /wiki/shared/flag/YE.gif "Yemen"
[flag_YT]: /wiki/shared/flag/YT.gif "Mayotte"
[flag_ZA]: /wiki/shared/flag/ZA.gif "South Africa"
[flag_ZM]: /wiki/shared/flag/ZM.gif "Zambia"
[flag_ZW]: /wiki/shared/flag/ZW.gif "Zimbabwe"
Walavouchey commented 2 years ago

closing as this is found in meta/flag-references (and will soon be replaced by custom syntax anyway)