Difference between revisions of "Template:Infobox country at games/doc"
Jump to navigation
Jump to search
imported>Zyxw m (add links) |
imported>Primefac (+) |
||
| (22 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| − | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Team appearances list}} | + | {{High-use|11521}} |
| + | {{Lua|Module:Country alias|Module:Infobox|Module:InfoboxImage|Module:Team appearances list|Module:Check for unknown parameters}} | ||
| + | {{Auto short description}} | ||
This infobox template is for country articles about international sporting events. | This infobox template is for country articles about international sporting events. | ||
== Usage == | == Usage == | ||
| − | {{Parameter names example | NOC | NOCname | NPCname | fedname | | + | {{Parameter names example | NOC=EXA | games | games_link | year | flag | flagcaption | alt | oldcode | NOCname | NPCname | NFname | fedname | website | location | start_date | end_date | date | competitors | competitors_men | competitors_women | sports | events | flagbearer | flagbearer_open | flagbearer_close | rank | gold | silver | bronze | officials | appearances | app_begin_year | app_interval | summerappearances | winterappearances | youthappearances | seealso | previous | next }} |
{{Parameter names example | country }} | {{Parameter names example | country }} | ||
| Line 13: | Line 15: | ||
<pre style="overflow:auto; white-space:pre;"> | <pre style="overflow:auto; white-space:pre;"> | ||
{{Infobox country at games | {{Infobox country at games | ||
| − | |||
| − | |||
| NOC = | | NOC = | ||
| + | | NPC = | ||
| IAAF = | | IAAF = | ||
| − | | | + | | CGA = |
| + | | NF = | ||
| + | | country = | ||
| year = | | year = | ||
| games = | | games = | ||
| + | | games_link = | ||
| + | | flag = | ||
| + | | flagcaption = | ||
| + | | alt = | ||
| + | | oldcode = | ||
| NOCname = | | NOCname = | ||
| NPCname = | | NPCname = | ||
| − | | | + | | CGAname = |
| + | | NFname = | ||
| fedname = | | fedname = | ||
| website = | | website = | ||
| Line 35: | Line 44: | ||
| events = | | events = | ||
| flagbearer = | | flagbearer = | ||
| + | | flagbearer_open = | ||
| + | | flagbearer_close = | ||
| rank = | | rank = | ||
| gold = | | gold = | ||
| Line 55: | Line 66: | ||
== Parameters == | == Parameters == | ||
; NOC : IOC country code | ; NOC : IOC country code | ||
| + | ; NPC : IOC country code (for Paralympic articles) | ||
| + | ; CGF : CGF country code | ||
| + | ; IAAF : IAAF country code | ||
| + | ; NF : FINA country code | ||
| + | ; FIE : FIE country code | ||
; NOCname : Name of country's Olympic Committee | ; NOCname : Name of country's Olympic Committee | ||
| + | ; NPCname : Name of country's Paralympic Committee | ||
| + | ; CGAname : Name of country's Commonwealth Games Federation | ||
| + | ; fedname : Name the country's sports governing body | ||
; year : YYYY | ; year : YYYY | ||
; start_date : Use {{tl|Start date|YYYY|MM|DD|df:y}} | ; start_date : Use {{tl|Start date|YYYY|MM|DD|df:y}} | ||
; end_date : Use {{tl|End date|YYYY|MM|DD|df:y}} | ; end_date : Use {{tl|End date|YYYY|MM|DD|df:y}} | ||
| + | ; flag: | ||
; games : | ; games : | ||
; games_link : Do not wikilink | ; games_link : Do not wikilink | ||
; location : Wikilink | ; location : Wikilink | ||
| − | ; flagbearer : | + | ; flagbearer : Flagbearer(s) for the opening ceremony |
| − | ; | + | ; flagbearer_close : Flagbearer(s) for the closing ceremony. If not used, the "(opening)" will not be displayed for the {{para|flagbearer}} label |
| − | |||
; competitors : | ; competitors : | ||
; competitors_men : | ; competitors_men : | ||
; competitors_women : | ; competitors_women : | ||
| − | ; | + | ; sports : |
| + | ; events : | ||
; gold : | ; gold : | ||
; silver : | ; silver : | ||
; bronze : | ; bronze : | ||
; rank : | ; rank : | ||
| − | ; appearances : A {{tl|flatlist}} of appearances at the games; if set to <code>auto</code>, the list is automatically generated | + | ; officials : |
| + | ; appearances : A {{tl|flatlist}} of appearances at the games; if set to <code>auto</code>, the list is automatically generated; {{tl|Team appearances list}} can be used | ||
; app_begin_year : Year when the country first competed at the games, e.g. "1981"; optional | ; app_begin_year : Year when the country first competed at the games, e.g. "1981"; optional | ||
; app_interval : Year interval between games, e.g. "4" if quadrennial; optional | ; app_interval : Year interval between games, e.g. "4" if quadrennial; optional | ||
| Line 92: | Line 113: | ||
| location = [[Liberec, Czech Republic]] | | location = [[Liberec, Czech Republic]] | ||
| flagbearer = | | flagbearer = | ||
| + | | competitors = 19 | ||
| sports = 6 | | sports = 6 | ||
| − | |||
| officials = | | officials = | ||
| gold = 0 | | gold = 0 | ||
| Line 113: | Line 134: | ||
| location = [[Liberec, Czech Republic]] | | location = [[Liberec, Czech Republic]] | ||
| flagbearer = | | flagbearer = | ||
| + | | competitors = 19 | ||
| sports = 6 | | sports = 6 | ||
| − | |||
| officials = | | officials = | ||
| gold = 0 | | gold = 0 | ||
| Line 124: | Line 145: | ||
</pre> | </pre> | ||
{{clear}} | {{clear}} | ||
| + | |||
| + | ==Tracking categories== | ||
| + | *{{clc|Pages using infobox country at games with unknown parameters}} | ||
| + | *{{clc|Pages using infobox country at games with no automatic appearances}} | ||
| + | *{{clc|Pages using infobox country at games with no appearances}} | ||
| + | *{{clc|Pages using infobox country at games with manual interval}} | ||
| + | *{{clc|Pages using infobox country at games with multiple omissions}} | ||
== Microformat == | == Microformat == | ||
{{UF-hcal}} | {{UF-hcal}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:Country infobox templates|Games]] | [[Category:Country infobox templates|Games]] | ||
[[Category:Multi-sport events infobox templates|Country At Games]] | [[Category:Multi-sport events infobox templates|Country At Games]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 15:16, 21 January 2021
| This is a documentation subpage for Template:Infobox country at games. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
| This template adds an automatically generated short description. |
This infobox template is for country articles about international sporting events.
Usage
Template:Parameter names example
Template:Parameter names example
Blank
{{Infobox country at games
| NOC =
| NPC =
| IAAF =
| CGA =
| NF =
| country =
| year =
| games =
| games_link =
| flag =
| flagcaption =
| alt =
| oldcode =
| NOCname =
| NPCname =
| CGAname =
| NFname =
| fedname =
| website =
| location =
| start_date = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| end_date = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| date =
| competitors =
| competitors_men =
| competitors_women =
| sports =
| events =
| flagbearer =
| flagbearer_open =
| flagbearer_close =
| rank =
| gold =
| silver =
| bronze =
| officials =
| appearances =
| app_begin_year =
| app_interval =
| summerappearances =
| winterappearances =
| youthappearances =
| seealso =
| previous =
| next =
}}
Parameters
- NOC
- IOC country code
- NPC
- IOC country code (for Paralympic articles)
- CGF
- CGF country code
- IAAF
- IAAF country code
- NF
- FINA country code
- FIE
- FIE country code
- NOCname
- Name of country's Olympic Committee
- NPCname
- Name of country's Paralympic Committee
- CGAname
- Name of country's Commonwealth Games Federation
- fedname
- Name the country's sports governing body
- year
- YYYY
- start_date
- Use {{Start date}}
- end_date
- Use {{End date}}
- flag
- games
- games_link
- Do not wikilink
- location
- Wikilink
- flagbearer
- Flagbearer(s) for the opening ceremony
- flagbearer_close
- Flagbearer(s) for the closing ceremony. If not used, the "(opening)" will not be displayed for the
|flagbearer=label - competitors
- competitors_men
- competitors_women
- sports
- events
- gold
- silver
- bronze
- rank
- officials
- appearances
- A {{flatlist}} of appearances at the games; if set to
auto, the list is automatically generated; {{Team appearances list}} can be used - app_begin_year
- Year when the country first competed at the games, e.g. "1981"; optional
- app_interval
- Year interval between games, e.g. "4" if quadrennial; optional
- seealso
- previous
- next
- website
- website link
Example
[[Category:Template:Pagetype with short description]]
| Lua error in Module:Country_alias at line 148: Invalid country alias: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-0">Script error: No such module "If empty".</span></strong>. at the 2011 Winter European Youth Olympic Festival | |
|---|---|
| Lua error in Module:Country_alias at line 148: Invalid country alias: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-2">Script error: No such module "If empty".</span></strong>. | |
| IOC code | Script error: No such module "If empty". |
| NOC | Script error: No such module "If empty". |
| in Liberec, Czech Republic 11 February 2011 – 18 February 2011 | |
| Competitors | 19 in 6 sports |
| Flag bearer | Script error: No such module "If empty". |
| Medals |
|
{{Infobox country at games
| NOC = EST
| NOCname = [[Estonian Olympic Committee]]
| year = 2011
| start_date = {{Start date|2011|02|11|df=y}}
| end_date = {{End date|2011|02|18|df=y}}
| games = Winter European Youth Olympic Festival
| games_link = 2011 European Youth Winter Olympic Festival
| location = [[Liberec, Czech Republic]]
| flagbearer =
| competitors = 19
| sports = 6
| officials =
| gold = 0
| silver = 0
| bronze = 0
| rank =
| appearances =
}}
Tracking categories
- Category:Pages using infobox country at games with unknown parameters (0)
- Category:Pages using infobox country at games with no automatic appearances (0)
- Category:Pages using infobox country at games with no appearances (0)
- Category:Pages using infobox country at games with manual interval (0)
- Category:Pages using infobox country at games with multiple omissions (0)
Microformat