Difference between revisions of "Template:Infobox Olympic event/sandbox2"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
imported>Zyxw
(Template as of 20:35, 9 October 2016 - last revision before converted to use {{Infobox}})
 
Line 1: Line 1:
 
<table class="infobox vevent" cellpadding="3" style="width:24em; text-align:left; font-size:90%; line-height:1.5em; border-collapse:collapse;">
 
<table class="infobox vevent" cellpadding="3" style="width:24em; text-align:left; font-size:90%; line-height:1.5em; border-collapse:collapse;">
<tr><td colspan="2" class="summary" style="text-align:center; font-size:125%; font-weight:bold; border-bottom:1px solid #aaa;">{{{event}}}<br>at the {{#switch:{{{games}}}
+
<tr><td colspan="2" class="summary" style="text-align:center; font-size:125%; font-weight:bold; border-bottom:1px solid #aaa;">{{{event}}}<div style="font-size:85%">at the {{#switch:{{{games}}}
 
|1896 Summer = Games of the I Olympiad
 
|1896 Summer = Games of the I Olympiad
 
|1900 Summer = Games of the II Olympiad
 
|1900 Summer = Games of the II Olympiad
Line 55: Line 55:
 
|2010 Winter = XXI Olympic Winter Games
 
|2010 Winter = XXI Olympic Winter Games
 
|2014 Winter = XXII Olympic Winter Games
 
|2014 Winter = XXII Olympic Winter Games
|2010 Summer Youth = 2010 Youth Olympic Games
+
|2018 Winter = XXIII Olympic Winter Games
 +
|2010 Summer Youth = I Summer Youth Olympic Games
 +
|2014 Summer Youth = II Summer Youth Olympic Games
 
|2012 Winter Youth = I Winter Youth Olympic Games
 
|2012 Winter Youth = I Winter Youth Olympic Games
 +
|2016 Winter Youth = II Winter Youth Olympic Games
 
|#default = Games of the Olympiad
 
|#default = Games of the Olympiad
}}</td></tr>
+
}}</div></td></tr>
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; border-bottom:1px solid #aaa;"> {{{image}}} {{#if:{{{caption|}}}|<br /><span style="font-size:95%">{{{caption}}}</span> }}</td></tr>}}<!--
+
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; border-bottom:1px solid #aaa;"> {{{image}}} {{#if:{{{caption|}}}|<div style="font-size:95%">{{{caption}}}</div> }}</td></tr>}}<!--
 
-->{{#if:{{{venues|}}}|<tr><th>Venues</th><td>{{{venues}}}</td></tr>}}<!--
 
-->{{#if:{{{venues|}}}|<tr><th>Venues</th><td>{{{venues}}}</td></tr>}}<!--
 
-->{{#if:{{{venue|}}}|<tr><th>Venue</th><td>{{{venue}}}</td></tr>}}<!--
 
-->{{#if:{{{venue|}}}|<tr><th>Venue</th><td>{{{venue}}}</td></tr>}}<!--
 
-->{{#if:{{{dates|}}}|<tr><th>Dates</th><td>{{{dates}}}</td></tr>}}<!--
 
-->{{#if:{{{dates|}}}|<tr><th>Dates</th><td>{{{dates}}}</td></tr>}}<!--
 
-->{{#if:{{{date|}}}|<tr><th>Date</th><td>{{{date}}}</td></tr>}}<!--
 
-->{{#if:{{{date|}}}|<tr><th>Date</th><td>{{{date}}}</td></tr>}}<!--
 +
-->{{#if:{{{num_events|}}}|<tr><th>{{abbr|No.|Number}} of events</th><td>{{{num_events}}}</td></tr>}}<!--
 
-->{{#if:{{{competitors|}}}|<tr><th>Competitors</th><td>{{{competitors}}}{{#if:{{{nations|}}}|&nbsp;from&nbsp;{{{nations}}}&nbsp;{{#ifeq:{{{nations}}}|1|nation|nations}}}}</td></tr>}}<!--
 
-->{{#if:{{{competitors|}}}|<tr><th>Competitors</th><td>{{{competitors}}}{{#if:{{{nations|}}}|&nbsp;from&nbsp;{{{nations}}}&nbsp;{{#ifeq:{{{nations}}}|1|nation|nations}}}}</td></tr>}}<!--
 
-->{{#if:{{{teams|}}}|<tr><th>Teams</th><td>{{{teams}}}</td></tr>}}<!--
 
-->{{#if:{{{teams|}}}|<tr><th>Teams</th><td>{{{teams}}}</td></tr>}}<!--
Line 80: Line 84:
 
-->{{#if:{{{bronze3|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]]&nbsp;</td><td class="nowraplinks">{{{bronze3}}}{{#if:{{{bronzeNOC3|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td>&nbsp;}}{{flagIOC|{{{bronzeNOC3}}}|{{{games|}}}}}}}</td></tr>}}<!--
 
-->{{#if:{{{bronze3|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]]&nbsp;</td><td class="nowraplinks">{{{bronze3}}}{{#if:{{{bronzeNOC3|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td>&nbsp;}}{{flagIOC|{{{bronzeNOC3}}}|{{{games|}}}}}}}</td></tr>}}<!--
 
--></table></td></tr>}}<!--
 
--></table></td></tr>}}<!--
-->{{#if:{{{prev|}}}{{{next|}}}|<tr class="noprint"><td style="text-align:left;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{prev|}}}|«{{{prev}}}|&nbsp;}}</td><td style="text-align:right;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|{{#ifeq:{{{games|}}}|2012 Summer|2016|{{{next}}}}}»|&nbsp;}}</td></tr>}}<!--
+
-->{{#if:{{{prev|}}}{{{next|}}}|<tr class="noprint"><td style="text-align:left;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{prev|}}}|{{{prev}}} &larr;|&nbsp;}}</td><td style="text-align:right;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|&rarr; {{#ifeq:{{{games|}}}|2016 Summer|2020|{{{next}}}}}|&nbsp;}}</td></tr>}}<!--
 
--></table><noinclude>{{documentation}}</noinclude>
 
--></table><noinclude>{{documentation}}</noinclude>

Latest revision as of 06:00, 23 December 2016

{{{event}}}
at the Games of the Olympiad
Template documentation[create]