Wikipedia talk:Graphics Lab/Map workshop: Difference between revisions

Content deleted Content added
Line 259:
 
:For this request to stand a good chance of being taken by someone, you'll have to provide more details, i.e., do the legwork. [[User:M.Bitton|M.Bitton]] ([[User talk:M.Bitton|talk]]) 13:12, 22 April 2024 (UTC)
:I don't know about the Graph or Chart Extension, but actually you can get a map similar to the one for MSCI World by deriving it from [[:File:BlankMap-World.svg|BlankMap-World.svg]] by adding a few lines of CSS to its source.
:On its talk page there is a section about [https://commons.wikimedia.org/wiki/File_talk:BlankMap-World.svg/Documentation#Selecting_and_colouring_countries coloring countries] and you can for instance modify the svg file in a text editor (the talk page also mentions inkscape as another method for modification). If you have basic knowledge of CSS this should be relatively straight-forward after researching the country codes and deciding how to handle small countries (more info on small countries (<code>.circlexx</code>) found in the file itself and again on the talk page).
:I guess you'd like to add something like
:<code>
:/* MSCI World: 23 developed market countries: Australia (au), Austria (at), Belgium (be), Canada (ca), Denmark (dk), Finland (fi), France (fr), Germany (de), Hong Kong (hk), Ireland (ie), Israel (il), Italy (it), Japan (jp), Netherlands (nl), New Zealand (nz), Norway (no), Portugal (pt), Singapore (sg), Spain (es), Sweden (se), Switzerland (ch), the UK (gb) and the US (us). */
:/* FTSE All World (all 23 of MSCI World are included here too, plus 25 new): Australia, Austria, Belgium, Brazil (br), Canada, Chile (cl), China (cn), Colombia (co), Czech Rep. (cz), Denmark, Egypt (eg), Finland, France, Germany, Greece (gr), Hong Kong, Hungary (hu), Iceland (is), India (in), Indonesia (id), Ireland, Israel, Italy, Japan, Korea (kr), Kuwait (kw), Malaysia (my), Mexico (mx), Netherlands, New Zealand, Norway, Phillipines (ph), Poland (pl), Portugal, Qatar (qa), Romania (ro), Saudi Arabia (sa), Singapore, South Africa (za), Spain, Sweden, Switzerland, Taiwan (tw), Thailand (th), Turkiye (tr), UAE (ae), UK, USA */
:.au, .at, .be, .ca, .dk, .fi, .fr, .de, .hk, .ie, .il, .it, .jp, .nl, .nz, .no, .pt, .sg, .es, .se, .ch, .gb, .us, .br, .cl, .cn, .co, .cz, .eg, .gr, .hu, .is, .in, .id, .kr, .kw, .my, .mx, .ph, .pl, .qa, .ro, .sa, .za, .tw, .th, .tr, .ae
:{
: opacity: 1;
: fill: #045A8D; /* choose your own color here */
:}
:</code>
:The above list of countries for FTSE All world is taken from the Fact Sheet with Data as 31 July 2025, so it might not match the exact list of countries you had in mind (Pakistan?).
:While writing this I realize I might create the SVG myself soon (and upload it to Wikimedia and include it in the English and German Wikipedia articles on FTSE All-World). I keep this text here nonetheless hoping it is somewhat helpful for not just my future-me but also others. [[User:PlusMinuscule|PlusMinuscule]] ([[User talk:PlusMinuscule|talk]]) 23:58, 7 August 2025 (UTC)
 
::Thanks for the input. The map template is shown on the right.