Airline Enterprise - Forums
Insert table into forum post - Printable Version

+- Airline Enterprise - Forums (https://www.airlineenterprise.com/forums)
+-- Forum: Airline Enterprise (https://www.airlineenterprise.com/forums/forumdisplay.php?fid=1)
+--- Forum: Game Updates (https://www.airlineenterprise.com/forums/forumdisplay.php?fid=2)
+--- Thread: Insert table into forum post (/showthread.php?tid=802)



Insert table into forum post - Unknown98 - 10-07-2018

Some custom myCode was just added to the forums to allow you to insert tables into forum posts. To use it:

To use:

This gives the table
Code:
[table=NAME] [/table]

This gives a row.
Code:
[tr] [/tr]

This gives a header column
Code:
[th] [/th]

This gives content
Code:
[td] [/td]

Change NAME to suit.



Example:

Code:
[table=test]
[tr][th]Vegetable[/th][th]Meat[/th][/tr]
[tr][td]Onion[/td][td]Beef[/td][/tr]
[/table]

Produces:

VegetableMeat
OnionBeef

Just add more sections as needed. 

You must add a table name otherwise the code breaks.

Thanks to Zortan for the suggestion.


RE: Insert table into forum post - Zortan - 10-07-2018

Thanks Unk! Great addition!


RE: Insert table into forum post - chaitanya - 10-07-2018

Really great addition for Roleplay!


RE: Insert table into forum post - Zortan - 10-27-2018

Hey Unk, when I post one of these, there is a huge space between the text before it and the table itself. I did not leave any extra space myself. An example is my latest Realines Press release, about the start of operations - note how far down the page the tables are.


RE: Insert table into forum post - Unknown98 - 10-27-2018

I don't know how to fix that.

It's kinda hack-y the way it's installed into the forum software, it's definitely not natively supported. Other than this I don't think myBB has a way of inserting tables. Maybe when the new version comes out they will include that functionality.


RE: Insert table into forum post - Zortan - 10-28-2018

Ok, no worries!


RE: Insert table into forum post - squaregatescrub - 10-30-2018

I guess for now, you can make your tables using a word processing program or if you know basic html, you can do that too. Just post a screenshot on your RP. Smile


RE: Insert table into forum post - Zortan - 10-30-2018

Haha I guess - but since I suggested the feature I thought I should use it lol.