Template:Infobox games: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
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 | | 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 | | data9 = {{#if:{{{athletes participating|}}} | {{{athletes participating|}}} | {{{Athletes participating|}}} | {{{Athletes|}}} }} | ||
| label10 = Sport(s) | | label10 = Sport(s) | ||
| data10 = {{if | | data10 = {{#if:{{{sports|}}} | {{{sports|}}} | {{{Sports|}}} }} | ||
| label11 = Events | | label11 = Events | ||
| data11 = {{if | | data11 = {{#if:{{{events|}}} | {{{events|}}} | {{{Events|}}} }} | ||
| label12 = Opening city | | label12 = Opening city | ||
| class12 = location | | class12 = location | ||
| data12 = {{if | | 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 | | data16 = {{#if:{{{officially opened by|}}} | {{{officially opened by|}}} | {{{Officially opened by|}}} }} | ||
| label17 = Officially closed by | | label17 = Officially closed by | ||
| data17 = {{if | | data17 = {{#if:{{{officially closed by|}}} | {{{officially closed by|}}} | {{{Officially closed by|}}} }} | ||
| label18 = Athlete's Oath | | label18 = Athlete's Oath | ||
| data18 = {{if | | data18 = {{#if:{{{athlete's oath|}}}| {{{athlete's oath|}}} | {{{Athlete's Oath|}}} | {{{athletes' oath|}}} }} | ||
| label19 = Judge's Oath | | label19 = Judge's Oath | ||
| data19 = {{if | | 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 | | 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 | | 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 | | data24 = {{#if:{{{anthem|}}}| {{{anthem|}}} | {{{Anthem|}}} }} | ||
| label25 = Main venue | | label25 = Main venue | ||
| data25 = {{if | | data25 = {{#if:{{{stadium|}}} | {{{stadium|}}} | {{{Stadium|}}} | {{{Main_venue|}}} }}<noinclude><!-- 'Main_venue' = deprecated legacy parameter --></noinclude> | ||
| label26 = Venues | | label26 = Venues | ||
| data26 = {{if | | data26 = {{#if:{{{venues|}}} | {{{venues|}}} | {{{Venues|}}} }}<noinclude><!-- = deprecated legacy parameter --></noinclude> | ||
|label27 = Paralympic stadium | |label27 = Paralympic stadium | ||
|data27 = {{if | |data27 = {{#if:{{{Paralympic stadium|}}} | {{{Paralympic stadium|}}} | {{{Paralympic Stadium|}}} }} | ||
|label28 = Ceremony venue | |label28 = Ceremony venue | ||
|data28 = {{if | |data28 = {{#if:{{{ceremony venue|}}} | {{{ceremony venue|}}} | {{{Ceremony venue|}}} }} | ||
|label29 = Race length | |label29 = Race length | ||
Line 141: | Line 141: | ||
}} | }} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}[[Category:Sport templates]][[Category:Infobox templates]]</noinclude> |
Latest revision as of 22:36, 3 April 2021
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |