#foreach($row in [1..2]) #foreach($col in [1..2]) #end #end
#if( $row == 1 && $col == 1) first cell #elseif( $row == 2 && $coll == 2) last cell #else middle cell #end