Go Back   Play by Post > FAQ > General

Notices


Search FAQ Search FAQ
Search Word(s):
Matching Options:
Search in:

Tables
Tables are a useful way to organize information that looks funny as a list or is just too unwieldy to explain in normal text. They are also partiuclarly handy for describing rules, comparing and contrasting, and describing complex information in an easy-to-understand manner. Aelyria's [TABLE] bbcode is a powerful tag that makes it easy to create and manage your own tables in posts. Here's how it works: you enclose text around the [TABLE] tags; each line is a row, and columns are created using a pipe, or | symbol. For example, the following code:

[TABLE] Row 1 Column 1 | Row 1 Column 2
Row 2 Column 1 | Row 2 Column 2[/TABLE]

when placed in your post, produces the following table embedded in your text:

You can even use bbcodes on the content of the tables themselves! Aelyria Tables support some customization that help you readily organize your materials cleanly. To use a table option, just include it in the opening [TABLE] tag like so: [TABLE=option]. For multiple options, include all options in quotes and separate them using semicolons (e.g., [TABLE="option1;option2;option3"]). Some options may ask you for values (e.g., [TABLE="option1;option2=value"]). Here are a few table options, how they are used, and some examples.

"head" -- Make the first row in the table a header row.

What You Type What You Get
[TABLE="head"]Header Column 1 | Header Column 2
Row 1 Column 1 | Row 1 Column 2
Row 2 Column 1 | Row 2 Column 2[/TABLE]

"sort=1d,2,3" -- Sort the table by column 1 (desc.), then column 2, and finally column 3.
Default sort order is ascending; you can specify as many sorts as you would like. Ignores header rows.

What You Type What You Get

[table="head;sort=1"]Province | Capital
Carmelyn | Diana
Prime | Aelyria Prime
Sherian | Taralon
Enamoria | Medonia
Centripax | Primus Gaudeo
Arium | Nexus Prime
Eunesia | Olympia
Arakmat | Arakmat
Lauryl | Mystique[/table]

"autonum" - Creates a new column that numbers the rows.
"autonum=1" - Numerically (e.g., 1, 2, 3, etc.)
"autonum=a" - Lowercase Alphabet (e.g., a, b, c, etc.)
"autonum=A" - Uppercase Alphabet (e.g., A, B, C, etc.)

What You Type What You Get

[table="autonum=1"]Constantine
Candace
Michelle the Great
Charisma
Anna the Strict
Jaedah
Fire
Alyssa Chrysinaria
Valerian Constantius[/table]

"autonumtitle=oneword", "autonumtitle='multiple words'"
Creates a title on the header row for the number column. Can be left empty.

What You Type What You Get

[table="autonum=1;autonumtitle=Step;head"]Colonize Colonia | Dressus
Conquer Lux | Constantine
Establish Empire | Michelle [/table]

"width=123px", "width=45em", "width=75%"
Defines the total width of the table, either by pixels, em, or percent.

{colsp=5} - Tells the cell to span 5 columns.
This special option should be placed as the first content in the cell.

What You Type What You Get

[table]Row 1 Column 1 | Row 1 Column 2
{colsp=2} Row 2 Columns 1 and 2[/table]



All times are GMT -5. The time now is 03:31 AM.


Play by Post ™ Version 3.0.6
Copyright © 1989-2008 Play by Post LLC. All Rights Reserved.
Aelyria ® is a Registered Trademark of Play by Post LLC.