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