Template:Infobox country at games/core and Template:Infobox country at games/core/sandbox: Difference between pages
(Difference between pages)
m (1 revision imported) |
m (1 revision imported) |
||
| Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{Infobox | ||
| bodyclass = vevent | | bodyclass = vevent | ||
| bodystyle = width: 25em; | | bodystyle = width: 25em; | ||
| Line 31: | Line 31: | ||
--> | --> | ||
| header10 = {{ | | header10 = {{Br separated entries | ||
| 1 = {{#if:{{{location|}}}|in <span class="location">{{{location}}}</span>}} | | 1 = {{#if:{{{location|}}}|in <span class="location">{{{location}}}</span>}} | ||
| 2 = {{{date|}}} | | 2 = {{{date|}}} | ||
}} | }} | ||
| label11 = Competitors | | label11 = Competitors | ||
| data11 = {{#if:{{{competitors|}}}|{{{competitors}}} {{#if:{{{competitors_men|}}}{{{competitors_women|}}}|({{ | | data11 = {{#if:{{{competitors|}}}|{{{competitors}}} {{#if:{{{competitors_men|}}}{{{competitors_women|}}}|({{Separated entries|conjunction= and  | ||
| {{#if:{{{competitors_men|}}}|{{{competitors_men}}}{{#ifeq:{{{competitors_men}}}|1| man| men}}}} | | {{#if:{{{competitors_men|}}}|{{{competitors_men}}}{{#ifeq:{{{competitors_men}}}|1| man| men}}}} | ||
| {{#if:{{{competitors_women|}}}|{{{competitors_women}}}{{#ifeq:{{{competitors_women}}}|1| woman| women}}}} | | {{#if:{{{competitors_women|}}}|{{{competitors_women}}}{{#ifeq:{{{competitors_women}}}|1| woman| women}}}} | ||
}})}} {{#if:{{{sports|}}}{{{events|}}}|in {{ | }})}} {{#if:{{{sports|}}}{{{events|}}}|in {{Separated entries|conjunction= and  | ||
| {{#if:{{{sports|}}}|{{{sports}}} {{#ifeq:{{{sports}}}|1|sport|sports}}}} | | {{#if:{{{sports|}}}|{{{sports}}} {{#ifeq:{{{sports}}}|1|sport|sports}}}} | ||
| {{#if:{{{events|}}}|{{{events}}} {{#ifeq:{{{events}}}|1|event|events}}}} | | {{#if:{{{events|}}}|{{{events}}} {{#ifeq:{{{events}}}|1|event|events}}}} | ||
}}}}}} | }}}}}} | ||
| label12 = {{#ifexist:{{{year}}} {{{games}}} national flag bearers|[[{{{year}}} {{{games}}} national flag bearers | | label12 = {{#ifexist:{{{year}}} {{{games}}} national flag bearers|[[{{{year}}} {{{games}}} national flag bearers|Flag bearer{{#if: {{Detect singular|{{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}}}}||s}} {{#if:{{{flagbearer_close|}}}|(opening)}}]]|Flag bearer{{#if: {{Detect singular|{{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}}}}||s}} {{#if:{{{flagbearer_close|}}}|(opening)}}}} | ||
| data12 = {{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}} | | data12 = {{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}} | ||
| label13 = {{#ifexist:{{{year}}} {{{games}}} closing ceremony | | label13 = {{#ifexist:{{{year}}} {{{games}}} closing ceremony|[[{{{year}}} {{{games}}} closing ceremony|Flag bearer{{#if: {{Detect singular|{{{flagbearer_close|}}}}}||s}} (closing)]]|Flag bearer{{#if: {{Detect singular|{{{flagbearer_close|}}}}}||s}} (closing)}} | ||
| data13 = {{{flagbearer_close|}}} | | data13 = {{{flagbearer_close|}}} | ||
| label14 = Coaches | | label14 = Coaches | ||
| Line 70: | Line 70: | ||
--> | --> | ||
| header20 = {{#switch: {{{TALauto|}}} | | header20 = {{#switch: {{{TALauto|}}} | ||
| 1 | 1.1 | 2 | 3 = {{{games}}} appearances | | 1 | 1.1 | 2 | 3 = {{{games}}} appearances {{#ifexist:{{{country_year}}} at the {{{games}}}|([[{{{country_year}}} at the {{{games}}}|overview]])|{{#ifexist:{{{country_year}}} at the {{{noseasons}}}|([[{{{country_year}}} at the {{{noseasons}}}|overview]])}}}} | ||
| 1.3 = | | 1.3 = | ||
| 0 | #default = {{#if:{{{appearances|}}}|{{{games}}} appearances {{#ifexist:{{{country_year}}} at the {{{games}}}|([[{{{country_year}}} at the {{{games}}}|overview]])|{{#ifexist:{{{country_year}}} at the {{{noseasons}}}|([[{{{country_year}}} at the {{{noseasons}}}|overview]])}}}}}} | | 0 | #default = {{#if:{{{appearances|}}}|{{{games}}} appearances {{#ifexist:{{{country_year}}} at the {{{games}}}|([[{{{country_year}}} at the {{{games}}}|overview]])|{{#ifexist:{{{country_year}}} at the {{{noseasons}}}|([[{{{country_year}}} at the {{{noseasons}}}|overview]])}}}}}} | ||
}} | }} | ||
| data21 = {{#switch: {{{TALauto}}} | | data21 = {{#switch: {{{TALauto}}} | ||
| 1 | 1.1 = {{ | | 1 | 1.1 = {{team appearances list|team={{{country_year|}}}|competition={{{games|}}}}} | ||
| 2 = {{ | | 2 = {{Team appearances list|begin_year={{{app_begin_year|}}}|end_year={{{app_end_year|}}}|team={{{country_year}}}|competition={{{games|}}}}} | ||
| 3 = {{ | | 3 = {{Team appearances list|begin_year={{{app_begin_year|}}}|end_year={{{app_end_year|}}}|interval={{{app_interval|}}}|team={{{country_year}}}|competition={{{games|}}}}}{{main other|[[Category:Pages using infobox country at games with manual interval]]}} | ||
| 1.3 = | | 1.3 = | ||
| 0 | #default = {{#if:{{{appearances|}}}|{{{appearances|}}}{{main other|[[Category:Pages using infobox country at games with no automatic appearances]]}}}} | | 0 | #default = {{#if:{{{appearances|}}}|{{{appearances|}}}{{main other|[[Category:Pages using infobox country at games with no automatic appearances]]}}}} | ||
| Line 86: | Line 86: | ||
| data23 = {{#switch:{{{TALauto}}} | | data23 = {{#switch:{{{TALauto}}} | ||
| 1 | 2 | 3 | 1.1 = | | 1 | 2 | 3 | 1.1 = | ||
| 1.3 = {{#switch:{{{games}}}|Olympics|Intercalated Games={{#ifeq:{{{country_year}}}|Independent Olympians|{{{summerappearances|}}}|{{ | | 1.3 = {{#switch:{{{games}}}|Olympics|Intercalated Games={{#ifeq:{{{country_year}}}|Independent Olympians|{{{summerappearances|}}}|{{team appearances list|team={{{country_year}}}|competition=Summer Olympics}}}}|Deaflympics|Paralympics={{#ifeq:{{{country_year}}}|Individual Paralympic Athletes|{{{summerappearances|}}}|{{team appearances list|team={{{country_year}}}|competition=Summer {{{games}}}}}}}|Asian Games={{team appearances list|team={{{country_year|}}}|competition=Asian Games}}}} | ||
| #default = {{{summerappearances|}}}}} | | #default = {{{summerappearances|}}}}} | ||
| Line 102: | Line 102: | ||
| header32 = Other related appearances | | header32 = Other related appearances | ||
| data33 = {{#switch:{{{TALauto}}} | 1.1 | 1.3 = {{Infobox country at games/see also|{{{games}}} | | data33 = {{#switch:{{{TALauto}}} | 1.1 | 1.3 = {{Infobox country at games/see also|{{{games}}}|{{{alias}}}|{{{year}}}}} | #default = {{#if:{{{seealso|}}}|{{{seealso}}}[[Category:Pages using infobox country at games with see also parameter]]}}}} | ||
| class33 = hlist | | class33 = hlist | ||