Difference between revisions of "Template:Infobox games"

From blackwiki
Jump to navigation Jump to search
(Undid revision 665339528 by 176.32.19.205 (talk))
Line 5: Line 5:
 
| aboveclass = summary
 
| aboveclass = summary
  
| immagine= {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{logo|}}}|{{{logo}}}|{{{Logo|}}}}}|size={{#if:{{{Size|}}}|{{{Size}}}|{{{size|}}}}}|alt={{{logo_alt|}}}}}  
+
| image= {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{logo|}}}|{{{logo}}}|{{{Logo|}}}}}|size={{#if:{{{Size|}}}|{{{Size}}}|{{{size|}}}}}|alt={{{logo_alt|}}}}}  
 
| caption= {{#if:{{{caption|}}}|{{{caption}}}|{{{Optional caption|}}}}}
 
| caption= {{#if:{{{caption|}}}|{{{caption}}}|{{{Optional caption|}}}}}
  
 
| label1 = {{#if:{{{host city|}}}{{{Host city|}}}{{{Host City|}}}|Host city|Host}}
 
| label1 = {{#if:{{{host city|}}}{{{Host city|}}}{{{Host City|}}}|Host city|Host}}
 
| data1 = {{ifempty | {{{host city|}}} | {{{Host city|}}}  | {{{Host City|}}} | {{{host|}}} }}
 
| data1 = {{ifempty | {{{host city|}}} | {{{Host city|}}}  | {{{Host City|}}} | {{{host|}}} }}
| class1 = Città ospitante
+
| class1 = location
  
| label2 = Paese
+
| label2 = Country
 
| data2 = {{#if:{{{country|}}} | {{{country}}} | {{{Country|}}} }}
 
| data2 = {{#if:{{{country|}}} | {{{country}}} | {{{Country|}}} }}
  
Line 18: Line 18:
 
| data3 = {{#if:{{{motto|}}} | {{{motto}}} | {{{Motto|}}} }}
 
| data3 = {{#if:{{{motto|}}} | {{{motto}}} | {{{Motto|}}} }}
  
| label4 = {{#if:{{{ProNazioni partecipantig|}}}|Nazioni partecipanti}}
+
| label4 = {{#if:{{{Provinces and Territories participating|}}}|Provinces and Territories|Nations}} participating
| data4 = {{#if:{{{Nazioni partecipanti}}}
+
| data4 = {{#if:{{{Provinces and Territories participating|}}}
  | {{{Nazioni partecipanti}}}
+
  | {{{Provinces and Territories participating}}}
  | {{ifempty | {{{Nazioni partecipanti|}}} | {{{Nazioni partecipanti|}}} | {{{Nazioni|}}} }}
+
  | {{ifempty | {{{nations participating|}}} | {{{Nations participating|}}} | {{{Nations|}}} }}
 
  }}
 
  }}
  
| label5 = Team partecipanti
+
| label5 = Teams participating
| data5 = {{ifempty | {{{Team partecipanti|}}} | {{{Team partecipanti|}}} }}
+
| data5 = {{ifempty | {{{teams participating|}}} | {{{Teams participating|}}} }}
  
| label6 = Paesi debuttanti
+
| label6 = Debuting countries
| data6  = {{#if:{{{Paesi debuttanti|}}} | {{{Paesi debuttanti}}} | {{{Paesi debuttanti|}}} }}
+
| data6  = {{#if:{{{debuting countries|}}} | {{{debuting countries}}} | {{{Debuting countries|}}} }}
  
| label7 = Atleti partecipanti <noinclude><!-- 'Athletes' = deprecated legacy parameter --></noinclude>
+
| label7 = Athletes participating<noinclude><!-- 'Athletes' = deprecated legacy parameter --></noinclude>
| data7 = {{ifempty | {{{Atleti partecipanti|}}} | {{{Atleti partecipanti|}}} | {{{Atleti||}}} }}
+
| data7 = {{ifempty | {{{athletes participating|}}} | {{{Athletes participating|}}} | {{{Athletes|}}} }}
  
| label8 = Eventi
+
| label8 = Events
| data8= {{#if: {{{Eventi|}}} | {{{Eventi}}} | {{{eventi|}}} }}
+
| data8= {{#if: {{{Events|}}} | {{{Events}}} | {{{events|}}} }}
  
 
<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>
 
<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>
  
| label9= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Cerimonia di apertura|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Cerimonia di apertura|Cerimonia di apertura]]|Cerimonia di apertura}}
+
| label9= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games opening ceremony|Opening ceremony]]|Opening ceremony}}
| data9= {{#if: {{{Cerimonia di apertura|}}} | {{{Cerimonia di apertura}}} | {{{Cerimonia di apertura|}}} }}
+
| data9= {{#if: {{{opening ceremony|}}} | {{{opening ceremony}}} | {{{Opening ceremony|}}} }}
  
 
<noinclude><!-- Programming note: as above` --></noinclude>
 
<noinclude><!-- Programming note: as above` --></noinclude>
  
| label10= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games closing ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Cerimonia di chiusura|Cerimonia di chiusura]]|Cerimonia di chiusura}}
+
| label10= {{#ifexist:{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games closing ceremony|[[{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} Games closing ceremony|Closing ceremony]]|Closing ceremony}}
 
| data10= {{#if: {{{Closing ceremony|}}} | {{{Closing ceremony}}} | {{{closing ceremony|}}} }}
 
| data10= {{#if: {{{Closing ceremony|}}} | {{{Closing ceremony}}} | {{{closing ceremony|}}} }}
  
| label11= Date
+
| label11= Dates
| data11= {{#if:{{{date|}}}|{{{date}}}|{{{Date|}}}}} <noinclude><!-- Deprecated legacy parameters --></noinclude>
+
| data11= {{#if:{{{dates|}}}|{{{dates}}}|{{{Dates|}}}}} <noinclude><!-- Deprecated legacy parameters --></noinclude>
  
| label12= Ufficialmente aperti da
+
| label12= Officially opened by
| data12= {{#if: {{{Ufficialmente aperti da|}}} | {{{Ufficialmente aperti da}}} | {{{Ufficialmente aperti da|}}} }}
+
| data12= {{#if: {{{officially opened by|}}} | {{{officially opened by}}} | {{{Officially opened by|}}} }}
  
| label13= Ufficialmente chiusi da
+
| label13= Officially closed by
| data13= {{#if: {{{Ufficialmente chiusi da|}}} | {{{Ufficialmente chiusi da}}} | {{{Ufficialmente chiusi da|}}} }}
+
| data13= {{#if: {{{officially closed by|}}} | {{{officially closed by}}} | {{{Officially closed by|}}} }}
  
 
| label14= Athlete's Oath
 
| label14= Athlete's Oath

Revision as of 15:51, 3 June 2015

HostScript error: No such module "If empty".
Nations participatingScript error: No such module "If empty".
Teams participatingScript error: No such module "If empty".
Athletes participatingScript error: No such module "If empty".
Athlete's OathScript error: No such module "If empty".
Torch LighterScript error: No such module "If empty".
Main venueScript error: No such module "If empty".

[[Category:Infobox templates|Template:Remove first word]]

50px Template documentation[view] [edit] [history] [purge]

Usage

{{{name}}}
[[File:{{{logo}}}|{{{size}}}]]
{{{caption}}}
Host cityScript error: No such module "If empty".
Country{{{country}}}
Motto{{{motto}}}
Nations participatingScript error: No such module "If empty".
Teams participatingScript error: No such module "If empty".
Debuting countries{{{debuting countries}}}
Athletes participatingScript error: No such module "If empty".
Events{{{events}}}
Opening ceremony{{{opening ceremony}}}
Closing ceremony{{{closing ceremony}}}
Dates{{{dates}}}
Officially opened by{{{officially opened by}}}
Athlete's OathScript error: No such module "If empty".
Judge's Oath{{{judge's oath}}}
Torch LighterScript error: No such module "If empty".
Paralympic Torch{{{Paralympic torch}}}
Queen's Baton Final Runner{{{Queen's Baton}}}
Main venueScript error: No such module "If empty".
Paralympic Stadium{{{Paralympic stadium}}}
Race length{{{length}}}
Individual Prize Money (US$){{{indprize}}}
Team Prize Money (US$){{{tmprize}}}
Website{{{website}}}
Summer:
<  {{{SpreviousS}}} {{{SnextS}}}  >
Winter:
<  {{{Sprevious}}} {{{Snext}}}  >
<  {{{previous}}} {{{next}}}  >
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox games
| name                   = 
| logo                   = 
| size                   = 
| caption                = 
| host city              = 
| country                = 
| motto                  = 
| organizer              = <!-- or: | organiser = -->
| edition                = 
| nations participating  =
| teams participating    = 
| debuting countries     =
| athletes participating = 
| sports                 = 
| events                 = 
| dates                  = 
| opening ceremony       = <!-- {{Start date|YYYY|MM|DD}} -->
| closing ceremony       = <!-- {{End date|YYYY|MM|DD}} -->
| officially opened by   = 
| athlete's oath         = 
| judge's oath           = 
| torch lighter          = 
| Paralympic torch       = 
| Queen's Baton          = <!-- for Commonwealth Games only -->
| stadium                = 
| Paralympic stadium     = 
| length                 = 
| indprize               = 
| tmprize                = 
| website                = <!-- {{URL|example.com}} -->
| previous               = 
| next                   = 
| SpreviousS             = 
| SnextS                 = 
| Sprevious              = 
| Snext                  = 
}}

Parameters

  • name = Name of the games
  • logo = Internal URL to image file
  • size = Custom size for the provided logo
  • caption = For a brief description of the provided logo
  • host city = Name of host city
  • country = Name of host country
  • motto = Motto/Slogan of the games
  • organizer/organiser = Body responsible for organising the games
  • edition = Number within the series (e.g. 16th, XVI)
  • nations participating = Total number of participating nations
  • teams participating = Total number of participating teams
  • debuting countries = Countries debuting at the games
  • athletes participating = Total number of participating athletes
  • events = Number of events
  • opening ceremony = Date of opening ceremony. Use {{Start date}}.
  • closing ceremony = Date of closing ceremony. Use {{End date}}.
  • officially opened by = Name of person who officially opened the Games
  • athlete's oath = Name of athlete who swore the athletes' oath
  • judge's oath = Name of judge/official who swore the oath
  • torch lighter = Name of last torch bearer
  • Paralympic torch = Name of last paralympic torch bearer, if different
  • stadium = Name of the main stadium
  • Paralympic stadium = Name of the paralympic stadium, if different
  • length = Race length
  • indprize = Individual Prize Money (US$)
  • tmprize = Team Prize Money (US$)
  • Sprevious = Summer articles only: The previous Paralympic Winter Games
  • Snext = Summer articles only: The next Paralympic Winter Games
  • SpreviousS = Summer articles only: The previous Paralympic Summer Games
  • SnextS = Summer articles only: The next Paralympic Summer Games
  • Wprevious = Winter articles only: The previous Paralympic Winter Games
  • Wnext = Winter articles only: The next Paralympic Winter Games
  • WpreviousS = Winter articles only: The previous Paralympic Summer Games
  • WnextS = Winter articles only: The next Paralympic Summer Games
  • previous = For events with no Summer/Winter: The previous Games
  • next = For events with no Summer/Winter: The next Games
  • website = Website; use {{URL}}

Microformat

Template:UF-hcal

Tracking category

See also