Difference between revisions of "Template:Infobox games"

From blackwiki
Jump to navigation Jump to search
imported>Kasper2006
m (Undid revision 526987190 by Kasper2006 (talk))
imported>Frietjes
Line 52: Line 52:
 
| data12= {{#if: {{{officially opened by|}}} | {{{officially opened by}}} | {{{Officially opened by|}}} }}
 
| data12= {{#if: {{{officially opened by|}}} | {{{officially opened by}}} | {{{Officially opened by|}}} }}
  
| label13= Athlete's Oath
+
| label14= Athlete's Oath
| data13= {{ifempty| {{{athlete's oath|}}} | {{{Athlete's Oath|}}} | {{{athletes' oath|}}} }}
+
| data14= {{ifempty| {{{athlete's oath|}}} | {{{Athlete's Oath|}}} | {{{athletes' oath|}}} }}
  
| label14=Judge's Oath
+
| label15=Judge's Oath
| data14= {{#if: {{{judge's oath|}}} | {{{judge's oath}}} | {{{Judge's oath|}}} }}
+
| data15= {{#if: {{{judge's oath|}}} | {{{judge's oath}}} | {{{Judge's oath|}}} }}
  
| label15=Coach's Oath
+
| label16=Coach's Oath
| data15= {{{coaches' oath|}}}
+
| data16= {{{coaches' oath|}}}
  
| label16=Torch Lighter
+
| label17=Torch Lighter
| data16= {{ifempty | {{{torch lighter|}}} | {{{Torch Lighter|}}} | {{{All-Africa Torch|}}} | {{{Pan Am Torch|}}} | {{{Olympic Flame|}}} }}<noinclude><!-- 'All-Africa Torch', 'Pan Am Torch' = deprecated legacy parameters --></noinclude>
+
| data17= {{ifempty | {{{torch lighter|}}} | {{{Torch Lighter|}}} | {{{All-Africa Torch|}}} | {{{Pan Am Torch|}}} | {{{Olympic Flame|}}} }}<noinclude><!-- 'All-Africa Torch', 'Pan Am Torch' = deprecated legacy parameters --></noinclude>
  
| label17=Paralympic Torch
+
| label18=Paralympic Torch
| data17= {{#if:{{{Paralympic torch|}}} | {{{Paralympic torch|}}} | {{{Paralympic Torch|}}} }}
+
| data18= {{#if:{{{Paralympic torch|}}} | {{{Paralympic torch|}}} | {{{Paralympic Torch|}}} }}
  
| label18=[[Queen's Baton Relay|Queen's Baton Final Runner]]
+
| label19=[[Queen's Baton Relay|Queen's Baton Final Runner]]
| data18= {{{Queen's Baton|}}}
+
| data19= {{{Queen's Baton|}}}
  
| label19= Main venue
+
| label20= Main venue
| data19= {{ifempty | {{{stadium|}}} | {{{Stadium|}}} | {{{Main_venue|}}} }} <noinclude><!-- 'Main_venue' = deprecated legacy parameter --></noinclude>
+
| data20= {{ifempty | {{{stadium|}}} | {{{Stadium|}}} | {{{Main_venue|}}} }} <noinclude><!-- 'Main_venue' = deprecated legacy parameter --></noinclude>
  
| label20= Venues
+
| label21= Venues
| data20= {{#if:{{{venues|}}} | {{{venues}}} | {{{Venues|}}} }}<noinclude><!-- = deprecated legacy parameter --></noinclude>
+
| data21= {{#if:{{{venues|}}} | {{{venues}}} | {{{Venues|}}} }}<noinclude><!-- = deprecated legacy parameter --></noinclude>
  
|label21 = Paralympic Stadium
+
|label22 = Paralympic Stadium
|data21 = {{#if:{{{Paralympic stadium|}}} | {{{Paralympic stadium}}} | {{{Paralympic Stadium|}}} }}
+
|data22 = {{#if:{{{Paralympic stadium|}}} | {{{Paralympic stadium}}} | {{{Paralympic Stadium|}}} }}
  
|label22 = Ceremony venue
+
|label23 = Ceremony venue
|data22 = {{#if:{{{ceremony venue|}}} | {{{ceremony venue|}}} | {{{Ceremony venue|}}} }}
+
|data23 = {{#if:{{{ceremony venue|}}} | {{{ceremony venue|}}} | {{{Ceremony venue|}}} }}
  
|label23 = Race length
+
|label24 = Race length
|data23   = {{{length|}}}
+
|data24   = {{{length|}}}
  
|label24 = Individual Prize Money (US$)
+
|label25 = Individual Prize Money (US$)
|data24 = {{{indprize|}}}
+
|data25 = {{{indprize|}}}
  
|label25 = Team Prize Money (US$)
+
|label26 = Team Prize Money (US$)
|data25 = {{{tmprize|}}}
+
|data26 = {{{tmprize|}}}
  
|header33= {{#if:{{{SpreviousS|}}}{{{SnextS|}}}|Summer:}}
+
|header34= {{#if:{{{SpreviousS|}}}{{{SnextS|}}}|Summer:}}
|data34 = {{#if:{{{SpreviousS|}}}{{{SnextS|}}}|
+
|data35 = {{#if:{{{SpreviousS|}}}{{{SnextS|}}}|
 
<table style="width:100%; background:transparent;"><tr>
 
<table style="width:100%; background:transparent;"><tr>
 
<th style="width:50%; text-align: left;">{{#if:{{{SpreviousS|}}}|&lt;&nbsp; {{{SpreviousS}}}}}</th>  
 
<th style="width:50%; text-align: left;">{{#if:{{{SpreviousS|}}}|&lt;&nbsp; {{{SpreviousS}}}}}</th>  
Line 99: Line 99:
 
}}
 
}}
  
|header35= {{#if:{{{Sprevious|}}}{{{Snext|}}}|Winter:}}
+
|header36= {{#if:{{{Sprevious|}}}{{{Snext|}}}|Winter:}}
|data36 = {{#if:{{{Sprevious|}}}{{{Snext|}}}|
+
|data37 = {{#if:{{{Sprevious|}}}{{{Snext|}}}|
 
<table style="width:100%; background:transparent;"><tr>
 
<table style="width:100%; background:transparent;"><tr>
 
<th style="width:50%; text-align: left;">{{#if:{{{Sprevious|}}}|&lt;&nbsp; {{{Sprevious}}}}}</th>  
 
<th style="width:50%; text-align: left;">{{#if:{{{Sprevious|}}}|&lt;&nbsp; {{{Sprevious}}}}}</th>  
Line 107: Line 107:
 
}}
 
}}
  
|header37= {{#if:{{{Wprevious|}}}{{{Wnext|}}}|Winter:}}
+
|header38= {{#if:{{{Wprevious|}}}{{{Wnext|}}}|Winter:}}
|data38 = {{#if:{{{Wprevious|}}}{{{Wnext|}}}|
+
|data39 = {{#if:{{{Wprevious|}}}{{{Wnext|}}}|
 
<table style="width:100%; background:transparent;"><tr>
 
<table style="width:100%; background:transparent;"><tr>
 
<th style="width:50%; text-align: left;">{{#if:{{{Wprevious|}}}|&lt;&nbsp; {{{Wprevious}}}}}</th>  
 
<th style="width:50%; text-align: left;">{{#if:{{{Wprevious|}}}|&lt;&nbsp; {{{Wprevious}}}}}</th>  
Line 115: Line 115:
 
}}
 
}}
  
|header39= {{#if:{{{WpreviousS|}}}{{{WnextS|}}}|Summer:}}
+
|header40= {{#if:{{{WpreviousS|}}}{{{WnextS|}}}|Summer:}}
|data40 = {{#if:{{{WpreviousS|}}}{{{WnextS|}}}|
+
|data41 = {{#if:{{{WpreviousS|}}}{{{WnextS|}}}|
 
<table style="width:100%; background:transparent;"><tr>
 
<table style="width:100%; background:transparent;"><tr>
 
<th style="width:50%; text-align: left;">{{#if:{{{WpreviousS|}}}|&lt;&nbsp; {{{WpreviousS}}}}}</th>  
 
<th style="width:50%; text-align: left;">{{#if:{{{WpreviousS|}}}|&lt;&nbsp; {{{WpreviousS}}}}}</th>  
Line 123: Line 123:
 
}}
 
}}
  
|header41= {{#if:{{{previous|}}}{{{next|}}}|<!-- Chronology -->}}
+
|header42= {{#if:{{{previous|}}}{{{next|}}}|<!-- Chronology -->}}
|data42 = {{#if:{{{previous|}}}{{{next|}}}|
+
|data43 = {{#if:{{{previous|}}}{{{next|}}}|
 
<table style="width:100%; background:transparent;"><tr>
 
<table style="width:100%; background:transparent;"><tr>
 
<th style="width:50%; text-align: left;">{{#if:{{{previous|}}}|&lt;&nbsp; {{{previous}}}}}</th>  
 
<th style="width:50%; text-align: left;">{{#if:{{{previous|}}}|&lt;&nbsp; {{{previous}}}}}</th>  
Line 131: Line 131:
 
}}
 
}}
  
| label54=Website
+
| label55=Website
| data54= {{#if:{{{website|}}} | {{{website}}} | {{{Website|}}} }}
+
| data55= {{#if:{{{website|}}} | {{{website}}} | {{{Website|}}} }}
  
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 21:34, 19 August 2013

Host cityScript 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}}}|Template:Px|center|]]
{{{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}}}
Summer:
<  {{{SpreviousS}}} {{{SnextS}}}  >
Winter:
<  {{{Sprevious}}} {{{Snext}}}  >
<  {{{previous}}} {{{next}}}  >
Website{{{website}}}
[[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