User:Jnestorius/Template:IOC medals

zzz Todo

 * 1) See Template:IOC medals
 * 2) https://www.olympic.org/olympic-results search page
 * 3) * requires Sport plus either Games or Event
 * 4) * has no Country parameter
 * 5) Sports
 * 6) *Sports values not included:
 * 7) **equestrian [as distinct from equestrian-dressage equestrian-eventing equestrian-jumping equestrian-vaulting]
 * 8) **marathon-swimming [as distinct from swimming]
 * 9) **military-patrol [as distinct from biathlon]
 * 10) **wrestling [as distinct from wrestling-freestyle wrestling-greco-roman]
 * 11) Countries
 * 12) * now uses names instead of NOC TLAs as per https://www.olympic.org/national-olympic-committees e.g. https://www.olympic.org/germany
 * 13) ** Country alias or Module:Country alias gets most
 * 14) *** but not longwindeds e.g. https://www.olympic.org/brunei-darussalam https://www.olympic.org/islamic-republic-of-iran
 * 15) *** Also obsoletes e.g. unified-team-ex-ussr-in-1992
 * 16) * no HTML results page, only JSON from AJAX to sessionid URLs e.g. https://www.olympic.org/ajaxscript/loadmoretablelist/country/games/{3885D025-DD56-46DF-A0B2-DA8CDED8E56C}/5/5
 * 17) * For 2018 e.g. https://www.olympic.org/pyeongchang-2018/results/en/general/noc-entries-ghana.htm but not general e.g. 404 for https://www.olympic.org/garmisch-partenkirchen-1936/results/en/general/noc-entries-france.htm
 * 18) Summary: could work sort-of;
 * 19) * URL format: do any of the following have an anchor for the medals/results section?
 * 20) **NOC → https://www.olympic.org/NOC_decoded
 * 21) **games+sport → https://www.olympic.org/games_encoded/sport_encoded
 * 22) **games alone → https://www.olympic.org/games_encoded/
 * 23) **sport alone → https://www.olympic.org/sport_encoded/