Difference between revisions of "Template:Event"

From ComputerCraft Wiki
Jump to: navigation, search
m (Swapped "nothing" and "nil". :P)
(Made table more readable (spacing, layout).)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
<table style="width: 70%; border: solid 2px black; margin: 2px; border-spacing: 0px;">
 +
 +
<tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid black 1px; background: #DBE5FF; line-height:28px;">[[File:Grid_Modem.png|24px]]&nbsp;&nbsp;Event {{{name}}}</td></tr>
 +
 +
<tr><td style="border-color: black; padding: .4em; padding-left: .4em;" colspan="2">{{{desc|No description provided.}}}</td></tr>
 +
 +
<tr style="background-color: #E8E8E8;"><td style="border-top: solid black 1px; border-right: solid black 1px; padding: .4em; width: 175px; font-weight: bold;">Returned Object 1</td>
 +
<td style="border-top: solid black 1px; border-color: black; padding: .4em; padding-left: .4em;">{{{return1|[[nil|Nothing]]}}}</td></tr>
  
<table style="width: 70%; border: solid 2px black; margin: 2px; padding: .3em; border-spacing: 0px;">
 
<tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid black 1px;">Event {{{name}}}</td></tr>
 
<tr><td style="border-color: black; padding: .2em; padding-left: .4em;" colspan="2">{{{desc|No description provided.}}}</td></tr>
 
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Returned Object 1</td>
 
<td style="border-color: black; padding: .2em; padding-left: .4em;">{{{return1|[[nil|Nothing]]}}}</td></tr>
 
 
{{#if: {{{return2|}}} |
 
{{#if: {{{return2|}}} |
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Returned Object 2</td>
+
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .4em; width: 175px; font-weight: bold;">Returned Object 2</td>
<td style="border-color: black; padding: .2em; padding-left: .4em;">{{{return2}}}</td></tr> |}}
+
<td style="border-color: black; padding: .4em; padding-left: .4em;">{{{return2}}}</td></tr> |}}
 +
 
 
{{#if: {{{return3|}}} |
 
{{#if: {{{return3|}}} |
<tr style="background-color: #FFFFFF;"><td style="border-right: solid black 1px; padding: .2em; width: 10%; font-weight: bold;">Returned Object 3</td>
+
<tr style="background-color: #E8E8E8;"><td style="border-right: solid black 1px; padding: .4em; width: 175px; font-weight: bold;">Returned Object 3</td>
<td style="border-color: black; padding: .2em; padding-left: .4em;">{{{return3}}}</td></tr> |}}
+
<td style="border-color: black; padding: .4em; padding-left: .4em;">{{{return3}}}</td></tr> |}}
</table>
+
  
 +
</table>
 
[[Category:Events]]
 
[[Category:Events]]
 
</includeonly>
 
</includeonly>

Revision as of 21:15, 30 November 2012