User:Montecara/Sandbox 8: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{Infobox | bodystyle = width: 22em | titleclass = summary | title = | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#if:{{{image_size|}}}|...")
 
(Replaced content with "{{Template:Invictus Games}}")
Tag: Replaced
Line 1: Line 1:
{{Infobox
{{Template:Invictus Games}}
| bodystyle  = width: 22em
| titleclass = summary
| title      =
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#if:{{{image_size|}}}|{{{image_size|}}}|{{#if:{{{image_size|}}}|{{{image_size|}}}|frameless}}}}}}|sizedefault=frameless|alt={{{alt|}}}
| caption    = {{{caption|}}}
 
| label1    = Host city
| class1    = location
| data1      = {{{host_city|}}}
| label2    = Motto
| data2      = {{{motto|}}}
| label3    = Nations
| data3      = {{{nations|}}}
| label4    = Athletes
| data4      = {{{athletes|}}}
| label5    = Events
| data5      = {{{events|}}}
| label6    = {{#ifexist:{{{1}}}_{{{2}}}_{{{3}}}_opening_ceremony|[[{{{1}}}_{{{2}}}_{{{3}}} opening ceremony|Opening]]|Opening}}
| data6      = {{{opening|}}}
| label7    = {{#ifexist:{{{1}}}_{{{2}}}_{{{3}}}_closing_ceremony|[[{{{1}}}_{{{2}}}_{{{3}}} closing ceremony|Closing]]|Closing}}
| data7      = {{{closing|}}}
| label8    = {{#if:{{{opened_by|}}}|{{#ifeq:{{{3|}}}|Opened by}}}}
| class8    = vcard attendee
| data8      = {{#if:{{{opened_by|}}}|<div style="display:inline;" class="fn">{{{opened_by|}}}</div>}}
| label9    = {{#if:{{{cauldron|}}}|{{#ifeq:{{{3|}}}Cauldron}}}}
| class9    = vcard attendee
| data9      = {{#if:{{{cauldron|}}}|<div style="display:inline;" class="fn">{{{cauldron|}}}</div>}}
| label10    = {{#if:{{{stadium|}}}|{{#ifeq:{{{3|}}}|Stadium}}}}
| data10    = {{{stadium|}}}
 
| header11  = {{#ifeq:{{{2|}}}|Summer|{{#if:{{{summer_prev|}}}{{{summer_next|}}}|Summer}}|}}
{{#ifeq:{{{2|}}}|Winter|{{#if:{{{winter_prev|}}}{{{winter_next|}}}|Winter}}|}}
| data12    = {{#ifeq:{{{2|}}}|Summer|{{#if:{{{summer_prev|}}}{{{summer_next|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{summer_prev|}}}|{{Nowrap|&larr; {{{summer_prev}}}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{summer_next|}}}|{{Nowrap|{{{summer_next}}} &rarr;}}}}</th>
</tr></table>
}}|}}
{{#ifeq:{{{2|}}}|Winter|{{#if:{{{winter_prev|}}}{{{winter_next|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{winter_prev|}}}|{{Nowrap|&larr; {{{winter_prev}}}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{winter_next|}}}|{{Nowrap|{{{winter_next}}} &rarr;}}}}</th>
</tr></table>
}}|}}
{{#if:{{{prev|}}}{{{next|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{prev|}}}|{{Nowrap|&larr; {{{prev}}}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{next|}}}|{{Nowrap|{{{next}}} &rarr;}}}}</th>
</tr></table>
}}
 
| header13  = {{#ifeq:{{{2|}}}|Summer|{{#if:{{{winter_prev|}}}{{{winter_next|}}}|Winter}}|}}
{{#ifeq:{{{2|}}}|Winter|{{#if:{{{summer_prev|}}}{{{summer_next|}}}|Summer}}|}}
{{#if:{{{prev|}}}{{{next|}}}|<!-- Chronology -->}}
| data14    = {{#ifeq:{{{2|}}}|Summer|{{#if:{{{winter_prev|}}}{{{winter_next|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{winter_prev|}}}|{{Nowrap|&larr; {{{winter_prev}}}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{winter_next|}}}|{{Nowrap|{{{winter_next}}} &rarr;}}}}</th>
</tr></table>
}}|}}
{{#ifeq:{{{2|}}}|Winter|{{#if:{{{summer_prev|}}}{{{summer_next|}}}|
<table style="width:100%; background:transparent;"><tr>
<th style="width:50%; text-align: left;">{{#if:{{{summer_prev|}}}|{{Nowrap|&larr; {{{summer_prev}}}}}}}</th>
<th style="width:50%; text-align: right;">{{#if:{{{summer_next|}}}|{{Nowrap|{{{summer_next}}} &rarr;}}}}</th>
</tr></table>
}}|}}
}}
<noinclude>
[[Category:Invictus Games| ]]
</noinclude>

Revision as of 17:21, 30 June 2022