Additions:
|=|(x:2)Core||
|=|(x:2)i18n||
|=|(x:2)Table cells||
|=|(x:2)Other Table elements||
""|!|(u:The summary)||""
""|?|(s:color:red;font-weight:bold)The Caption||""
""|=|Supervisor|=|(x:2)Employee||""
""|=|(y:3;o:row)Mae East||John Smith||555-1234||""
""|=|(y:2;o:row)Allister Baker||Frank Daniels||555-1237||""
|!|(u:The summary)||
|?|(s:color:red;font-weight:bold)The Caption||
|=|Supervisor|=|(x:2)Employee||
|=|(y:3;o:row)Mae East||John Smith||555-1234||
|=|(y:2;o:row)Allister Baker||Frank Daniels||555-1237||
Deletions:
|=(x:2)|Core||
|=(x:2)|i18n||
|=(x:2)|Table cells||
|=(x:2)|Other Table elements||
""|!(u:The summary)|""
""|?(s:color:red;font-weight:bold)|The Caption||""
""|=|Supervisor|=(x:2)|Employee||""
""|=(y:3;o:row)|Mae East||John Smith||555-1234||""
""|=(y:2;o:row)|Allister Baker||Frank Daniels||555-1237||""
|!(u:The summary)|
|?(s:color:red;font-weight:bold)|The Caption||
|=|Supervisor|=(x:2)|Employee||
|=(y:3;o:row)|Mae East||John Smith||555-1234||
|=(y:2;o:row)|Allister Baker||Frank Daniels||555-1237||
Additions:
~- --[[http://temp.tormodh.net/wakka.against.r157.patch]]--
~- patch with colgroup/col tags: [[http://temp.tormodh.net/wakka.against.r158.patch]]
||<colgroup>||""|_|""||||
||<col />||""|-|""||Selfclosing - must not be closed!||
Deletions:
~- [[http://temp.tormodh.net/wakka.against.r157.patch]]
Additions:
~- [[http://temp.tormodh.net/wakka.against.r157.patch]]
Additions:
|]|
|=(x:2)|Core||
|=(x:2)|i18n||
|=(x:2)|Table cells||
|=(x:2)|Other Table elements||
Additions:
<table class="wikka" summary="The summary">
<caption style="color:red;font-weight:bold">The Caption</caption>
<thead>
<tr><th>Supervisor</th><th colspan="2">Employee</th></tr>
<tbody>
<tr><th rowspan="3" scope="row">Mae East</th><td>John Smith</td><td>555-1234</td></tr>
Deletions:
<table class="wikka" summary="The summary"><caption style="color:red;font-weight:bold">The Caption</caption>
<thead><tr><th>Supervisor</th><th colspan="2">Employee</th></tr>
<tbody><tr><th rowspan="3" scope="row">Mae East</th><td>John Smith</td><td>555-1234</td></tr>
Additions:
====Example wikka markup====
===Resulting HTML===
<table class="wikka" summary="The summary"><caption style="color:red;font-weight:bold">The Caption</caption>
<thead><tr><th>Supervisor</th><th colspan="2">Employee</th></tr>
<tr><th>Name</th><th>Name</th><th>Phone</th></tr>
</thead>
<tbody><tr><th rowspan="3" scope="row">Mae East</th><td>John Smith</td><td>555-1234</td></tr>
<tr><td>Frank Smith</td><td>555-1235</td></tr>
<tr><td>Daniel Smith</td><td>555-1236</td></tr>
<tr><th rowspan="2" scope="row">Allister Baker</th><td>Frank Daniels</td><td>555-1237</td></tr>
<tr><td>Jack Daniels</td><td>555-1238</td></tr>
</tbody>
</table>
===Result===
Deletions:
Example code are:
Additions:
SimpleTable has gone through a rewrite. There now are a consistent style for the markup:
Pipe - optional symbol for element - optional parenthesis' enclosing list of attributes - pipe.
|?|Elements||
|=|""(X)HTML Element""|=|Markup code|=|Notes||
||<table>||""|!|""||Optional, only useful for adding attributes. **Must** be first in table markup if used. Should be on a line by itself.||
||<caption>||""|?|""||||
||<thead>||""|[|""||||
||<tfoot>||""|]|""||||
||<tbody>||""|#|""||||
||<tr>||none||Will be opened for each row of table cells.||
||<th>||""|=|""||||
||<td>||""||""||||
Attributes are on the form of:
key char - colon - value
|?|Attributes||
|=|Attribute|=|Markup key||
||id||i||
||title||t||
||class||c||
||style||s||
||colspan||x||
||rowspan||y||
||summary||u||
||xml:lang||l||
||scope||o||
||headers||h||
||abbr||a||
||axis||z||
||span||p||
||dir||d||
Example code are:
""|!(u:The summary)|""
""|?(s:color:red;font-weight:bold)|The Caption||""
""|[|""
""|=|Supervisor|=(x:2)|Employee||""
""|=|Name|=|Name|=|Phone||""
""|#|""
""|=(y:3;o:row)|Mae East||John Smith||555-1234||""
""||Frank Smith||555-1235||""
""||Daniel Smith||555-1236||""
""|=(y:2;o:row)|Allister Baker||Frank Daniels||555-1237||""
""||Jack Daniels||555-1238||""
|!(u:The summary)|
|?(s:color:red;font-weight:bold)|The Caption||
|[|
|=|Supervisor|=(x:2)|Employee||
|=|Name|=|Name|=|Phone||
|#|
|=(y:3;o:row)|Mae East||John Smith||555-1234||
||Frank Smith||555-1235||
||Daniel Smith||555-1236||
|=(y:2;o:row)|Allister Baker||Frank Daniels||555-1237||
||Jack Daniels||555-1238||
Deletions:
I'm working on expanding my [[Wikka:SimpleTables]] hack for [[http://www.wikkawiki.org/ WikkaWiki]]. On this install I've added header cells to the functionality. Normal data cells are started by a ''""||""'' and header cells are started by a ''""|=|""'' delimiter.
You need to close the last cell of each row, and you'll need at least one empty line after the table if there is another table following the current one.
Issue: Header and col/rowspan do++es not++ compute.
""|=2|Full name|=|Number||""
""||John||Smith||12||""
""||Jane||Doe||32||""
|=2|Full name|=|Number||
||John||Smith||12||
||Jane||Doe||32||
**note on rowspan/colspan:** is testing. can++not++ be combined with header. use ""|2,2|"" as delimiter for 2 by 2 cell. numbers are optional. ++bug makes comma optional too :/++
""|1,2|1x2|2|2x1||""
""||1x1|,2|1x2||""
""|2,0|2x1||""
|1,2|1x2|2|2x1||
||1x1|,2|1x2||
|2,0|2x1||
Styling is through CSS; the table is ""<table class="wikka">"" ; I've styled it with a simple boder on the table and border on the ""<td>"".
code for this update ++not yet published++ at Wikka:SimpleTables.
All code to do this is written by me and commented a bit.
**Patches and notes are at ""WikkaWiki"":** Wikka:SimpleTables.
Feel free to use.
++It is quite fragile. I'll strenghten it a bit right now++ :)
Example:
""||Header||Header 2||Header 3||""
""||Data||Data 2||Data 3||""
||Header||Header 2||Header 3||
||Data||Data 2||Data 3||
Some FormattingRules included:
""||====Hi====||So... broken, yes? No!||""
""||Data||@@Data@@||""
||====Hi====||So... broken, yes? No!||
||Data||@@Data@@||
More formatting:
""||====Hi====||>>So... broken, yes?>>||Hehe||""
""||Data||@@Data@@||#%ANY KEY#%||""
""||---F---o---r---c---e---d||{{color c="blue" text="This is a test."}}||""
||====Hi====||>>So... broken, yes?>>||Hehe||
||Data||@@Data@@||#%ANY KEY#%||
||---F---o---r---c---e---d||{{color c="blue" text="This is a test."}}||
Uneven table:
""||1||2||""
""||3||4||5||""
||1||2||
||3||4||5||
Two tables too close for comfort ''(not any more)'':
""||1||2||4||""
""||3||4||5||""
""||1||2||4||""
""||3||4||5||""
||1||2||4||
||3||4||5||
||1||2||4||
||3||4||5||
Not closed row ++(closes at start of next row)++:
""||W||X""
""||Y||Z||""
||W||X
||Y||Z||
Not closed table (closes at end of page):
""||W||X||""
""||Y||Z""
""----""
""Hahaha!""
||W||X||
||Y||Z
Hahaha!
Additions:
You need to close the last cell of each row, and you'll need at least one empty line after the table if there is another table following the current one.
Issue: Header and col/rowspan do++es not++ compute.
**note on rowspan/colspan:** is testing. can++not++ be combined with header. use ""|2,2|"" as delimiter for 2 by 2 cell. numbers are optional. ++bug makes comma optional too :/++
""|1,2|1x2|2|2x1||""
""|2,0|2x1||""
|1,2|1x2|2|2x1||
|2,0|2x1||
code for this update ++not yet published++ at Wikka:SimpleTables.
All code to do this is written by me and commented a bit.
**Patches and notes are at ""WikkaWiki"":** Wikka:SimpleTables.
Deletions:
You need to close the last cell of the last row, and you'll need at least one empty line after the table if there is another table following the current one.
Bug: you'll need to close each row with a ++simple++ delimiter. ''""||""'' will do.
Issue: Header and col/rowspan does not compute.
**note on rowspan/colspan:** is testing. cannot be combined with header. use ""|2,2|"" as delimiter for 2 by 2 cell. numbers are optional. bug makes comma optional too :/
""|12|1x2|2|2x1||""
""|20|2x1||""
|12|1x2|2|2x1||
|20|2x1||
code for this update not yet published.
All code to do this is written by me and commented a bit; ++[[http://temp.tormodh.net/wakka.phps wakka.php source]]++.
**Patches and notes are at ""WikkaWiki"":** [[Wikka:SimpleTables]].
Additions:
Two tables too close for comfort ''(not any more)'':
Not closed row ++(closes at start of next row)++:
Deletions:
Two tables too close for comfort:
Not closed row (closes at start of next row):
Additions:
You need to close the last cell of the last row, and you'll need at least one empty line after the table if there is another table following the current one.
Bug: you'll need to close each row with a ++simple++ delimiter. ''""||""'' will do.
Issue: Header and col/rowspan does not compute.
""|=2|Full name|=|Number||""
""||John||Smith||12||""
""||Jane||Doe||32||""
|=2|Full name|=|Number||
||John||Smith||12||
||Jane||Doe||32||
Deletions:
You need to close the last cell of the last row, unless you've got at least one empty line after the table (two if there is another table following the current one).
Additions:
**note on rowspan/colspan:** is testing. cannot be combined with header. use ""|2,2|"" as delimiter for 2 by 2 cell. numbers are optional. bug makes comma optional too :/
""|12|1x2|2|2x1||""
""||1x1|,2|1x2||""
""|20|2x1||""
|12|1x2|2|2x1||
||1x1|,2|1x2||
|20|2x1||
Additions:
I'm working on expanding my [[Wikka:SimpleTables]] hack for [[http://www.wikkawiki.org/ WikkaWiki]]. On this install I've added header cells to the functionality. Normal data cells are started by a ''""||""'' and header cells are started by a ''""|=|""'' delimiter.
You need to close the last cell of the last row, unless you've got at least one empty line after the table (two if there is another table following the current one).
code for this update not yet published.
Deletions:
I missed [[SimpleTable]]s in Wikka, and being temporary blind, I missed the discussions at [[Wikka:WikkaTables]] and [[Wikka:TableAction]].
Anyway, I needed something simple... So I edited the "wakka" formatter to open a row with ""||"", and open a table if none were open yet. The subsequent ""||"" delimiters creates a new cell/column, unless if followed by a newline - then it would end the current row.
When a row has been ended; any other symbol than ""||"" would close the table. Two linefeeds is needed to seperate between two distinct tables.
Additions:
~-[[Wikka:SimpleTables]]
All code to do this is written by me and commented a bit; ++[[http://temp.tormodh.net/wakka.phps wakka.php source]]++.
**Patches and notes are at ""WikkaWiki"":** [[Wikka:SimpleTables]].
Deletions:
~-Wikka:WikkaTables
~-Wikka:TableAction
All code to do this is written by me and commented a bit; [[http://temp.tormodh.net/wakka.phps wakka.php source]].
Additions:
=====SimpleTable=====
Additions:
>>===Practical Links===
~-Wikka:WikkaTables
~-Wikka:TableAction
~-SandBox
**Categories:** CategoryWikkaDevelopment
>>
Additions:
""||---F---o---r---c---e---d||{{color c="blue" text="This is a test."}}||""
||---F---o---r---c---e---d||{{color c="blue" text="This is a test."}}||
Deletions:
""||---F---o---r---c---e---d||~1Haha~2Hoho||""
||---F---o---r---c---e---d||~1Haha~2Hoho||
Additions:
++It is quite fragile. I'll strenghten it a bit right now++ :)
Deletions:
+It is quite fragile. I'll strenghten it a bit right now+ :)
Additions:
+It is quite fragile. I'll strenghten it a bit right now+ :)
Deletions:
It is quite fragile. I'll strenghten it a bit right now :)
Additions:
More formatting:
""||====Hi====||>>So... broken, yes?>>||Hehe||""
""||Data||@@Data@@||#%ANY KEY#%||""
""||---F---o---r---c---e---d||~1Haha~2Hoho||""
||====Hi====||>>So... broken, yes?>>||Hehe||
||Data||@@Data@@||#%ANY KEY#%||
||---F---o---r---c---e---d||~1Haha~2Hoho||
Full history for this page cannot be displayed within a single page, click
here to view more.