KKnd   PmWikiZhCnUtf8 /
SimpleTables
SearchWiki
PmWikiZhCnUtf8.最近改变
编辑页面
页面修正

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.

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

<< | PmWiki.DocumentationIndex | >>


编辑页面 - 页面修正 - WikiHelp - SearchWiki - 最近改变 - Printable Version
页面最后更新于 06 三月, 2003, 时间 06:06

©
copyleft by [email protected]
or
[email protected]