- For an informal introduction to this markup and several examples consult this server's TableMarkup page.
The generic markup for table elements follows this scheme:
{{color fg="#F00" text="
"}}(attribute parameters){{color fg="green" text="{style parameters}"}}content{{color fg="#F00" text=" | "}}
|=|(i:main_heading){text-size: 120%}This is the main heading||
- Opening delimiter
{{color fg="#F00" text=" | "}} is any of the delimiters described in the elements table below.
- Attributes
(attribute parameters) is an optional series of parameter:value declarations enclosed in brackets. Valid parameters are described in the attribute table below. Multiple parameter declarations can be separated with a semicolon (;).
- Style
{{color fg="green" text="{style parameters}"}} is an optional series of CSS style declarations enclosed in braces. Multiple style declarations can be separated with a semicolon (;).
- Content
content can be any valid content for that element (including formatted| text).
- Closing delimiter
{{color fg="#F00" text=" | "}} is the standard delimiter.
Some elements are self closing and do not accept any attributes, style parameters or content. See the notes in the elements table below.
|
Table Elements
XHTML Elements | Delimiter | Notes |
<table> | |!| | Optional, only useful for adding attributes. Must be first in table markup if used. Should be on a line by itself. |
<caption> | |?| | |
<colgroup> | |_| | |
<col /> | |-| | Selfclosing - must not be closed! |
<thead> | |[| | |
<tfoot> | |]| | |
<tbody> | |#| | |
<tr> | none | Will be opened for each row of table cells. |
<th> | |=| | |
<td> | || | |
Table Attributes
Attribute | Markup key |
Attribute | Markup key |
Core |
id | i |
title | t |
class | c |
style | s |
i18n |
xml:lang | l |
dir | d |
Table cells |
colspan | x |
rowspan | y |
scope | o |
headers | h |
abbr | a |
axis | z |
Other Table elements |
span | p |
summary | u |
CategoryWiki