Comparing two revisions:

Revisions for Tables

Sun, 05/02/2012 - 22:29 by FuzzSun, 05/02/2012 - 22:30 by Fuzz
Changes to Body
 
Regards,
 
Regards,
 
Fuzz
 
Fuzz
  +
<!--break-->
 
 
Current revision:
Fuzz's picture

Tables

After the last round of module upgrades the syntax for tables has changed slightly. Anyone creating or modifying challenges should be aware:

1. There is no longer a need to specify the background colour of each line to get the alternating background colour for tables. The textile module now uses the themes configuration for alternating background colours in tables, which has been there all along but due to an issue in the textile module was not being picked up.

Old syntax:


{background:#FFFFFF}. |Blood|Y|-|
{background:#dddddd}. |Deadite|-|-|
{background:#FFFFFF}. |don-robbery|-|-|
{background:#dddddd}. |KillerSL|-|-|
{background:#FFFFFF}. |Kippa|-|-|
{background:#dddddd}. |Limpet|-|-|

New syntax:


|Blood|-|-|
|Deadite|-|-|
|don-robbery|-|-|
|KillerSL|-|-|
|Kippa|-|-|

2. Table heading syntax changed

Old syntax:

||_. Team IPX||_. Thursday, February 2nd at 8:30PM EDT 10.30pm NZDT|_. Playing|

New syntax:

|_. Team IPX|_. Monday, Febuary 6th at 8:00PM EDT 10pm NZDT|_. Playing|

Regards,
Fuzz