Difference between revisions of "Template:Worm Olympics"

From Worms Knowledge Base

Jump to: navigation, search
(Testing a new layout.)
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>
 +
<th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">{{#if:{{{winter|}}}|Winter}} Worm Olympics {{{year}}}</th>
 +
{{#if:{{{pgold|}}}|<th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">Players</th>
 +
{{#if:{{{clgold|}}}|<th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">Clans</th>
 +
{{#if:{{{cogold|}}}|<th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">Countries</th>
 +
</tr>
  
 
{{#if:{{{date|}}}|<tr><th style="width: 40%; font-weight: normal;">Date:</th>
 
{{#if:{{{date|}}}|<tr><th style="width: 40%; font-weight: normal;">Date:</th>
<td>{{{date}}}</td></tr>}}
+
<td>{{{date}}}</td>}}
 +
<th style="width: 40%; font-weight: normal;">Gold:</th><td>{{{pgold}}}</td>}}
 +
<th style="width: 40%; font-weight: normal;">1st:</th><td>{{{clgold}}}</td>}}
 +
<th style="width: 40%; font-weight: normal;">1st:</th><td>{{{cogold}}}</td></tr>}}
 +
 
 
{{#if:{{{tournaments|}}}|<tr><th style="width: 40%; font-weight: normal;">Number of tournaments:</th>
 
{{#if:{{{tournaments|}}}|<tr><th style="width: 40%; font-weight: normal;">Number of tournaments:</th>
<td>{{{tournaments}}}</td></tr>}}
+
<td>{{{tournaments}}}</td>}}
 +
{{#if:{{{psilver|}}}|<th style="width: 40%; font-weight: normal;">Silver:</th><td>{{{psilver}}}</td>}}
 +
{{#if:{{{clsilver|}}}|<th style="width: 40%; font-weight: normal;">2nd:</th><td>{{{clsilver}}}</td>}}
 +
{{#if:{{{cosilver|}}}|<th style="width: 40%; font-weight: normal;">2nd:</th><td>{{{cosilver}}}</td></tr>}}
 +
 
 
{{#if:{{{avgplayers|}}}|<tr><th style="width: 40%; font-weight: normal;">Average number of players:</th>
 
{{#if:{{{avgplayers|}}}|<tr><th style="width: 40%; font-weight: normal;">Average number of players:</th>
<td>{{{avgplayers}}}</td></tr>}}
+
<td>{{{avgplayers}}}</td>}}
 
+
{{#if:{{{pbronze|}}}|<th style="width: 40%; font-weight: normal;">Bronze:</th><td>{{{pbronze}}}</td>}}
{{#if:{{{pgold|}}}|<tr><th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">Players</th></tr>
+
{{#if:{{{clbronze|}}}|<th style="width: 40%; font-weight: normal;">3rd:</th><td>{{{clbronze}}}</td>}}
<tr><th style="width: 40%; font-weight: normal;">Gold:</th><td>{{{pgold}}}</td></tr>}}
+
{{#if:{{{cobronze|}}}|<th style="width: 40%; font-weight: normal;">3rd:</th><td>{{{cobronze}}}</td></tr>}}
{{#if:{{{psilver|}}}|<tr><th style="width: 40%; font-weight: normal;">Silver:</th><td>{{{psilver}}}</td></tr>}}
+
{{#if:{{{pbronze|}}}|<tr><th style="width: 40%; font-weight: normal;">Bronze:</th><td>{{{pbronze}}}</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>}}
+
 
+
 
+
  
 
</table></includeonly>
 
</table></includeonly>

Revision as of 22:12, 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