• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.
  • We, the systems administration staff, apologize for this unexpected outage of the boards. We have resolved the root cause of the problem and there should be no further disruptions.

Creating tables

snrdg082102

SOC-14 1K
Hi all,

I'm not having much success in figuring out how to create a table here. Can someone please direct me to the instruction page?
 
Wrap each and every cell with TD /TD
The icon looks like
1_COTI_TD.png


Wrap each row of data with TR /TR
The icon looks like
1_COTI_TR.png


Wrap it all with Table /Table
The icon looks like
1_COTI_Table.png
Numbers123
LettersABC
[TC="4"]
TITLE​
[/TC]
The above without the title would be
PHP:
[TABLE]
[TR][TD][B]Numbers[/B][/TD] [TD]1[/TD] [TD]2[/TD][TD]3[/TD][/TR]
[TR][TD][B]Letters[/B][/TD][TD]A[/TD] [TD]B[/TD] [TD]C[/TD][/TR]
[/TABLE]
 
Never noticed you could make tables
Which has precedent columns or rows?
I think rowsbut might be columns
Don't know what's up with the column tag
[TC] [/TC]
[TC] [/TC]
 
The table needs to be started with a [table] tag.
Each row needs to be started with a [tr] tag.
Each cell needs to be started with a [td] tag and ended with a [/td] tag.
Close the row with a [/tr] tag.
close the table with a [/table] tag.
Remove all the returns....

The [tc=2][/tc] tag is a colspan cell will force a cell to span two columns and it MUST have the = and a number.

EG:[table][tr][td]R1C1[/td][td]R1C2[/td][td]R1C3[/td][/tr][tr][td]R2C1[/td][td]R2C2[/td][td]R2C3[/td][/tr][tr][td]R3C1[/td][td]R3C2[/td][td]R3C3[/td][/tr][tr][td]R4C1[/td][td]R4C2[/td][td]R4C3[/td][/tr][tr][tc=2]R5C1-2[/tc][td]R5C3[/td][/tr][/table] produces
R1C1R1C2R1C3
R2C1R2C2R2C3
R3C1R3C2R3C3
R4C1R4C2R4C3
R5C3
[tc=2]R5C1-2[/tc]
 
Last edited:
Evening PST CosmicGamer,

Thanks for the help.

Wrap each and every cell with TD /TD
The icon looks like
1_COTI_TD.png


Wrap each row of data with TR /TR
The icon looks like
1_COTI_TR.png


Wrap it all with Table /Table


The icon looks like
1_COTI_Table.png
Numbers123
LettersABC
[TC="4"]
TITLE​

[/TC]
The above without the title would be
PHP:
[TABLE]
[TR][TD][B]Numbers[/B][/TD] [TD]1[/TD] [TD]2[/TD][TD]3[/TD][/TR]
[TR][TD][B]Letters[/B][/TD][TD]A[/TD] [TD]B[/TD] [TD]C[/TD][/TR]
[/TABLE]

The TC="4" means that there are four columns.
In the example the TITLE would be placed between
and right
 
Hi Otto Harkaman,

Never noticed you could make tables
Which has precedent columns or rows?
I think rowsbut might be columns
Don't know what's up with the column tag
[TC] [/TC]
[TC] [/TC]

I've noticed the tables but have never been able to get them to work, maybe I'll get it right this time.
 
Evening for the Pacific Northwest aramis,

Thanks for adding more information, hopefully I'll be bright enough to build a table.

The table needs to be started with a [table] tag.
Each row needs to be started with a [tr] tag.
Each cell needs to be started with a [td] tag and ended with a [/td] tag.
Close the row with a [/tr] tag.
close the table with a [/table] tag.
Remove all the returns....

The [tc=2][/tc] tag is a colspan cell will force a cell to span two columns and it MUST have the = and a number.

EG:[table][tr][td]R1C1[/td][td]R1C2[/td][td]R1C3[/td][/tr][tr][td]R2C1[/td][td]R2C2[/td][td]R2C3[/td][/tr][tr][td]R3C1[/td][td]R3C2[/td][td]R3C3[/td][/tr][tr][td]R4C1[/td][td]R4C2[/td][td]R4C3[/td][/tr][tr][tc=2]R5C1-2[/tc][td]R5C3[/td][/tr][/table] produces
R1C1R1C2R1C3
R2C1R2C2R2C3
R3C1R3C2R3C3
R4C1R4C2R4C3
R5C3
[tc=2]R5C1-2[/tc]
 
