Difference between revisions for Playground / Table Markup Reference




← Previous edit
Next edit →

Version1 Version2 Differences
2 2
3 3 The generic markup for table elements follows this scheme:
4 4
5     ##**!!*|!!!!(blue)(attribute parameters)!!!!(green){style parameters}!!content!!||!!**##
  5   ##**!!*|!!!!(blue)(attribute parameters)!!!!(green){style parameters}!! content !!||!!**##
6 6
7 7 ====Example:====
8 8
9     ##""*|(i=main_heading){text-size: 120%}This is the main heading|*""##
  9   ##""*|(i=main_heading){text-size: 120%} This is the main heading |*""##
10 10
11 11 ====Understanding the Table Markup Scheme====
12 12   1. **Opening delimiter** --- **##!!^|!!##** is any of the delimiters described in the //elements table// below.
20 20
21 21 ===2. Elements===
22 22
23   #|
24   !|{width: 80%}|!
  23 #|{width=80%}
25 24 ?| Table Elements |?
26 25 *| HTML Elements | Delimiter | Notes |*
27 26 || ##<table>## | ##""!|""## | Optional, only useful for adding attributes. **Must** be first in table markup if used. Should be on a line by itself. ||
39 38 ===3. Attributes===
40 39
41 40 #|
42   ?|Table Attributes|?
  41 ?| Table Attributes |?
43 42 *| Attribute | Markup key |*
44   *|(x=2) Core |*
  43 *|(colspan=2) Core |*
45 44 || ##id## | ##i## ||
46 45 || ##class## | ##c## ||
47 46 || ##style## | ##s## ||
48   *|(x=2) i18n |*
  47 *|(colspan=2) i18n |*
49 48 || ##lang## | ##l## ||
50 49 || ##dir## | ##d## ||
51   *|(x=2) Table cells |*
  50 *|(colspan=2) Table cells |*
52 51 || ##colspan## | ##x## ||
53 52 || ##rowspan## | ##y## ||
54 53 || ##scope## | ##o## ||
  54 ||(colspan=2 a=center) style ||  
  55 || ##width## | ##w## ||  
  56 ||(colspan=2 a=center) class ||  
  57 || ##align## | ##a## ||  
  58 || ##bgcolor## | ##c## ||  
  59 || ##vertical## | ##v## ||  
55 60 |#