Template:Infobox games: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 9: Line 9:


| label1 = {{#if:{{{host city|}}}{{{Host city|}}}{{{Host City|}}}|Host city|Host}}
| label1 = {{#if:{{{host city|}}}{{{Host city|}}}{{{Host City|}}}|Host city|Host}}
| data1 = {{if empty | {{{host city|}}} | {{{Host city|}}} | {{{Host City|}}} | {{{host|}}} }}
| data1 = {{#if:{{{host city|}}}| {{{host city|}}} | {{{Host city|}}} | {{{Host City|}}} | {{{host|}}} }}
| class1 = location
| class1 = location


Line 37: Line 37:


| label9 = Athletes participating<noinclude><!-- 'Athletes' = deprecated legacy parameter --></noinclude>
| label9 = Athletes participating<noinclude><!-- 'Athletes' = deprecated legacy parameter --></noinclude>
| data9 = {{if empty | {{{athletes participating|}}} | {{{Athletes participating|}}} | {{{Athletes|}}} }}
| data9 = {{#if:{{{athletes participating|}}} | {{{athletes participating|}}} | {{{Athletes participating|}}} | {{{Athletes|}}} }}


| label10 = Sport(s)
| label10 = Sport(s)
| data10 = {{if empty | {{{sports|}}} | {{{Sports|}}} }}
| data10 = {{#if:{{{sports|}}} | {{{sports|}}} | {{{Sports|}}} }}


| label11 = Events
| label11 = Events
| data11 = {{if empty | {{{events|}}} | {{{Events|}}} }}
| data11 = {{#if:{{{events|}}} | {{{events|}}} | {{{Events|}}} }}


| label12 = Opening city
| label12 = Opening city
| class12 = location
| class12 = location
| data12 = {{if empty | {{{opening city|}}} | {{{Opening city|}}} }}
| data12 = {{#if:{{{opening city|}}} | {{{opening city|}}} | {{{Opening city|}}} }}


| label13 = {{#if:{{{1|}}}{{{2|}}}|{{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|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>
| label13 = {{#if:{{{1|}}}{{{2|}}}|{{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|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 59: Line 59:


| label16 = Officially opened by
| label16 = Officially opened by
| data16 = {{if empty | {{{officially opened by|}}} | {{{Officially opened by|}}} }}
| data16 = {{#if:{{{officially opened by|}}} | {{{officially opened by|}}} | {{{Officially opened by|}}} }}


| label17 = Officially closed by
| label17 = Officially closed by
| data17 = {{if empty | {{{officially closed by|}}} | {{{Officially closed by|}}} }}
| data17 = {{#if:{{{officially closed by|}}} | {{{officially closed by|}}} | {{{Officially closed by|}}} }}


| label18 = Athlete's Oath
| label18 = Athlete's Oath
| data18 = {{if empty| {{{athlete's oath|}}} | {{{Athlete's Oath|}}} | {{{athletes' oath|}}} }}
| data18 = {{#if:{{{athlete's oath|}}}| {{{athlete's oath|}}} | {{{Athlete's Oath|}}} | {{{athletes' oath|}}} }}


| label19 = Judge's Oath
| label19 = Judge's Oath
| data19 = {{if empty| {{{judge's oath|}}} | {{{Judge's oath|}}}| {{{Judge's Oath|}}} }}
| data19 = {{#if:{{{judge's oath|}}}| {{{judge's oath|}}} | {{{Judge's oath|}}}| {{{Judge's Oath|}}} }}


| label20 = Coach's Oath
| label20 = Coach's Oath
Line 74: Line 74:


| label21 = {{#if:{{{torch label|}}}|{{{torch label}}}|Torch lighter}}
| label21 = {{#if:{{{torch label|}}}|{{{torch label}}}|Torch lighter}}
| data21 = {{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>
| data21 = {{#if:{{{torch|}}} | {{{torch|}}} | {{{torch lighter|}}} | {{{Torch Lighter|}}} | {{{All-Africa Torch|}}} | {{{Pan Am Torch|}}} | {{{Olympic Flame|}}} }}<noinclude><!-- 'All-Africa Torch', 'Pan Am Torch' = deprecated legacy parameters --></noinclude>


| label22 = Paralympic torch
| label22 = Paralympic torch
| data22= {{if empty | {{{Paralympic torch|}}} | {{{Paralympic Torch|}}} }}
| data22= {{#if:{{{Paralympic torch|}}} | {{{Paralympic torch|}}} | {{{Paralympic Torch|}}} }}


| label23 = [[Queen's Baton Relay|Queen's Baton Final Runner]]
| label23 = [[Queen's Baton Relay|Queen's Baton Final Runner]]
Line 83: Line 83:


| label24 = Anthem
| label24 = Anthem
| data24 = {{if empty| {{{anthem|}}} | {{{Anthem|}}} }}
| data24 = {{#if:{{{anthem|}}}| {{{anthem|}}} | {{{Anthem|}}} }}


| label25 = Main venue
| label25 = Main venue
| data25 = {{if empty | {{{stadium|}}} | {{{Stadium|}}} | {{{Main_venue|}}} }}<noinclude><!-- 'Main_venue' = deprecated legacy parameter --></noinclude>
| data25 = {{#if:{{{stadium|}}} | {{{stadium|}}} | {{{Stadium|}}} | {{{Main_venue|}}} }}<noinclude><!-- 'Main_venue' = deprecated legacy parameter --></noinclude>


| label26 = Venues
| label26 = Venues
| data26 = {{if empty | {{{venues|}}} | {{{Venues|}}} }}<noinclude><!-- = deprecated legacy parameter --></noinclude>
| data26 = {{#if:{{{venues|}}} | {{{venues|}}} | {{{Venues|}}} }}<noinclude><!-- = deprecated legacy parameter --></noinclude>


|label27 = Paralympic stadium
|label27 = Paralympic stadium
|data27 = {{if empty | {{{Paralympic stadium|}}} | {{{Paralympic Stadium|}}} }}
|data27 = {{#if:{{{Paralympic stadium|}}} | {{{Paralympic stadium|}}} | {{{Paralympic Stadium|}}} }}


|label28 = Ceremony venue
|label28 = Ceremony venue
|data28 = {{if empty | {{{ceremony venue|}}} | {{{Ceremony venue|}}} }}
|data28 = {{#if:{{{ceremony venue|}}} | {{{ceremony venue|}}} | {{{Ceremony venue|}}} }}


|label29 = Race length
|label29 = Race length

Revision as of 14:05, 3 April 2021

[create] Template documentation