Template:Infobox country at games/core and Template:Infobox country at games/core/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (1 revision imported)
 
m (1 revision imported)
 
Line 1: Line 1:
<includeonly>{{#invoke:Infobox|infoboxTemplate
<includeonly>{{Infobox
| bodyclass  = vevent
| bodyclass  = vevent
| bodystyle  = width: 25em;
| bodystyle  = width: 25em;
Line 31: Line 31:


-->
-->
| header10    = {{#invoke:separated entries|br
| 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|}}}|({{#invoke:separated entries|main|conjunction=&#32;and&#32;
|  data11    = {{#if:{{{competitors|}}}|{{{competitors}}} {{#if:{{{competitors_men|}}}{{{competitors_women|}}}|({{Separated entries|conjunction=&#32;and&#32;
  | {{#if:{{{competitors_men|}}}|{{{competitors_men}}}{{#ifeq:{{{competitors_men}}}|1|&nbsp;man|&nbsp;men}}}}
  | {{#if:{{{competitors_men|}}}|{{{competitors_men}}}{{#ifeq:{{{competitors_men}}}|1|&nbsp;man|&nbsp;men}}}}
  | {{#if:{{{competitors_women|}}}|{{{competitors_women}}}{{#ifeq:{{{competitors_women}}}|1|&nbsp;woman|&nbsp;women}}}}
  | {{#if:{{{competitors_women|}}}|{{{competitors_women}}}{{#ifeq:{{{competitors_women}}}|1|&nbsp;woman|&nbsp;women}}}}
  }})}} {{#if:{{{sports|}}}{{{events|}}}|in {{#invoke:separated entries|main|conjunction=&#32;and&#32;
  }})}} {{#if:{{{sports|}}}{{{events|}}}|in {{Separated entries|conjunction=&#32;and&#32;
  | {{#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|Flag&nbsp;bearer{{#if: {{Detect singular|{{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}}}}||s}} {{#if:{{{flagbearer_close|}}}|(opening)}}]]|{{#ifexist:{{{year}}} {{{games}}} Parade of Nations|[[{{{year}}} {{{games}}} Parade of Nations|Flag&nbsp;bearer{{#if: {{Detect singular|{{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}}}}||s}} {{#if:{{{flagbearer_close|}}}|(opening)}}]]|Flag&nbsp;bearer{{#if: {{Detect singular|{{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}}}}||s}} {{#if:{{{flagbearer_close|}}}|(opening)}}}}}}
|  label12    = {{#ifexist:{{{year}}} {{{games}}} national flag bearers|[[{{{year}}} {{{games}}} national flag bearers|Flag&nbsp;bearer{{#if: {{Detect singular|{{if empty|{{{flagbearer|}}}|{{{flagbearer_open|}}}}}}}||s}} {{#if:{{{flagbearer_close|}}}|(opening)}}]]|Flag&nbsp;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 flag bearers|[[{{{year}}} {{{games}}} closing ceremony flag bearers|Flag&nbsp;bearer{{#if: {{Detect singular|{{{flagbearer_close|}}}}}||s}} (closing)]]|{{#ifexist:{{{year}}} {{{games}}} closing ceremony|[[{{{year}}} {{{games}}} closing ceremony|Flag&nbsp;bearer{{#if: {{Detect singular|{{{flagbearer_close|}}}}}||s}} (closing)]]|Flag&nbsp;bearer{{#if: {{Detect singular|{{{flagbearer_close|}}}}}||s}} (closing)}}}}
|  label13    = {{#ifexist:{{{year}}} {{{games}}} closing ceremony|[[{{{year}}} {{{games}}} closing ceremony|Flag&nbsp;bearer{{#if: {{Detect singular|{{{flagbearer_close|}}}}}||s}} (closing)]]|Flag&nbsp;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 {{#ifeq:{{{country_year}}}|ROC|([[Russian Olympic Committee athletes at the Olympics|overview]])|{{#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 | 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 = {{#invoke:team appearances list|main|team={{{country_year|}}}|competition={{{games|}}}}}
   | 1 | 1.1 = {{team appearances list|team={{{country_year|}}}|competition={{{games|}}}}}
   | 2 = {{#invoke:team appearances list|main|begin_year={{{app_begin_year|}}}|end_year={{{app_end_year|}}}|team={{{country_year}}}|competition={{{games|}}}}}
   | 2 = {{Team appearances list|begin_year={{{app_begin_year|}}}|end_year={{{app_end_year|}}}|team={{{country_year}}}|competition={{{games|}}}}}
   | 3 = {{#invoke:team appearances list|main|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]]}}
   | 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|}}}|{{#invoke:team appearances list|main|team={{{country_year}}}|competition=Summer Olympics}}}}|Deaflympics|Paralympics={{#ifeq:{{{country_year}}}|Individual Paralympic Athletes|{{{summerappearances|}}}|{{#invoke:team appearances list|main|team={{{country_year}}}|competition=Summer {{{games}}}}}}}|Asian Games={{#invoke:team appearances list|main|team={{{country_year|}}}|competition=Asian Games}}}}
                 | 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}}}|{{#ifeq:{{PAGENAME}}|Russian Olympic Committee athletes at the Olympics|ROC_2020|{{{alias}}}}}|{{{year}}}}} | #default = {{#if:{{{seealso|}}}|{{{seealso}}}[[Category:Pages using infobox country at games with see also parameter]]}}}}
|  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