1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<table> <tbody> #foreach($row in [1..2]) <tr> #foreach($col in [1..2]) <td> #if( $row == 1 && $col == 1) first cell #elseif( $row == 2 && $coll == 2) last cell #else middle cell #end </td> #end </tr> #end </tbody> </table>