NATION

PASSWORD

How to make a table in a dispatch?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Peop Badenist
Civilian
 
Posts: 1
Founded: Jan 18, 2022
Inoffensive Centrist Democracy

How to make a table in a dispatch?

Postby Peop Badenist » Fri Apr 08, 2022 6:17 am

Okay, This might be a dumb question but does anyone know how to make a table in a dispatch? I've tried various codes but have had no luck.

User avatar
Bawkie
Bureaucrat
 
Posts: 58
Founded: Feb 27, 2018
Democratic Socialists

Postby Bawkie » Fri Apr 08, 2022 7:44 am

Similar to HTML format As Below:

Code: Select all
[table][tr][td]Cell one[/td]
[td]Cell Two[/td][/tr]
[tr][td]Second Row[/td]
[td]Second Row[/td][/tr][/table]


It seems to convert the first row to headers. Use of colspan does not seem possible.
Last edited by Bawkie on Fri Apr 08, 2022 7:44 am, edited 1 time in total.

User avatar
Refuge Isle
Ambassador
 
Posts: 1078
Founded: Dec 14, 2018
Left-wing Utopia

Postby Refuge Isle » Fri Apr 08, 2022 8:15 am

Bawkie wrote:Similar to HTML format As Below:

Code: Select all
[table][tr][td]Cell one[/td]
[td]Cell Two[/td][/tr]
[tr][td]Second Row[/td]
[td]Second Row[/td][/tr][/table]


It seems to convert the first row to headers. Use of colspan does not seem possible.


In dispatches, you can set column widths with, for example, [td=2]text[/td]

It is also not strictly necessary to have the first row convert to headers if you do not wish it. [table=noheader] will generate a table without the first row change, but retaining the row highlighting on mouseover, while [table=plain] will only provide the basic table format without any additional styling.

Ikania wrote:My brother in Christ, please stop posting.


Return to Technical

Who is online

Users browsing this forum: No registered users

Advertisement

Remove ads