Date: Mon, 16 Jun 2008 14:15:24 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124) X-Rcs-Id: $Id: Help%2FMediawikiTablePlugin,v 1.3 2008-06-18 01:12:39 vargenau Exp $ Content-Type: application/x-phpwiki; pagename=Help%2FMediawikiTablePlugin; flags=PAGE_LOCKED; markup=2; charset=iso-8859-1 Content-Transfer-Encoding: binary The *~MediawikiTable* plugin is a plugin that takes off from the [RichTablePlugin|Help:RichTablePlugin]. It allows a user to specify a with (a subset of) the syntax used by Mediawiki. * The table starts with a line {~| and ends with a line |~}. * An optional table caption is made with a line starting with a pipe and a plus sign |+ followed by the caption. * A table row starts with a pipe and a hyphen: |-. * A table cell starts with a pipe on a new line, or a double bar || on the same line. HTML attributes: * for the table:
{| border="1"
* for the caption:
|+ style="font-weight: bold;"
* for a row:
|- style="height:100px"
* for a cell:
|align="right" |Cell 2 (right aligned)
The attributes might be put with or without double quotes. The Mediawiki syntax for headers:
! Header 1
is not (yet) supported. !!! Example {| border="1", style="width: 100%" |+ style="font-weight: bold; font-size: 150%;" | This is the table caption |- style="white-space: nowrap" | Header 1 | Header 2 | Header 3 |- style=height:100px | Cell I | Cell II, in bold |align=right, width="100%" |Cell III |- bgcolor=#f0f0ff, align=center |Cell 1||Cell 2||Cell 3 |} The above table is rendered from: {| border="1", style="width: 100%" |+ style="font-weight: bold; font-size: 150%;" | This is the table caption |- style="white-space: nowrap" | Header 1 | Header 2 | Header 3 |- style=height:100px | Cell I | Cell II, in bold |align=right, width="100%" |Cell III |- bgcolor=#f0f0ff, align=center |Cell 1||Cell 2||Cell 3 |} !!! Author Marc-Etienne Vargenau, Alcatel-Lucent ---- [PhpWikiDocumentation] [CategoryWikiPlugin]