Template:Infobox country at games/doc: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m →‎Microformat: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
 
m 1 revision imported
 
(No difference)

Latest revision as of 19:16, 10 August 2020

This infobox template is for country articles about international sporting events.

Usage

Example Country at the
{{{year}}} {{{games}}}
{{{alt}}}
{{{flagcaption}}}
IOC codeEXA
({{{oldcode}}} used at these Games)
NOC{{{NOCname}}}
Website{{{website}}}
in {{{location}}}
{{{start_date}}} – {{{end_date}}}
Competitors{{{competitors}}} ({{{competitors_men}}} men and {{{competitors_women}}} women) in {{{sports}}} sports and {{{events}}} events
Flag bearer (opening){{{flagbearer}}}
Flag bearer (closing){{{flagbearer_close}}}
Medals
Ranked {{{rank}}}th
Gold
{{{gold}}}
Silver
{{{silver}}}
Bronze
{{{bronze}}}
Total
Officials{{{officials}}}
{{{games}}} appearances
Lua error in Module:Team_appearances_list at line 40: Parameter interval is not a number.
Summer appearances
{{{summerappearances}}}
Winter appearances
{{{winterappearances}}}
Youth appearances
{{{youthappearances}}}
Other related appearances
{{{seealso}}}
← {{{previous}}}
{{{next}}} →
{{{country}}} at the
{{country data {{{country}}}|getalias/core|name=flag|variant=}}
Medals
Gold
0
Silver
0
Bronze
0
Total
0

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

Estonia at the
2011 Winter European Youth Olympic Festival
IOC codeEST
NOCEstonian Olympic Committee
in Liberec, Czech Republic
11 February 2011 (2011-02-11) – 18 February 2011 (2011-02-18)
Competitors19 in 6 sports
Medals
Gold
0
Silver
0
Bronze
0
Total
0
{{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

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.