Content deleted Content added
→Country code conflict: parameter or fake id |
→Merged: have replaced the module! |
||
Line 89:
How does games works with this? If games does not match "Summer Olympics", use above procedure. Otherwise, use above procedure except, use the specified exception flag if the year matches one of the exceptions?
<pre>
INPUT OUTPUT
{{#invoke:Country alias|_main|flag=yes|year=...}} (as above)
{{#invoke:Country alias|_main|flag=yes|games=Winter Olympics|year=...}} (as above)
{{#invoke:Country alias|_main|flag=yes|games=Summer Olympics|year=1948}} SO1948.svg
Line 103:
Is that what is wanted? I cannot do anything until I understand this, and it makes sense. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 22:40, 8 December 2016 (UTC)
:That's pretty much bang on! The loss of the 3000 is nice, too. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 22:47, 8 December 2016 (UTC)
=== Merged ===
@[[User:Primefac|Primefac]]: I wrote a script to merge the data and format it as discussed. I don't have time to do more at the moment so I have replaced the module with the new data. I'll add the code to make it work later. Please check the TODO in the comment at the top, and do any other sanity checks you can. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 05:11, 9 December 2016 (UTC)
== Country code conflict ==
|