• Please note that this section is for questions regarding the forum itself - it is not for fan game-related questions. If you have a question about a fan game, ask in the appropriate thread.

  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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

Sorviknight

Novice
  • 3,134
    Posts
    7
    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:

    [PokeCommunity.com] Tables in PokéCommunity


    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
     
    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