Bbcode Infoboxes

Use this code in posts for bgcolor boxes:

[Wrap="redboxbg"]
> Infobox

Testing boxed
[/wrap]

New background color Options Substitute “red” with:

  • “green”, “blue”, “yellow”, “brown”, “orange”, “purple”, “pink”, “cyan”., “grey”.
  • Added blank box
    Color background. Grey border.
Screenshot Mobile


Screenshot Mobile 2

  • “grey”, “grey#” #=0-9.
    *All grey backgrounds, grey border,
    Border colour
    1 red , 2 green , 3 blue, 4 yellow , 5 Brown, 6 Orange, 7 Purple, 8 Magenta, 9 Pink, 0 Cyan (Op Code updated)
Screenshot Mobile

Screenshot Mobile 2

This could be both a standalone component or maybe also added to Coloured Text TC.

  • Restricting what colours can be used helps keep these clean.

TODO:

  • Add options for Orange, Brown, Purple, & Pink, Magenta, Cyan Complete code updated Op post
  • Maybe make code prettier with feedback.
  • Create GitHub account. Learn adding settings for customizing border &?.. Publish eventually as a TC.
3 Likes