Comments (2)
Regarding the scope, I would limit ourselves to "both flags exist and are commonly used".
To decide this, perhaps we could compare multiple sources like Larousse, Britannica, etc. (cf. #111) and include both flags when at least one source differs?
I would argue that we should also specify that the civil and state flags must differ significantly (e.g. at least one "major" difference). This will avoid including Belgium or trying to figure out if one of the sources uses the civil or state flag, which is not always obvious when only the size or colour differs.
Adding this to the extended deck is not a bad idea. This is quite niche after all. Moreover, extended deck users most likely use CrowdAnki already and won't be as scared of seeing the note model merger pop-up, which would make adding one or two new fields less of a con.
Do you think we could find a way to add a single field with only the alternative flag? Could the template somehow infer the text to display (civil/state) from the filename of the alternative flag?
from ultimate-geography.
To decide this, perhaps we could compare multiple sources like Larousse, Britannica, etc. (cf. https://github.com/anki-geo/ultimate-geography/issues/111) and include both flags when at least one source differs?
That should work! Britannica, Larousse and the two Wikipedia articles should hopefully be sufficient. (Having more allows us to be less affected by edit wars on Wikipedia — what do we do when Wikipedia is the outlier (say the only one with the civil flag) and flips (say to displaying the state flag)? — but is also more tedious to implement.) (If we go "wide" in sources, maybe we could also use FOTW as one?)
Do you think we could find a way to add a single field with only the alternative flag? Could the template somehow infer the text to display (civil/state) from the filename of the alternative flag?
That's a brilliant idea! :) It should be doable with pure CSS (with a combination of img[src*="-civil"]
and ::before
or with invisible elements made visible with sibling combinators ~
). The disadvantage is that the text wouldn't be translated (but then "Flag similar to" is also currently not translated).
from ultimate-geography.
Related Issues (20)
- Importing Spanish (or Chinese) deck over English deck changes the deck description
- Free AnkiHub account HOT 2
- Kazakhstan capital name is back to Astana HOT 4
- How do I get pronunciation on the ultimate geography deck? HOT 5
- Typo in Dutch name for "Wallis and Futuna"
- Typo in Dutch card for Bermuda HOT 1
- Consider blurring flag of Dominican Republic HOT 3
- Add Latin translation HOT 3
- Missing capitals for territories HOT 4
- Yemen Flag vs Monaco Flag HOT 3
- "The front of this card is blank" on some cards after updating HOT 4
- Where are the maps stored? HOT 1
- Consider adding info about recent Afghanistan flag change HOT 5
- [SV] Formal name for United Kingdom HOT 9
- Adding autonomous territories HOT 8
- Structure for expansion of "Ultimate Geography" HOT 2
- An opportunity to address a gap in Anki decks: mountain ranges HOT 5
- Kazakhstan Capital Name Changed Back to Astana HOT 1
- Remove Republic of Artsakh HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ultimate-geography.