Template:Infobox games: Difference between revisions
Created page with "{{infobox | bodyclass = vevent | above = {{#if: {{{name|}}}| {{{name}}} | {{{Name|}}} }} | aboveclass = summary | image= {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{l..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| bodyclass = vevent | | bodyclass = vevent | ||
| abovestyle = background: #efefef; | |||
| above = | | above = {{{Name}}} | ||
| aboveclass = summary | | aboveclass = summary | ||
| image= {{#if:{{{Logo|}}}|[[File:{{{Logo}}}|{{{Size}}}px|center|{{{Name}}}]] }} | |||
| caption= {{{Optional caption|}}} | |||
| label1 = Host city | |||
| data1 = {{{Host city|}}}{{{Host City|}}} | |||
| label1 = | |||
| data1 = | |||
| class1 = location | | class1 = location | ||
| label2 = | | label2 = Motto | ||
| data2 = {{ | | data2 = {{{Motto|}}} | ||
| label3 = Nations participating | |||
| label3 = | | data3 = {{{Nations participating|}}} | ||
| label4 = Athletes participating | |||
| data4 = {{{Athletes participating|}}} | |||
| label5 = Events | |||
| | | data5= {{{Events|}}} | ||
| | |||
| | |||
| | |||
| | |||
| | | label6= {{#ifexist:{{{1}}}_{{{2}}}_Games_opening_ceremony|[[{{{1}}} {{{2}}} Games opening ceremony|Opening ceremony]]|Opening ceremony}} | ||
| data6= {{{Opening ceremony|}}} | |||
| | | label7= {{#ifexist:{{{1}}}_{{{2}}}_Games_closing_ceremony|[[{{{1}}} {{{2}}} Games closing ceremony|Closing ceremony]]|Closing ceremony}} | ||
| data7= {{{Closing ceremony|}}} | |||
| | | label8= Officially opened by | ||
| | | data8= {{{Officially opened by|}}} | ||
| label9= Athlete's Oath | |||
| data9= {{{Athlete's Oath|}}} | |||
| label10=Judge's Oath | |||
| data10= {{{Judge's Oath|}}} | |||
| | | label11=Torch Lighter | ||
| | | data11= {{{Torch Lighter|}}} | ||
| | | label12=Paralympic Torch | ||
| | | data12= {{{Paralympic Torch|}}} | ||
| | | label13=[[Queen's Baton Relay|Queen's Baton Final Runner]] | ||
| | | data13= {{{Queen's Baton|}}} | ||
| | | label14=Main Stadium | ||
| | | data14= {{{Stadium|}}} | ||
| | |label15 = Paralympic Stadium | ||
| | |data15 = {{{Paralympic Stadium|}}} | ||
| | |data24 = <table style="width:100%; background:transparent;"> | ||
| | <th style="width:50%">{{#if:{{{SpreviousS<includeonly>|</includeonly>}}}| < {{{SpreviousS}}}}}</th> | ||
<th style="width:50%">{{#if:{{{SnextS<includeonly>|</includeonly>}}}|{{{SnextS}}} > }}</th> | |||
</table> | |||
| | |header25= {{#if:{{{SnextS<includeonly>|</includeonly>}}}|Winter:}} | ||
|data25 = | |||
< | |||
| | |data26 = <table style="width:100%; background:transparent;"> | ||
<th style="width:50%">{{#if:{{{Sprevious<includeonly>|</includeonly>}}}| < {{{Sprevious}}}}}</th> | |||
<table style="width:100%; background:transparent;" | <th style="width:50%">{{#if:{{{Snext<includeonly>|</includeonly>}}}|{{{Snext}}} > }}</th> | ||
<th style="width:50% | </table> | ||
<th style="width:50% | |||
| | |header27= {{#if:{{{Wnext|}}}|Winter:}} | ||
| | |data27 = | ||
| | |data28 = <table style="width:100%; background:transparent;"> | ||
<th style="width:50%">{{#if:{{{Wprevious|}}}| < {{{Wprevious}}}}}</th> | |||
<table style="width:100%; background:transparent;" | <th style="width:50%">{{#if:{{{Wnext|}}}|{{{Wnext}}} > }}</th> | ||
<th style="width:50% | </table> | ||
<th style="width:50% | |||
| | |header29= {{#if:{{{Wnext|}}}|Summer:}} | ||
| | |data29 = | ||
| | |data30 = <table style="width:100%; background:transparent;"> | ||
<th style="width:50%">{{#if:{{{WpreviousS|}}}| < {{{WpreviousS}}}}}</th> | |||
<th style="width:50%">{{#if:{{{WnextS|}}}|{{{WnextS}}} > }}</th> | |||
</table> | |||
| | | label44=Website | ||
| data44= {{{Website|}}} | |||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 01:59, 19 July 2014
| {{{Name}}} | |||
|---|---|---|---|
| |||
| Winter: | |||
| |||
Usage
| {{{Name}}} | |||
|---|---|---|---|
| Queen's Baton Final Runner | {{{Queen's Baton}}} | ||
| |||
| Winter: | |||
| |||
{{Infobox games
| name =
| logo =
| size =
| caption =
| host city =
| country =
| motto =
| nations participating =
| teams participating =
| debuting countries =
| athletes participating =
| events =
| 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
- 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
- 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.
nor collapse nested elements which use them.