Difference between revisions of "Template:Worm Olympics"

From Worms Knowledge Base

Jump to: navigation, search
(Undo revision 22273 by Balee (talk))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><table class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;">
 
<includeonly><table class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;">
 +
<tr><th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">{{#if:{{{winter|}}}|Winter}} Worm Olympics {{{year}}}</th></tr>
  
<tr>
+
{{#if:{{{date|}}}|<tr><th style="width: 40%; font-weight: normal;">Date:</th>
<th colspan="2" style="width: 40%; font-size: larger; text-align: center; vertical-align: middle;">{{#if:{{{winter|}}}|Winter}} Worm Olympics {{{year}}}</th>
+
<td>{{{date}}}</td></tr>}}
{{#if:{{{pgold|}}}|<th colspan="2" style="width: 20%; font-size: larger; text-align: center; vertical-align: middle;">Players</th>
+
{{#if:{{{tournaments|}}}|<tr><th style="width: 40%; font-weight: normal;">Number of tournaments:</th>
{{#if:{{{clgold|}}}|<th colspan="2" style="width: 20%; font-size: larger; text-align: center; vertical-align: middle;">Clans</th>
+
<td>{{{tournaments}}}</td></tr>}}
{{#if:{{{cogold|}}}|<th colspan="2" style="width: 20%; font-size: larger; text-align: center; vertical-align: middle;">Countries</th>
+
{{#if:{{{avgplayers|}}}|<tr><th style="width: 40%; font-weight: normal;">Average number of players:</th>
</tr>
+
<td>{{{avgplayers}}}</td></tr>}}
  
{{#if:{{{date|}}}|<tr><th font-weight: normal;">Date:</th>
+
{{#if:{{{pgold|}}}|<tr><th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">Players</th></tr>
<td>{{{date}}}</td>}}
+
<tr><th style="width: 40%; font-weight: normal;">Gold:</th><td>{{{pgold}}}</td></tr>}}
<th font-weight: normal;">Gold:</th><td>{{{pgold}}}</td>}}
+
{{#if:{{{psilver|}}}|<tr><th style="width: 40%; font-weight: normal;">Silver:</th><td>{{{psilver}}}</td></tr>}}
<th font-weight: normal;">1st:</th><td>{{{clgold}}}</td>}}
+
{{#if:{{{pbronze|}}}|<tr><th style="width: 40%; font-weight: normal;">Bronze:</th><td>{{{pbronze}}}</td></tr>}}
<th font-weight: normal;">1st:</th><td>{{{cogold}}}</td></tr>}}
+
 
 +
{{#if:{{{clgold|}}}|<tr><th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">Clans</th></tr>
 +
<tr><th style="width: 40%; font-weight: normal;">1st:</th><td>{{{clgold}}}</td></tr>}}
 +
{{#if:{{{clsilver|}}}|<tr><th style="width: 40%; font-weight: normal;">2nd:</th><td>{{{clsilver}}}</td></tr>}}
 +
{{#if:{{{clbronze|}}}|<tr><th style="width: 40%; font-weight: normal;">3rd:</th><td>{{{clbronze}}}</td></tr>}}
 +
 
 +
{{#if:{{{cogold|}}}|<tr><th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">Countries</th></tr>
 +
<tr><th style="width: 40%; font-weight: normal;">1st:</th><td>{{{cogold}}}</td></tr>}}
 +
{{#if:{{{cosilver|}}}|<tr><th style="width: 40%; font-weight: normal;">2nd:</th><td>{{{cosilver}}}</td></tr>}}
 +
{{#if:{{{cobronze|}}}|<tr><th style="width: 40%; font-weight: normal;">3rd:</th><td>{{{cobronze}}}</td></tr>}}
  
{{#if:{{{tournaments|}}}|<tr><th font-weight: normal;">Number of tournaments:</th>
 
<td>{{{tournaments}}}</td>}}
 
{{#if:{{{psilver|}}}|<th font-weight: normal;">Silver:</th><td>{{{psilver}}}</td>}}
 
{{#if:{{{clsilver|}}}|<th font-weight: normal;">2nd:</th><td>{{{clsilver}}}</td>}}
 
{{#if:{{{cosilver|}}}|<th font-weight: normal;">2nd:</th><td>{{{cosilver}}}</td></tr>}}
 
  
{{#if:{{{avgplayers|}}}|<tr><th font-weight: normal;">Average number of players:</th>
 
<td>{{{avgplayers}}}</td>}}
 
{{#if:{{{pbronze|}}}|<th font-weight: normal;">Bronze:</th><td>{{{pbronze}}}</td>}}
 
{{#if:{{{clbronze|}}}|<th font-weight: normal;">3rd:</th><td>{{{clbronze}}}</td>}}
 
{{#if:{{{cobronze|}}}|<th font-weight: normal;">3rd:</th><td>{{{cobronze}}}</td></tr>}}
 
  
 
</table></includeonly>
 
</table></includeonly>

Latest revision as of 23:07, 19 February 2013



Winter Worm Olympics {{{year}}}
Date: {{{date}}}
Number of tournaments: {{{tournaments}}}
Average number of players: {{{avgplayers}}}
Players
Gold:{{{pgold}}}
Silver:{{{psilver}}}
Bronze:{{{pbronze}}}
Clans
1st:{{{clgold}}}
2nd:{{{clsilver}}}
3rd:{{{clbronze}}}
Countries
1st:{{{cogold}}}
2nd:{{{cosilver}}}
3rd:{{{cobronze}}}


Personal tools