Difference between revisions for Playground / Table Markup Guide




← Previous edit
Next edit →

Version1 Version2 Differences
227 227
228 228 %%
229 229 #|
230   ||(x=2;y=2) 2x2 |(x=2) 2x1 |(y=2) 1x2 ||
  230 ||(x=2 y=2) 2x2 |(x=2) 2x1 |(y=2) 1x2 ||
231 231 ||(y=2) 1x2 | 1x1 ||
232 232 || 1x1 | 1x1 |(x=2) 2x1 ||
233 233 |#
234 234 %%
235 235
236 236 #|
237   ||(x=2;y=2) 2x2 |(x=2) 2x1 |(y=2) 1x2 ||
  237 ||(x=2 y=2) 2x2 |(x=2) 2x1 |(y=2) 1x2 ||
238 238 ||(y=2) 1x2 | 1x1 ||
239 239 || 1x1 | 1x1 |(x=2) 2x1 ||
240 240 |#
391 391
392 392 %%
393 393 #|
394   ?|Give priority|?
395   ||(x=2;y=2){background-color:pink}2x2|(x=2){background-color:lightblue}2x1|(y=2){background-color:lightyellow}1x2||
396   ||(y=2){background-color:lightyellow}1x2|{background-color:#333;color:white}1x1||
397   ||{background-color:lightblue}1x1|{background-color:#333;color:white}1x1|(x=2){background-color:pink}2x1||
398   |#
399   %%
400  
401   #|
402   ?|Give priority|?
403   ||(x=2;y=2){background-color:pink}2x2|(x=2){background-color:lightblue}2x1|(y=2){background-color:lightyellow}1x2||
404   ||(y=2){background-color:lightyellow}1x2|{background-color:#333;color:white}1x1||
405   ||{background-color:lightblue}1x1|{background-color:#333;color:white}1x1|(x=2){background-color:pink}2x1||
  394 ?| Give priority |?
  395 ||(x=2 y=2){background-color:pink} 2x2 |(x=2){background-color:lightblue} 2x1 |(y=2){background-color:lightyellow} 1x2 ||
  396 ||(y=2){background-color:lightyellow} 1x2 |{background-color:#333;color:white} 1x1 ||
  397 ||{background-color:lightblue} 1x1 |{background-color:#333;color:white} 1x1 |(x=2){background-color:pink} 2x1 ||
  398 |#
  399 %%
  400
  401 #|
  402 ?| Give priority |?
  403 ||(x=2 y=2){background-color:pink} 2x2 |(x=2){background-color:lightblue} 2x1 |(y=2){background-color:lightyellow} 1x2 ||
  404 ||(y=2){background-color:lightyellow} 1x2 |{background-color:#333;color:white} 1x1 ||
  405 ||{background-color:lightblue} 1x1 |{background-color:#333;color:white} 1x1 |(x=2){background-color:pink} 2x1 ||
406 406 |#
407 407
408 408 ===Adding style through classes===
522 522
523 523 %%
524 524 #|
525   !|(u:The number of employees and the foundation year of some imaginary companies.)|!  
526 525 ?|Table 1: Company data||
527 526 |[|
528 527 *| |(o=col)Employees|(o=col)Founded|*
533 532 %%
534 533
535 534 #|
536   !|(u:The number of employees and the foundation year of some imaginary companies.)|!  
537 535 ?|Table 1: Company data|?
538 536 |[|
539 537 *| |(o=col)Employees|(o=col)Founded|*