The TC="4" means that there are four columns.
means what's between the TC /TC tags spans 4 columns
In the example the TITLE would be placed between
and right
Examples:
123ABC
[TC="3"] Numbers [/TC][TC="3"] Letters [/TC]
PHP:
[TABLE][TC="3"][B]Numbers[/B][/TC][TC="3"][B]Letters[/B][/TC]
[TR][TD]1[/TD] [TD]2[/TD][TD]3[/TD][TD]A[/TD] [TD]B[/TD] [TD]C[/TD][/TR]
[/TABLE]
STR8
0​
DEX 5
-1​
END 9
+1​
INT 6
0​
EDU 4
-1​
SOS C
+2​
[TC="2"]
STATS​
[/TC] [TC="1"] DM [/TC]
PHP:
[TABLE][TC="2"][B][CENTER]STATS[/CENTER][/B][/TC] [TC="1"][B]DM[/B][/TC]
[TR][TD]STR[/TD][TD]8[/TD][TD][CENTER]0[/CENTER][/TD][/TR]
[TR][TD]DEX [/TD][TD]5 [/TD][TD][CENTER]-1[/CENTER][/TD][/TR]
[TR][TD]END [/TD][TD]9 [/TD][TD][CENTER]+1[/CENTER][/TD][/TR]
[TR][TD]INT [/TD][TD]6 [/TD][TD][CENTER]0[/CENTER][/TD][/TR]
[TR][TD]EDU [/TD][TD]4 [/TD][TD][CENTER]-1[/CENTER][/TD][/TR]
[TR][TD]SOS [/TD][TD]C[/TD] [TD][CENTER]+2[/CENTER][/TD][/TR][/TABLE]
John Doe​
STR8
0​
SkillLvl
DEX 5
-1​
Electronics2
END 9
+1​
Computer1
INT 6
0​
Engineering1
EDU 4
-1​
SOS C
+2​
[TC="6"]
Table Example​
[/TC] [TC="2"]
STATS​
[/TC] [TC="1"] DM [/TC] [TC="2"]
SKILLS​
[/TC]
PHP:
[TABLE][TC="6"][CENTER]Table Example[/CENTER][/TC]
[TR][TC="2"][B][CENTER]STATS[/CENTER][/B][/TC] [TC="1"][B]DM[/B][/TC][TD][B][U][CENTER]John Doe[/CENTER][/U][/B][/TD][TC="2"][B][CENTER]SKILLS[/CENTER][/B][/TC][/TR]
[TR][TD]STR[/TD][TD]8[/TD][TD][CENTER]0[/CENTER][/TD][TD][/TD][TD][U]Skill[/U][/TD][TD][U]Lvl[/U][/TD][/TR]
[TR][TD]DEX [/TD][TD]5 [/TD][TD][CENTER]-1[/CENTER][/TD][TD][/TD][TD]Electronics[/TD][TD]2[/TD][/TR]
[TR][TD]END [/TD][TD]9 [/TD][TD][CENTER]+1[/CENTER][/TD][TD][/TD][TD]Computer[/TD][TD]1[/TD][/TR]
[TR][TD]INT [/TD][TD]6 [/TD][TD][CENTER]0[/CENTER][/TD][TD][/TD][TD]Engineering[/TD][TD]1[/TD][/TR]
[TR][TD]EDU [/TD][TD]4 [/TD][TD][CENTER]-1[/CENTER][/TD][/TR]
[TR][TD]SOS [/TD][TD]C[/TD] [TD][CENTER]+2[/CENTER][/TD][/TR]
[/TABLE]
 
Last edited:
Thanks again CosmicGamer for the help.

Hopefully, I'll be able to create a table for a post over on the Classic Traveller forum very soon.

I was typing away to Ottoa Harkaman when aramis answered the question about [tc=3] but I always appreciate more examples.

means what's between the TC /TC tags spans 4 columns
Examples:
123ABC
[TC="3"] Numbers [/TC][TC="3"] Letters [/TC]
PHP:
[TABLE][TC="3"][B]Numbers[/B][/TC][TC="3"][B]Letters[/B][/TC]
[TR][TD]1[/TD] [TD]2[/TD][TD]3[/TD][TD]A[/TD] [TD]B[/TD] [TD]C[/TD][/TR]
[/TABLE]


STR8
0​

DEX 5
-1​


END 9
+1​

INT 6
0​


EDU 4
-1​


SOS C
+2​

[TC="2"]
STATS​


[/TC] [TC="1"] DM [/TC]
PHP:
[TABLE][TC="2"][B][CENTER]STATS[/CENTER][/B][/TC] [TC="1"][B]DM[/B][/TC]
[TR][TD]STR[/TD][TD]8[/TD][TD][CENTER]0[/CENTER][/TD][/TR]
[TR][TD]DEX [/TD][TD]5 [/TD][TD][CENTER]-1[/CENTER][/TD][/TR]
[TR][TD]END [/TD][TD]9 [/TD][TD][CENTER]+1[/CENTER][/TD][/TR]
[TR][TD]INT [/TD][TD]6 [/TD][TD][CENTER]0[/CENTER][/TD][/TR]
[TR][TD]EDU [/TD][TD]4 [/TD][TD][CENTER]-1[/CENTER][/TD][/TR]
[TR][TD]SOS [/TD][TD]C[/TD] [TD][CENTER]+2[/CENTER][/TD][/TR][/TABLE]
 
Hi Mithras,

I'm a stubborn Luddite who hates code ... I create a table in PDF then cut and paste as an image (:

I hate to be bearer of bad news but you actually are coding when you create your table since you tell the application how many columns and rows are needed. Then you select how the lines are to be shaded or the background color of the cell. ;)

Of course what is really happening is that the applications programming code is doing the coding to create the table.
 
Hi Mithras,



I hate to be bearer of bad news but you actually are coding when you create your table since you tell the application how many columns and rows are needed. Then you select how the lines are to be shaded or the background color of the cell. ;)

Of course what is really happening is that the applications programming code is doing the coding to create the table.

I go with Mithras on this. Let the program do the work creating the code, I just want to fill in the table.
 
I hate to be bearer of bad news but you actually are coding when you create your table since you tell the application how many columns and rows are needed. Then you select how the lines are to be shaded or the background color of the cell. ;).

That's not so bad!
To really go Luddite I'd have to write it by hand, scan it in and post it here ;) ;)
 
Back
Top