Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Country alias/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Module rating |r}} {{high-risk|40847}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> This module implements {{t|country alias}} and the {{t|flagIOC2}} family of templates. Check there for usage documentation. {{#invoke:convert/tester|compare|Country alias|Country alias/data}} == Usage == ===Template:Country alias=== This module is used by {{t|country alias}} 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). <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|main|''alias=''|''flag=''|''games=''|''year=''}}</code> ===Template:FlagIOC=== This module is used by {{t|flagIOC}} to return a formatted country flag, country name, and the number of athletes present (optional) at a given edition of the [[Olympic Games]]. <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|flagIOC|''alias=''|''flag=''|''games=''|''year=''|''athletes=''}}</code> ===Template:FlagIOC2 and variants=== This module is used by the {{t|flagIOC2}} [[Template:Flag templates|family of templates]] (except flagIOC, described above) to return various formatted combinations of country flag, country name, the number of athletes present and/or names of athletes present at a given Games. <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|flagXYZ|''alias=''|''flag=''|''games=''|''year=''|''athletes=''|''type=''}}</code> <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:High-risk
(
edit
)
Template:Module rating
(
edit
)
Template:T
(
edit
)
Module:Convert/tester
(
edit
)
Module:Country alias
(
edit
)
Module:Country alias/data
(
edit
)
Module:Country alias/data/sandbox
(
edit
)
Module:Country alias/sandbox
(
edit
)