What markup is supported in these forums?

Discussion in 'Feedback and Suggestions' started by weetabixharry, Apr 27, 2020.

  1. weetabixharry Club Captain

    weetabixharry
    Joined:
    Jul 13, 2009
    National Team:
    Location:
    Zurich, Switzerland
    Is it documented anywhere what set of BB Code instructions (or anything else, e.g. HTML) is supported by the PlanetCricket forums?

    After some searching, I read somewhere that the forums are based on XenForo, but that didn't seem to get me any closer to understanding what markup can and can't be used.

    As an example, I'd like to put a table in a thread. However, this only seems to be partly supported. I get something that sort of has some table structure, but not exactly what I expect:

    [tr]
    [th]Name[/th]
    [th]Age[/th]
    [/tr]
    [tr]
    [td]John[/td]
    [td]65[/td]
    [/tr]
    [tr]
    [td]Gitte[/td]
    [td]40[/td]
    [/tr]
    [tr]
    [td]Sussie[/td]
    [td]19[/td]
    [/tr]
     
  2. AliB ICC President

    AliB
    PCGMC Season 8 Winner Mumbai Indians The Amigos PlanetCricket Award Winner AFG... India
    Joined:
    Oct 7, 2014

    For tables on the forum we have [table] tag. But there's nothing like th or tr on the forum like the traditional HTML.

    For giving a header we use [table=head] and rows are bifurcated by new lines where columns by "|" pipe symbols.

    For what you've put up this should be the code:
    Code:
    [table=head]Name|Age
    John|65
    Gitte|40
    Sussie|19
    [/table]
    
    This will yield:
    NameAge
    John65
    Gitte40
    Sussie19


    Hope you've understood the concept, feel free to ask further questions.
     
    Manish., Ashutosh., CerealKiller and 4 others thanked this.
  3. weetabixharry Club Captain

    weetabixharry
    Joined:
    Jul 13, 2009
    National Team:
    Location:
    Zurich, Switzerland
    @AliB Thanks very much. So is this special syntax designed by/for PlanetCricket? Or is this part of a more general markup system that is publicly documented? I'm interested to know if there are more features available that I can use to improve the appearance of my posts.
     
  4. AliB ICC President

    AliB
    PCGMC Season 8 Winner Mumbai Indians The Amigos PlanetCricket Award Winner AFG... India
    Joined:
    Oct 7, 2014
    I suppose, it's only used here, never seen this somewhere else and definitely not a general markup.
     
    weetabixharry said thanks for this.
  5. weetabixharry Club Captain

    weetabixharry
    Joined:
    Jul 13, 2009
    National Team:
    Location:
    Zurich, Switzerland
    Good to know. Thanks a lot for your help. :thumbs
     
  6. MattW Administrator

    MattW
    Admin PlanetCricket Award Winner Melbourne Stars Big Ant
    Joined:
    Jan 12, 2006
    National Team:
    Location:
    Melbourne, Australia
    You can view a partial list of supported codes here: https://www.planetcricket.org/forums/help/bb-codes

    There are a few custom ones not listed there, most of which have built up over the years - the particular table code dates back to when this was a vBulletin forum and the particular addon we installed then.
     

Share This Page