Difference between revisions for Playground / Table Markup Reference
| Merge of Version1 & Version2 | |
|---|---|
| 2 | |
| 3 | The generic markup for table elements follows this scheme: |
| 4 | |
| 5 | ##**!!*|!!!!(blue)(attribute parameters)!!!!(green){style parameters}!! |
| 6 | |
| 7 | ====Example:==== |
| 8 | |
| 9 | ##""*|(i |
| 10 | |
| 11 | ====Understanding the Table Markup Scheme==== |
| 12 | 1. **Opening delimiter** --- **##!!^|!!##** is any of the delimiters described in the //elements table// below. |
| 13 | 1. **Attributes** --- **##!!(blue)(attribute parameters)!!##** is an optional series of ##parameter |
| 14 | 1. **Style** --- **##!!(green){style parameters}!!##** is an optional series of CSS style declarations enclosed in braces. Multiple style declarations can be separated with a semicolon (**##;##**). |
| 15 | 1. **Content** --- **##content##** can be any valid content for that element (including [[Docs:TextFormatting|formatted text]]). |
| 16 | 1. **Closing delimiter** --- **##!!||!!##** is the standard delimiter. |
| … | … |
| 20 | |
| 21 | ===2. Elements=== |
| 22 | |
| 23 | #|{width=80%} |
| 24 | ?| Table Elements |? |
| 25 | *| HTML Elements | Delimiter | Notes |* |
| 26 | || ##<table>## | ##""!|""## | Optional, only useful for adding attributes. **Must** be first in table markup if used. Should be on a line by itself. || |
| 27 | || ##<caption>## | ##""?|""## | || |
| 28 | || ##<colgroup>## | ##""_|""## | || |
| … | … |
| 30 | || ##<thead>## | ##""[|""## | || |
| 31 | || ##<tfoot>## | ##""]|""## | || |
| 32 | || ##<tbody>## | ##""|#|""## | || |
| 33 | || ##<tr>## | |
| 34 | || ##<th>## | ##""^|""## | || |
| 35 | || ##<td>## | ##""|""## | || |
| 36 | |# |
| … | … |
| 38 | ===3. Attributes=== |
| 39 | |
| 40 | #| |
| 41 | ?| |
| 42 | *| Attribute | Markup key |* |
| 43 | *|( |
| 44 | || ##id## | ##i## || |
| 45 | || ##class## | ##c## || |
| 46 | || ##style## | ##s## || |
| 47 | *|( |
| 48 | || ## |
| 49 | || ##dir## | ##d## || |
| 50 | *|( |
| 51 | || ##colspan## | ##x## || |
| 52 | || ##rowspan## | ##y## || |
| 53 | || ##scope## | ##o## || |
| 54 | || |
| 55 | || ## |
| 56 | || |
| 57 | |
| 58 | || ## |
| 59 | || ## |
| 60 | |# |