• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Tables in PokéCommunity

Sorvete

Novice
3,134
Posts
5
Years
Was testing some table code in BBcode/HTML to post here in the forums, but the results didn't turn out how I was expecting them to. The code seems to work fine in other places but not here, for some reason.

This is the code:
HTML:
[table]

[tr]
[th]<font face="bahnschrift"><b>Instrument</b></font>[/th]
[td]<font face="bahnschrift"><p style="color:#7f4e96;">Violin</p></font>[/td]
[td]<font face="bahnschrift"><p style="color:#7f4e96;">Violin</p></font>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Species</b></font>[/th]
[td]<img src="https://play.pokemonshowdown.com/sprites/bwani/snivy.gif"></img>[/td]
[td]<img src="https://play.pokemonshowdown.com/sprites/bwani/mareep.gif"></img>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Name</b></font>[/th]
[td]<font face="bahnschrift" color="#00c5ff">Gellert</font>[/td]
[td]<font face="bahnschrift" color="#f499c2">Epanine</font>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Ability</b></font>[/th]
[td]<font face="bahnschrift">Overgrow</font>[/td]
[td]<font face="bahnschrift">Static</font>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Nature</b></font>[/th]
[td]<font face="bahnschrift">Bashful</font>[/td]
[td]<font face="bahnschrift">Quiet</font>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Level</b></font>[/th]
[td]<font face="bahnschrift">15</font>[/td]
[td]<font face="bahnschrift">13</font>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Held Item</b></font>[/th]
[td]<font face="bahnschrift">N/A</font>[/td]
[td]<font face="bahnschrift">N/A</font>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Stats</b></font>[/th]
[td]<font face="bahnschrift"><center>
Atk: 21<br>
Def: 22<br>
SpA: 20<br>
SpD: 24<br>
Spe: 27
</center></font>[/td]
[td]<font face="bahnschrift"><center>
Atk: 16<br>
Def: 18<br>
SpA: 25+<br>
SpD: 20<br>
Spe: 15-
</center></font>[/td]
[/tr]

[tr]
[th]<font face="bahnschrift"><b>Moves</b></font>[/th]
[td]<font face="bahnschrift"><center>
Tackle<br>
Growth<br>
Vine Whip<br>
Wrap
</center></font>[/td]
[td]<font face="bahnschrift"><center>
ThunderShock<br>
Cotton Spore<br>
Thunder Wave<br>
Tackle
</center></font>[/td]
[/tr]

[/table]

And this is how it should appear:

unknown.png


Is there another method to make tables here or can you not make them at all? Am I doing something wrong in the code? Please give some feedback
 

Venia Silente

Inspectious. Good for napping.
1,230
Posts
15
Years
Currently the BBCode parser in PC does not have support for tables, no.

That said you can do it with some heavy amount of CSS if you use the div attributes for table-style formatting. I made an example post in 2018 and Symphony made an even better example of what we have to work with in PC's CSS and BBCode toolset.

EDIT: I'm also sure there was discussion on the subject afterwards and eventually someone made a tutorial for that once but for the life of me if that's true I can't find it.
 
Last edited:
Back
Top