Template:Infobox basketball tournament at games/doc

From IxWiki
Revision as of 13:11, 25 April 2020 by >Vanisaac (→‎Microformat: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{type}}} Basketball Tournament
{{{city}}} {{{year}}}
[[File:{{{logo}}}|{{{size}}}]]
Tournament details
Games{{{games}}}
Host nation[[{{{host}}}]]
City[[{{{city}}}]]
Venue{{{venue}}}
Duration{{{dates}}}
Men's tournament
Teams{{{men_teams}}}
Medals
1 Gold medalists {{country data {{{men_gold}}}

| flaglink/core | variant = | size = | name = | altlink = men's national basketball team | altvar = basketball | mw = men's

}}
Women's tournament
Teams{{{women_teams}}}
Medals
1 Gold medalists {{country data {{{women_gold}}}

| flaglink/core | variant = | size = | name = | altlink = women's national basketball team | altvar = basketball | mw = women's

}}
Official website
website.com
Tournaments
← {{{prev}}}  {{{next}}} →
{{Infobox basketball tournament at games
| type         = <!-- Olympics, Pan American Games, European Games, Asian Games, SEA Games -->
| city         = <!-- hosting city, UNLINKED -->
| year         =
| logo         = <!-- link to image (Image.ext) Note that this should not be the general Olympics logo. -->
| size         = <!-- custom image size (150px) -->
| games        = <!-- link to Olympics Games -->
| host         = <!-- full name of host nation, UNLINKED -->
| venue        = <!-- name of venue where tournament was held -->
| dates        = <!-- {{Start date|YYYY|MM|DD}}–<br />{{End date|YYYY|MM|DD}} -->
| men_teams    = <!-- number of men's teams participating in the tournament -->
| men_gold     = <!-- men's gold winning nation, UNLINKED -->
| men_silver   = <!-- men's silver winning nation, UNLINKED -->
| men_bronze   = <!-- men's bronze winning nation, UNLINKED -->
| women_teams  = <!-- number of women's teams participating in the tournament -->
| women_gold   = <!-- women's gold winning nation, UNLINKED -->
| women_silver = <!-- women's silver winning nation, UNLINKED -->
| women_bronze = <!-- women's bronze winning nation, UNLINKED -->
| website      = <!-- website URL (OPTIONAL) -->
| prev         =
| next         = 
}}

Example

Basketball at the 2004 Summer Olympics

16th Olympic Basketball Tournament
Athens 2004
Tournament details
Olympics2004 Summer Olympics
Host nationGreece
CityAthens
VenueHellinikon Olympic Complex
Athens Olympic Sports Complex
Duration15 August 2004 (2004-08-15)
28 August 2004 (2004-08-28)
Men's tournament
Teams12
Medals
1 Gold medalists  Argentina
2 Silver medalists Italy
3 Bronze medalists  United States
Women's tournament
Teams12
Medals
1 Gold medalists  United States
2 Silver medalists Australia
3 Bronze medalists  Russia
Official website
www.athens2004.com/athens2004/page/legacy?lang=en&channel=Basketball
Tournaments
← Sydney 2000  Beijing 2008 →
{{Infobox basketball tournament at games
| type = Olympics
| city = Athens
| year = 2004
| logo = 
| size = 150
| games = [[2004 Summer Olympics]]
| host = Greece
| venue = [[Hellinikon Olympic Complex]]<br />[[Athens Olympic Sports Complex]]
| dates = {{Start date|2004|08|15|df=y}}–<br />{{End date|2004|08|28|df=y}}
| men_teams = 12
| men_gold = Argentina
| men_silver = Italy
| men_bronze = United States
| women_teams = 12
| women_gold = United States
| women_silver = Australia
| women_bronze = Russia
| website = www.athens2004.com/athens2004/page/legacy?lang=en&channel=Basketball
| prev = [[Basketball at the 2000 Summer Olympics|Sydney 2000]]
| next = [[Basketball at the 2008 Summer Olympics|Beijing 2008]]
}}

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.