Template:Infobox games: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
Santos (talk | contribs)
m 1 revision
Santos (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{infobox
{{infobox
| bodyclass = vevent


| bodyclass = vevent
| above = {{#if: {{{name|}}}| {{{name}}} | {{{Name|}}} }}
| abovestyle = background: #efefef;
| above = {{{Name}}}
| aboveclass = summary
| aboveclass = summary
| image= {{#if:{{{Logo|}}}|[[File:{{{Logo}}}|{{{Size}}}px|center|{{{Name}}}]] }}
| caption= {{{Optional caption|}}}


| label1 = Host city
| image= {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{logo|}}}|{{{logo}}}|{{{Logo|}}}}}|size={{#if:{{{Size|}}}|{{{Size}}}|{{{size|}}}}}|alt={{{logo_alt|}}}}}
| data1 = {{{Host city|}}}{{{Host City|}}}
| caption= {{#if:{{{caption|}}}|{{{caption}}}|{{{Optional caption|}}}}}
 
| label1 = {{#if:{{{host city|}}}{{{Host city|}}}{{{Host City|}}}|Host city|Host}}
| data1 = {{ifempty | {{{host city|}}} | {{{Host city|}}} | {{{Host City|}}} | {{{host|}}} }}
| class1 = location
| class1 = location


| label2 = Motto
| label2 = Country
| data2 = {{{Motto|}}}
| data2 = {{#if:{{{country|}}} | {{{country}}} | {{{Country|}}} }}
| label3 = Nations participating
 
| data3 = {{{Nations participating|}}}
| label3 = Motto
| label4 = Athletes participating
| data3 = {{#if:{{{motto|}}} | {{{motto}}} | {{{Motto|}}} }}
| data4 = {{{Athletes participating|}}}
 
| label5 = Events
| label4 = {{#if:{{{Provinces and Territories participating|}}}|Provinces and Territories|Nations}} participating
| data5= {{{Events|}}}
| data4 = {{#if:{{{Provinces and Territories participating|}}}
| {{{Provinces and Territories participating}}}
| {{ifempty | {{{nations participating|}}} | {{{Nations participating|}}} | {{{Nations|}}} }}
}}
 
| label5 = Teams participating
| data5 = {{ifempty | {{{teams participating|}}} | {{{Teams participating|}}} }}
 
| label6 = Debuting countries
| data6  = {{#if:{{{debuting countries|}}} | {{{debuting countries}}} | {{{Debuting countries|}}} }}
 
| label7 = Athletes participating<noinclude><!-- 'Athletes' = deprecated legacy parameter --></noinclude>
| data7 = {{ifempty | {{{athletes participating|}}} | {{{Athletes participating|}}} | {{{Athletes|}}} }}
 
| label8 = Events
| data8= {{#if: {{{Events|}}} | {{{Events}}} | {{{events|}}} }}
 
<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>
 
| label9= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|Opening ceremony]]|Opening ceremony}}
| data9= {{#if: {{{opening ceremony|}}} | {{{opening ceremony}}} | {{{Opening ceremony|}}} }}
 
<noinclude><!-- Programming note: as above` --></noinclude>
 
| label10= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games closing ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games closing ceremony|Closing ceremony]]|Closing ceremony}}
| data10= {{#if: {{{Closing ceremony|}}} | {{{Closing ceremony}}} | {{{closing ceremony|}}} }}
 
| label11= Dates
| data11= {{#if:{{{dates|}}}|{{{dates}}}|{{{Dates|}}}}} <noinclude><!-- Deprecated legacy parameters --></noinclude>
 
| label12= Officially opened by
| data12= {{#if: {{{officially opened by|}}} | {{{officially opened by}}} | {{{Officially opened by|}}} }}
 
| label13= Officially closed by
| data13= {{#if: {{{officially closed by|}}} | {{{officially closed by}}} | {{{Officially closed by|}}} }}
 
| label14= Athlete's Oath
| data14= {{ifempty| {{{athlete's oath|}}} | {{{Athlete's Oath|}}} | {{{athletes' oath|}}} }}
 
| label15=Judge's Oath
| data15= {{#if: {{{judge's oath|}}} | {{{judge's oath}}} | {{{Judge's oath|}}} }}
 
| label16=Coach's Oath
| data16= {{{coaches' oath|}}}


| label6= {{#ifexist:{{{1}}}_{{{2}}}_Games_opening_ceremony|[[{{{1}}} {{{2}}} Games opening ceremony|Opening ceremony]]|Opening ceremony}}
| label17={{#if:{{{torch label|}}}|{{{torch label}}}|Torch Lighter}}
| data6= {{{Opening ceremony|}}}
| data17= {{ifempty | {{{torch|}}} | {{{torch lighter|}}} | {{{Torch Lighter|}}} | {{{All-Africa Torch|}}} | {{{Pan Am Torch|}}} | {{{Olympic Flame|}}} }}<noinclude><!-- 'All-Africa Torch', 'Pan Am Torch' = deprecated legacy parameters --></noinclude>


| label7= {{#ifexist:{{{1}}}_{{{2}}}_Games_closing_ceremony|[[{{{1}}} {{{2}}} Games closing ceremony|Closing ceremony]]|Closing ceremony}}
| label18=Paralympic Torch
| data7= {{{Closing ceremony|}}}
| data18= {{#if:{{{Paralympic torch|}}} | {{{Paralympic torch|}}} | {{{Paralympic Torch|}}} }}


| label8= Officially opened by
| label19=[[Queen's Baton Relay|Queen's Baton Final Runner]]
| data8= {{{Officially opened by|}}}
| data19= {{{Queen's Baton|}}}
| label9= Athlete's Oath
| data9= {{{Athlete's Oath|}}}
| label10=Judge's Oath
| data10= {{{Judge's Oath|}}}


| label11=Torch Lighter
| label20= Main venue
| data11= {{{Torch Lighter|}}}
| data20= {{ifempty | {{{stadium|}}} | {{{Stadium|}}} | {{{Main_venue|}}} }} <noinclude><!-- 'Main_venue' = deprecated legacy parameter --></noinclude>


| label12=Paralympic Torch
| label21= Venues
| data12= {{{Paralympic Torch|}}}
| data21= {{#if:{{{venues|}}} | {{{venues}}} | {{{Venues|}}} }}<noinclude><!-- = deprecated legacy parameter --></noinclude>


| label13=[[Queen's Baton Relay|Queen's Baton Final Runner]]
|label22 = Paralympic Stadium
| data13= {{{Queen's Baton|}}}
|data22 = {{#if:{{{Paralympic stadium|}}} | {{{Paralympic stadium}}} | {{{Paralympic Stadium|}}} }}


| label14=Main Stadium
|label23 = Ceremony venue
| data14= {{{Stadium|}}}
|data23  = {{#if:{{{ceremony venue|}}} | {{{ceremony venue|}}} | {{{Ceremony venue|}}} }}


|label15 = Paralympic Stadium
|label24  = Race length
|data15  = {{{Paralympic Stadium|}}}
|data24  = {{{length|}}}


|label25  = Individual Prize Money (US$)
|data25  = {{{indprize|}}}


|data24 = <table style="width:100%; background:transparent;">
|label26 = Team Prize Money (US$)
<th style="width:50%">{{#if:{{{SpreviousS<includeonly>|</includeonly>}}}|&nbsp;&lt; {{{SpreviousS}}}}}</th>
|data26  = {{{tmprize|}}}
<th style="width:50%">{{#if:{{{SnextS<includeonly>|</includeonly>}}}|{{{SnextS}}} &gt;&nbsp;}}</th>
</table>


|header25= {{#if:{{{SnextS<includeonly>|</includeonly>}}}|Winter:}}
|header34= {{#if:{{{SpreviousS|}}}{{{SnextS|}}}|Summer:}}
|data25  =
|data35  = {{#if:{{{SpreviousS|}}}{{{SnextS|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{SpreviousS|}}}|&lt;&nbsp; {{{SpreviousS}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{SnextS|}}}|{{{SnextS}}} &nbsp;&gt;}}</th>
</tr></table>
}}


|data26 = <table style="width:100%; background:transparent;">
|header36= {{#if:{{{Sprevious|}}}{{{Snext|}}}|Winter:}}
<th style="width:50%">{{#if:{{{Sprevious<includeonly>|</includeonly>}}}|&nbsp;&lt; {{{Sprevious}}}}}</th>  
|data37 = {{#if:{{{Sprevious|}}}{{{Snext|}}}|
<th style="width:50%">{{#if:{{{Snext<includeonly>|</includeonly>}}}|{{{Snext}}} &gt;&nbsp;}}</th>
<table style="width:100%; background:transparent;"><tr>
</table>
<th style="width:50%; text-align: left;">{{#if:{{{Sprevious|}}}|&lt;&nbsp; {{{Sprevious}}}}}</th>  
<th style="width:50%; text-align: right;">{{#if:{{{Snext|}}}|{{{Snext}}} &nbsp;&gt;}}</th>
</tr></table>
}}


|header27= {{#if:{{{Wnext|}}}|Winter:}}
|header38= {{#if:{{{Wprevious|}}}{{{Wnext|}}}|Winter:}}
|data27 =  
|data39 = {{#if:{{{Wprevious|}}}{{{Wnext|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{Wprevious|}}}|&lt;&nbsp; {{{Wprevious}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{Wnext|}}}|{{{Wnext}}} &nbsp;&gt;}}</th>
</tr></table>
}}


|data28 = <table style="width:100%; background:transparent;">
|header40= {{#if:{{{WpreviousS|}}}{{{WnextS|}}}|Summer:}}
<th style="width:50%">{{#if:{{{Wprevious|}}}|&nbsp;&lt; {{{Wprevious}}}}}</th>  
|data41 = {{#if:{{{WpreviousS|}}}{{{WnextS|}}}|
<th style="width:50%">{{#if:{{{Wnext|}}}|{{{Wnext}}} &gt;&nbsp;}}</th>
<table style="width:100%; background:transparent;"><tr>
</table>
<th style="width:50%; text-align: left;">{{#if:{{{WpreviousS|}}}|&lt;&nbsp; {{{WpreviousS}}}}}</th>  
<th style="width:50%; text-align: right;">{{#if:{{{WnextS|}}}|{{{WnextS}}} &nbsp;&gt;}}</th>
</tr></table>
}}


|header29= {{#if:{{{Wnext|}}}|Summer:}}
|header42= {{#if:{{{previous|}}}{{{next|}}}|<!-- Chronology -->}}
|data29  =  
|data43  = {{#if:{{{previous|}}}{{{next|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{previous|}}}|&lt;&nbsp; {{{previous}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{next|}}}|{{{next}}} &nbsp;&gt;}}</th>
</tr></table>
}}


|data30  = <table style="width:100%; background:transparent;">
| label30=Website
<th style="width:50%">{{#if:{{{WpreviousS|}}}|&nbsp;&lt; {{{WpreviousS}}}}}</th>
| data30= {{#if:{{{website|}}} | {{{website}}} | {{{Website|}}} }}
<th style="width:50%">{{#if:{{{WnextS|}}}|{{{WnextS}}} &gt;&nbsp;}}</th>
</table>


| label44=Website
| data31 = {{{module|}}}
| data44= {{{Website|}}}


}}<noinclude>{{documentation}}</noinclude>
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 02:09, 19 July 2014