Difference between revisions of "Template:Infobox games"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Games of the world (revert date change as causing bad formatting issues) |
imported>Colonies Chris (avoid template redirect) |
||
| Line 21: | Line 21: | ||
| data4 = {{#if:{{{Provinces and Territories participating|}}} | | data4 = {{#if:{{{Provinces and Territories participating|}}} | ||
| {{{Provinces and Territories participating}}} | | {{{Provinces and Territories participating}}} | ||
| − | | {{ | + | | {{if empty | {{{nations participating|}}} | {{{Nations participating|}}} | {{{Nations|}}} }} |
}} | }} | ||
| label5 = Teams participating | | label5 = Teams participating | ||
| − | | data5 = {{ | + | | data5 = {{if empty | {{{teams participating|}}} | {{{Teams participating|}}} }} |
| label6 = Debuting countries | | label6 = Debuting countries | ||
| Line 31: | Line 31: | ||
| label7 = Athletes participating<noinclude><!-- 'Athletes' = deprecated legacy parameter --></noinclude> | | label7 = Athletes participating<noinclude><!-- 'Athletes' = deprecated legacy parameter --></noinclude> | ||
| − | | data7 = {{ | + | | data7 = {{if empty | {{{athletes participating|}}} | {{{Athletes participating|}}} | {{{Athletes|}}} }} |
| label8 = Sports | | label8 = Sports | ||
| − | | data8 = {{ | + | | data8 = {{if empty | {{{sports|}}} | {{{Sports|}}} }} |
| label9 = Events | | label9 = Events | ||
| − | | data9= {{ | + | | data9= {{if empty | {{{events|}}} | {{{Events|}}} }} |
| label10= Opening city | | label10= Opening city | ||
| class10 = location | | class10 = location | ||
| − | | data10 = {{ | + | | data10 = {{if empty | {{{opening city|}}} | {{{Opening city|}}} }} |
| label11= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|Opening ceremony]]|Opening ceremony}}<noinclude><!-- Programming note: the {{#if:{{{1|}}}|{{{1}}}}} is not the same as {{{1}}}, since the former strips whitespace and newlines and is more robust --></noinclude> | | label11= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|Opening ceremony]]|Opening ceremony}}<noinclude><!-- Programming note: the {{#if:{{{1|}}}|{{{1}}}}} is not the same as {{{1}}}, since the former strips whitespace and newlines and is more robust --></noinclude> | ||
| Line 53: | Line 53: | ||
| label14= Officially opened by | | label14= Officially opened by | ||
| − | | data14= {{ | + | | data14= {{if empty | {{{officially opened by|}}} | {{{Officially opened by|}}} }} |
| label15= Officially closed by | | label15= Officially closed by | ||
| − | | data15= {{ | + | | data15= {{if empty | {{{officially closed by|}}} | {{{Officially closed by|}}} }} |
| label16= Athlete's Oath | | label16= Athlete's Oath | ||
| − | | data16= {{ | + | | data16= {{if empty| {{{athlete's oath|}}} | {{{Athlete's Oath|}}} | {{{athletes' oath|}}} }} |
| label17=Judge's Oath | | label17=Judge's Oath | ||
| − | | data17= {{ | + | | data17= {{if empty| {{{judge's oath|}}} | {{{Judge's oath|}}}| {{{Judge's Oath|}}} }} |
| label18=Coach's Oath | | label18=Coach's Oath | ||
| Line 68: | Line 68: | ||
| label19={{#if:{{{torch label|}}}|{{{torch label}}}|Torch lighter}} | | label19={{#if:{{{torch label|}}}|{{{torch label}}}|Torch lighter}} | ||
| − | | data19= {{ | + | | data19= {{if empty | {{{torch|}}} | {{{torch lighter|}}} | {{{Torch Lighter|}}} | {{{All-Africa Torch|}}} | {{{Pan Am Torch|}}} | {{{Olympic Flame|}}} }}<noinclude><!-- 'All-Africa Torch', 'Pan Am Torch' = deprecated legacy parameters --></noinclude> |
| label20=Paralympic torch | | label20=Paralympic torch | ||
| − | | data20= {{ | + | | data20= {{if empty | {{{Paralympic torch|}}} | {{{Paralympic Torch|}}} }} |
| label21=[[Queen's Baton Relay|Queen's Baton Final Runner]] | | label21=[[Queen's Baton Relay|Queen's Baton Final Runner]] | ||
| Line 77: | Line 77: | ||
| label22 = Anthem | | label22 = Anthem | ||
| − | | data22 = {{ | + | | data22 = {{if empty| {{{anthem|}}} | {{{Anthem|}}} }} |
| label23= Main venue | | label23= Main venue | ||
| Line 83: | Line 83: | ||
| label24= Venues | | label24= Venues | ||
| − | | data24= {{ | + | | data24= {{if empty | {{{venues|}}} | {{{Venues|}}} }}<noinclude><!-- = deprecated legacy parameter --></noinclude> |
|label25 = Paralympic stadium | |label25 = Paralympic stadium | ||
| − | |data25 = {{ | + | |data25 = {{if empty | {{{Paralympic stadium|}}} | {{{Paralympic Stadium|}}} }} |
|label26 = Ceremony venue | |label26 = Ceremony venue | ||
| − | |data26 = {{ | + | |data26 = {{if empty | {{{ceremony venue|}}} | {{{Ceremony venue|}}} }} |
|label27 = Race length | |label27 = Race length | ||
Revision as of 09:27, 14 April 2019
| Host city | Script error: No such module "Wikidata". |
|---|---|
| Country | Script error: No such module "Wikidata". |
| Nations participating | Script error: No such module "If empty". |
| Teams participating | Script error: No such module "If empty". |
| Athletes participating | Script error: No such module "If empty". |
| Sports | Script error: No such module "If empty". |
| Events | Script error: No such module "If empty". |
| Opening city | Script error: No such module "If empty". |
| Officially opened by | Script error: No such module "If empty". |
| Officially closed by | Script error: No such module "If empty". |
| Athlete's Oath | Script error: No such module "If empty". |
| Judge's Oath | Script error: No such module "If empty". |
| Torch lighter | Script error: No such module "If empty". |
| Paralympic torch | Script error: No such module "If empty". |
| Anthem | Script error: No such module "If empty". |
| Main venue | Script error: No such module "Wikidata". |
| Venues | Script error: No such module "If empty". |
| Paralympic stadium | Script error: No such module "If empty". |
| Ceremony venue | Script error: No such module "If empty". |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
| [[File:{{{logo}}}|{{{size}}}]] {{{caption}}} | |||
| Host city | Script error: No such module "Wikidata". | ||
|---|---|---|---|
| Country | Script error: No such module "Wikidata". | ||
| Motto | {{{motto}}} | ||
| Nations participating | Script error: No such module "If empty". | ||
| Teams participating | Script error: No such module "If empty". | ||
| Debuting countries | {{{debuting countries}}} | ||
| Athletes participating | Script error: No such module "If empty". | ||
| Sports | Script error: No such module "If empty". | ||
| Events | Script error: No such module "If empty". | ||
| Opening city | Script error: No such module "If empty". | ||
| Opening ceremony | {{{opening ceremony}}} | ||
| Closing ceremony | {{{closing ceremony}}} | ||
| Dates | {{{dates}}} | ||
| Officially opened by | Script error: No such module "If empty". | ||
| Officially closed by | Script error: No such module "If empty". | ||
| Athlete's Oath | Script error: No such module "If empty". | ||
| Judge's Oath | Script error: No such module "If empty". | ||
| Torch lighter | Script error: No such module "If empty". | ||
| Paralympic torch | Script error: No such module "If empty". | ||
| Queen's Baton Final Runner | {{{Queen's Baton}}} | ||
| Anthem | Script error: No such module "If empty". | ||
| Main venue | Script error: No such module "Wikidata". | ||
| Venues | Script error: No such module "If empty". | ||
| Paralympic stadium | Script error: No such module "If empty". | ||
| Ceremony venue | Script error: No such module "If empty". | ||
| Race length | {{{length}}} | ||
| Individual prize money (US$) | {{{indprize}}} | ||
| Team prize money (US$) | {{{tmprize}}} | ||
| Website | {{{website}}} | ||
| Summer | |||
| |||
| Winter | |||
| |||
| |||
{{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. |