User:Dantheox/flags.rb


 * 1) For details on a flag, use
 * 2) Template:country data ABC

class Flags def Flags.flagicon(nation, year) if nation=="HOL" return "" elsif nation=="APA" return "" elsif nation=="AUT" && year <= 1918 return"🇦🇹" elsif nation=="BIH" && year <= 1998 return"🇧🇦" elsif nation=="BUL" && year <= 1971 return "🇧🇬" elsif nation=="BUL" && year <= 1990 return "🇧🇬" elsif nation=="CAN" && year <= 1920 return "🇨🇦" elsif nation=="CAN" && year <= 1964 return "🇨🇦" elsif nation=="CHN" && year <= 1949 return "" elsif nation=="EGY" && year < 1922 return "🇪🇬" elsif nation=="EGY" && year <= 1952 return "🇪🇬" elsif nation=="EGY" && year <= 1972 return "🇪🇬" elsif nation=="ESP" && year < 1931 return "🇪🇸" elsif nation=="ESP" && year < 1939 return "🇪🇸" elsif nation=="ESP" && year < 1977 return "🇪🇸" elsif nation=="ESP" && year < 1981 return "🇪🇸" elsif nation=="GEO" && year <= 2004 return "" elsif nation=="GER" && year <= 1918 return "🇩🇪" elsif nation=="GER" && year <= 1934 return "🇩🇪" elsif nation=="GER" && year <= 1945 return "🇩🇪" elsif nation=="GRE" && year <= 1969 return "" elsif nation=="HKG" && year <= 1997 return "🇭🇰" elsif nation=="HUN" && year < 1940 return "🇭🇺" elsif nation=="HUN" && year <= 1945 return "🇭🇺" elsif nation=="HUN" && year <= 1956 return "🇭🇺" elsif nation=="IND" && year <= 1946 return "🇮🇳" elsif nation=="IRI" && year <= 1963 return "" elsif nation=="IRI" && year <= 1979 return "" elsif nation=="IRQ" && year < 1959 return "🇮🇶" elsif nation=="IRQ" && year < 1963 return "🇮🇶" elsif nation=="IRQ" && year < 1991 return "🇮🇶" elsif nation=="IRQ" && year < 2003 return "🇮🇶" elsif nation=="ITA" && year <= 1946 return "🇮🇹" elsif nation=="MAS" && year < 1948 return "" elsif nation=="MAS" && year <= 1963 return "" elsif nation=="MEX" && year <= 1933 return "🇲🇽" elsif nation=="MEX" && year <= 1968 return "🇲🇽" elsif nation=="RHO" && year <= 1967 return"" elsif nation=="ROM" && year <= 1947 return "" elsif nation=="ROM" && year <= 1989 return "" elsif nation=="RSA" && year <= 1927 return "" elsif nation=="RSA" && year <= 1994 return "" elsif nation=="SRI" && year <= 1971 return"" elsif nation=="VIE" && year <= 1974 return"" elsif nation=="YUG" && year <= 1941 return"" elsif nation=="YUG" && year <= 2002 return"" end return "" end end