Difference between revisions of "Template:Infobox games"
imported>Games of the world m |
imported>Games of the world m |
||
| Line 50: | Line 50: | ||
| label13= Dates | | label13= Dates | ||
| − | | data13= {{#invoke:Wikidata|getValue|P580|{{{dates|FETCH_WIKIDATA}}} | + | | data13= {{#invoke:Wikidata|getValue|P580|{{{dates|FETCH_WIKIDATA}}} — {{#invoke:Wikidata|getValue|P582|{{{dates|FETCH_WIKIDATA}}}}} <noinclude><!-- Deprecated legacy parameters --></noinclude> |
| label14= Officially opened by | | label14= Officially opened by | ||
Revision as of 09:00, 12 February 2019
{{infobox | bodyclass = vevent
| title = | titleclass = summary
| image= | caption=
| label1 = Host city | data1 = Script error: No such module "Wikidata". | class1 = location
| label2 = Country | data2 = Script error: No such module "Wikidata".
| label3 = Motto | data3 =
| label4 = Nations participating | data4 = Script error: No such module "If empty".
| label5 = Teams participating | data5 = Script error: No such module "If empty".
| label6 = Debuting countries | data6 =
| label7 = Athletes participating | data7 = Script error: No such module "If empty".
| label8 = Sports | data8 = Script error: No such module "If empty".
| label9 = Events | data9= Script error: No such module "If empty".
| label10= Opening city | class10 = location | data10 = Script error: No such module "If empty".
| label11= Opening ceremony | data11=
| label12= Closing ceremony | data12=
| label13= Dates
| data13= Script error: No such module "Wikidata".
| File:Lua-Logo.svg | This template uses Lua: |
Usage
{{infobox | bodyclass = vevent
| title = {{{name}}} | titleclass = summary
| image= [[File:{{{logo}}}|{{{size}}}]] | caption= {{{caption}}}
| label1 = Host city | data1 = Script error: No such module "Wikidata". | class1 = location
| label2 = Country | data2 = Script error: No such module "Wikidata".
| label3 = Motto | data3 = {{{motto}}}
| label4 = Nations participating | data4 = Script error: No such module "If empty".
| label5 = Teams participating | data5 = Script error: No such module "If empty".
| label6 = Debuting countries | data6 = {{{debuting countries}}}
| label7 = Athletes participating | data7 = Script error: No such module "If empty".
| label8 = Sports | data8 = Script error: No such module "If empty".
| label9 = Events | data9= Script error: No such module "If empty".
| label10= Opening city | class10 = location | data10 = Script error: No such module "If empty".
| label11= Opening ceremony | data11= {{{opening ceremony}}}
| label12= Closing ceremony | data12= {{{closing ceremony}}}
| label13= Dates | data13= Script error: No such module "Wikidata".
{{Infobox games
| name =
| logo =
| size =
| caption =
| host city =
| country =
| motto =
| organizer = <!-- or: | organiser = -->
| edition =
| nations participating =
| teams participating =
| debuting countries =
| athletes participating =
| sports =
| events =
| dates =
| opening ceremony = <!-- {{Start date|YYYY|MM|DD}} -->
| closing ceremony = <!-- {{End date|YYYY|MM|DD}} -->
| officially opened by =
| athlete's oath =
| judge's oath =
| torch lighter =
| Paralympic torch =
| Queen's Baton = <!-- for Commonwealth Games only -->
| stadium =
| Paralympic stadium =
| length =
| indprize =
| tmprize =
| website = <!-- {{URL|example.com}} -->
| previous =
| next =
| SpreviousS =
| SnextS =
| Sprevious =
| Snext =
}}
Parameters
- name = Name of the games
- logo = Internal URL to image file
- size = Custom size for the provided logo
- caption = For a brief description of the provided logo
- host city = Name of host city
- country = Name of host country
- motto = Motto/Slogan of the games
- organizer/organiser = Body responsible for organising the games
- edition = Number within the series (e.g. 16th, XVI)
- nations participating = Total number of participating nations
- teams participating = Total number of participating teams
- debuting countries = Countries debuting at the games
- athletes participating = Total number of participating athletes
- events = Number of events
- opening ceremony = Date of opening ceremony. Use {{Start date}}.
- closing ceremony = Date of closing ceremony. Use {{End date}}.
- officially opened by = Name of person who officially opened the Games
- athlete's oath = Name of athlete who swore the athletes' oath
- judge's oath = Name of judge/official who swore the oath
- torch lighter = Name of last torch bearer
- Paralympic torch = Name of last paralympic torch bearer, if different
- stadium = Name of the main stadium
- Paralympic stadium = Name of the paralympic stadium, if different
- length = Race length
- indprize = Individual Prize Money (US$)
- tmprize = Team Prize Money (US$)
- Sprevious = Summer articles only: The previous Paralympic Winter Games
- Snext = Summer articles only: The next Paralympic Winter Games
- SpreviousS = Summer articles only: The previous Paralympic Summer Games
- SnextS = Summer articles only: The next Paralympic Summer Games
- Wprevious = Winter articles only: The previous Paralympic Winter Games
- Wnext = Winter articles only: The next Paralympic Winter Games
- WpreviousS = Winter articles only: The previous Paralympic Summer Games
- WnextS = Winter articles only: The next Paralympic Summer Games
- previous = For events with no Summer/Winter: The previous Games
- next = For events with no Summer/Winter: The next Games
- website = Website; use {{URL}}
Microformat
Tracking category
See also
| The above documentation is transcluded from Template:Infobox games/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |