Difference between revisions of "Module:Country alias/doc"
Jump to navigation
Jump to search
blackwiki>Christian75 ({{high-risk|40847}}) |
blackwiki>Johnuniq (add links for /data) |
||
| Line 3: | Line 3: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
This module implements {{t|country alias}}. Check there for usage documentation. | This module implements {{t|country alias}}. Check there for usage documentation. | ||
| + | |||
| + | {{#invoke:convert/tester|compare|Country alias|Country alias/data}} | ||
== Usage == | == Usage == | ||
Revision as of 06:45, 4 February 2019
| This module is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
| This Lua module is used on approximately 45,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
This module implements Template:T. Check there for usage documentation.
- Module:Country alias • Module:Country alias/sandbox • different (diff)
- Module:Country alias/data • Module:Country alias/data/sandbox • different (diff)
Usage
This module is used by Template:T to return either the country name or the country's flag, based on a combination of the three-letter country code (required), the year (optional), and the competition being played (optional).
{{#invoke:Country alias|main|alias=|flag=|games=|year=}}