Skip to main content Help Control Panel

ARTEMIS Conseil

Locations - Transactions - Expertise

04 76 71 75 15

Home «   Help index «   Formatting Codes «  

Codes to format tables

On this page we are showing how to build simple tables. Use the char |, or tab, or two successive spaces, to separate column elements.

Table [table]...[/table]

In this example cells are separated by tabulation characters or by 2 spaces.

ExampleRendering
[table]
Rabbit Turtle
Stories Jean[nl]de la Fontaine
[/table]
RabbitTurtle
StoriesJean
de la Fontaine

Table [table=grid]...[/table]

In this example cells are separated by the | character.

ExampleRendering
[table=grid]
Rabbit|Turtle
Stories|Jean[nl]de la Fontaine
[/table]
RabbitTurtle
StoriesJean
de la Fontaine

Table [table=tiny]...[/table]

Actually any style can be applied to the generated table.

ExampleRendering
[table=tiny]
Rabbit|Turtle
Stories|Jean[nl]de la Fontaine
[/table]
RabbitTurtle
StoriesJean
de la Fontaine

Separate headers from the body [table]...[body]...[/table]

ExampleRendering
[table=grid]
First Name|Last Name
[body]
Rabbit|Turtle
Stories|Jean[nl]de la Fontaine
[/table]
First NameLast Name
RabbitTurtle
StoriesJean
de la Fontaine

Explicit cells alignment

ExampleRendering
[table=grid]
left=Full Name| center=Birth Year| right=Net income
[body]
right=Speedy Rabbit|center=1888|$11,230
center=Jean de la Fontaine|center=1675|$234,567
[/table]
Full NameBirth YearNet income
Speedy Rabbit1888$11,230
Jean de la Fontaine1675$234,567

Comma-separated values [table][csv]...[/csv][/table]

ExampleRendering
[table=grid]
[csv]
Net income for the year,$2.310
Net income for last year,$2.100
Net income increase,10%
[/csv]
[/table]
Net income for the year$2.310
Net income for last year$2.100
Net income increase10%

Comma-separated values [table][csv=;]...[/csv][/table]

Using a different separator between cells.

ExampleRendering
[table=grid]
[csv=;]
Net income for the year;$2.310
Net income for last year;$2.100
Net income increase;10%
[/csv]
[/table]
Net income for the year$2.310
Net income for last year$2.100
Net income increase10%
Help

Please note that actual rendering depends on the selected skin.