Recent Changes - Search:

CZjfaD , [url=http://nnredzsskgao.com/]nnredzsskgao[/url], [link=http://orsiupreszzr.com/]orsiupreszzr[/link], http://ajihppvvwlic.com/

Tables

PmWiki.Tables History

Hide minor edits - Show changes to markup

October 27, 2011, at 06:11 AM EST by 59.180.144.126 -
Changed lines 1-120 from:

Rbd9Ih , [url=http://ejdbtsjdjfpa.com/]ejdbtsjdjfpa[/url], [link=http://ogdhkijzyhsu.com/]ogdhkijzyhsu[/link], http://kjfapwmgchym.com/

to:

authors (basic)

Table basics

PmWiki has two types of table markup; the markup described in this page is useful for creating tables with lots of small cells, while table directive markups help with larger scale tables. For more possibilities with table formatting see Cookbook:FormattingTables.

Tables are created via use of the double pipe character: ||. Lines beginning with this markup denote rows in a table; within such lines the double-pipe is used to delimit cells. In the examples below a border is added for illustration (the default is no border).

(:markup caption='Basic table':) || border=1 || cell 1 || cell 2 || cell 3 || || cell 1 || cell 2 || cell 3 ||

Header cells can be created by placing ! as the first character of a cell. Note that these are table headers, not headings, so it doesn't extend to !!, !!!, etc.

(:markup caption='Table headers':) || border=1 ||! cell 1 ||! cell 2 ||! cell 3 || || cell 1 || cell 2 || cell 3 ||

A table can have a caption, indicated by ||!caption!||. Any caption must appear prior to other rows of the table.

(:markup caption='Table caption':) || border=1 ||! A special table !|| ||! cell 1 ||! cell 2 ||! cell 3 || || cell 1 || cell 2 || cell 3 ||

Formatting 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 ||.

(:markup caption='Cell alignments':) || border=1 width=100% ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned||

(:markup caption='Default cell alignments':) || border=1 width=100% ||!cell default||!cell left || ||default-aligned||left-aligned ||

Note that header and detail cells have different default alignments.

To get a cell to span multiple columns, follow the cell with empty cells. (At present there is no markup for spanning rows.)

(:markup caption='Column spanning':) || border=1 width=100% || |||| right column || || || middle column |||| || left column |||||| || left column || middle column || right column ||

Table attributes

Any line that begins with || but doesn't have a closing || sets the table attributes for any tables that follow. These attributes can control the size and position of the table, borders, background color, and cell spacing. (In fact these are just standard HTML attributes that are placed in the <table> tag.)

Use the width= attribute to set a table's width, using either a percentage value or an absolute size.

(:markup caption='Table width':) || border=1 width=100% || cell 1 || cell 2 || cell 3 || || c1 || cellcellcellcell2 || cell 3 ||

The border= attribute sets the size of a table's borders.

(:markup caption='Bordered and borderless tables':) || border=10 ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned|| || border=0 ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned||

Use align=center, align=left, and align=right to center, left, or right align a table. Note that align=left and align=right create a floating table, such that text wraps around the table.

(:markup caption='Table alignment':) || border=1 align=center ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned|| || border=1 align=left ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned|| Notice how text wraps to the right of a table using "align=left".

The bgcolor= attribute sets the background color for a table. At present there is no way to specify the color of individual rows or cells in this type of table (but see Cookbook:FormattingTables).

(:markup:) || border=1 align=center bgcolor=yellow ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned||

Other examples

(:markup caption='A more complex table':) %define=sp padding-right:1em font-weight:bold% || border=1 || [++Events Calendar++] |||||||||| || '''May 2005''' || '''June 2005''' || '''July 2005''' || '''August 2005''' || '''September 2005''' || ||%sp%'''10'''%%6:30 - 8:30 Big Meeting\\\ %sp%'''17'''%%7:00 - 8:30 Bigger Meeting\\\ %sp%'''24'''%%7:00 - 8:30 Biggest Meeting|| || || || || || '''October 2005''' || '''November 2005''' || '''December 2005''' || '''January 2006''' || '''February 2006''' || || || || || || ||

<< Uploads | Documentation Index | Table directives >>

How do I create nice tables similar to Product X?

See tables and table directives.

October 15, 2011, at 01:05 PM EST by ghttqqufaq - oDvlfCHrGDtrR
Changed line 1 from:

Krb2Ck? <a href="http://pnfspinbasmu.com/">pnfspinbasmu</a>

to:

Rbd9Ih , [url=http://ejdbtsjdjfpa.com/]ejdbtsjdjfpa[/url], [link=http://ogdhkijzyhsu.com/]ogdhkijzyhsu[/link], http://kjfapwmgchym.com/

October 15, 2011, at 07:42 AM EST by zybykliquby - hGhIfiBuxi
Changed line 1 from:

Wait, I cnaont fathom it being so straightforward.

to:

Krb2Ck? <a href="http://pnfspinbasmu.com/">pnfspinbasmu</a>

October 14, 2011, at 02:06 AM EST by Savion - 22
Changed lines 1-120 from:

authors (basic)

Table basics

PmWiki has two types of table markup; the markup described in this page is useful for creating tables with lots of small cells, while table directive markups help with larger scale tables. For more possibilities with table formatting see Cookbook:FormattingTables.

Tables are created via use of the double pipe character: ||. Lines beginning with this markup denote rows in a table; within such lines the double-pipe is used to delimit cells. In the examples below a border is added for illustration (the default is no border).

(:markup caption='Basic table':) || border=1 || cell 1 || cell 2 || cell 3 || || cell 1 || cell 2 || cell 3 ||

Header cells can be created by placing ! as the first character of a cell. Note that these are table headers, not headings, so it doesn't extend to !!, !!!, etc.

(:markup caption='Table headers':) || border=1 ||! cell 1 ||! cell 2 ||! cell 3 || || cell 1 || cell 2 || cell 3 ||

A table can have a caption, indicated by ||!caption!||. Any caption must appear prior to other rows of the table.

(:markup caption='Table caption':) || border=1 ||! A special table !|| ||! cell 1 ||! cell 2 ||! cell 3 || || cell 1 || cell 2 || cell 3 ||

Formatting 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 ||.

(:markup caption='Cell alignments':) || border=1 width=100% ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned||

(:markup caption='Default cell alignments':) || border=1 width=100% ||!cell default||!cell left || ||default-aligned||left-aligned ||

Note that header and detail cells have different default alignments.

To get a cell to span multiple columns, follow the cell with empty cells. (At present there is no markup for spanning rows.)

(:markup caption='Column spanning':) || border=1 width=100% || |||| right column || || || middle column |||| || left column |||||| || left column || middle column || right column ||

Table attributes

Any line that begins with || but doesn't have a closing || sets the table attributes for any tables that follow. These attributes can control the size and position of the table, borders, background color, and cell spacing. (In fact these are just standard HTML attributes that are placed in the <table> tag.)

Use the width= attribute to set a table's width, using either a percentage value or an absolute size.

(:markup caption='Table width':) || border=1 width=100% || cell 1 || cell 2 || cell 3 || || c1 || cellcellcellcell2 || cell 3 ||

The border= attribute sets the size of a table's borders.

(:markup caption='Bordered and borderless tables':) || border=10 ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned|| || border=0 ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned||

Use align=center, align=left, and align=right to center, left, or right align a table. Note that align=left and align=right create a floating table, such that text wraps around the table.

(:markup caption='Table alignment':) || border=1 align=center ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned|| || border=1 align=left ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned|| Notice how text wraps to the right of a table using "align=left".

The bgcolor= attribute sets the background color for a table. At present there is no way to specify the color of individual rows or cells in this type of table (but see Cookbook:FormattingTables).

(:markup:) || border=1 align=center bgcolor=yellow ||!cell 1 ||! cell 2 ||! cell 3|| ||left-aligned || centered || right-aligned||

Other examples

(:markup caption='A more complex table':) %define=sp padding-right:1em font-weight:bold% || border=1 || [++Events Calendar++] |||||||||| || '''May 2005''' || '''June 2005''' || '''July 2005''' || '''August 2005''' || '''September 2005''' || ||%sp%'''10'''%%6:30 - 8:30 Big Meeting\\\ %sp%'''17'''%%7:00 - 8:30 Bigger Meeting\\\ %sp%'''24'''%%7:00 - 8:30 Biggest Meeting|| || || || || || '''October 2005''' || '''November 2005''' || '''December 2005''' || '''January 2006''' || '''February 2006''' || || || || || || ||

<< Uploads | Documentation Index | Table directives >>

How do I create nice tables similar to Product X?

See tables and table directives.

to:

Wait, I cnaont fathom it being so straightforward.

Edit - History - Print - Recent Changes - Search
Page last modified on October 27, 2011, at 06:12 AM EST