SearchWiki
PmWiki.RecentChanges
Edit Page
Page Revisions
Groups available

CSA
Calendar
Main
NoSQL
People
PmWiki
PmWikiIt
PtvDev
RssFeeds
ScriptaVox
ScriptaWeb
ScriptaWiki

Quick links

TextFormattingRules
Edit Menu

Campaigns

Basic markup

Tables are created via use of the double pipe character: ||. Lines beginning with this markup denote the beginning of table rows. Appearance of this character within a line denotes table cells. A border has been added to this table for visual purposes; default border width is 0.

Example 1. Basic table.

This markup:

    || border=1
    || cell 1 || cell 2 || cell 3 ||
    || cell 1 || cell 2 || cell 3 ||
creates this table:

cell 1 cell 2 cell 3
cell 1 cell 2 cell 3

Alignment of cell contents

Cell contents may be aligned left, centered, or aligned right.

  • To left-align contents, place the cell contents next to the leading ||.
  • To center contents, add a space before and after the cell contents.
  • To right-align contents, place a space before the cell contents and leave the cell contents next to the trailing ||.

Example 2. Changing alignment of cell contents.

This markup:

    || border=1 width=100%
    ||cell 1       || cell 2   ||        cell 3||
    ||left-aligned || centered || right-aligned||

creates this table:

cell 1 cell 2 cell 3
left-aligned centered right-aligned

<< SpecialMarkups | PmWiki.DocumentationIndex | SimpleTables2 >>

Edit Page - Page Revisions - WikiHelp - SearchWiki - RecentChanges - Printable version
Page last modified on November 18, 2003, at 11:32 (CET)