Patreon LogoYour support makes Blue Moon possible (Patreon)

ห– โบ XTABLES โ€” ๐š ๐ช๐ฎ๐ข๐œ๐ค ๐ ๐ฎ๐ข๐๐ž.

reverie.

โ™กโ€… ๐•Ÿ๐•’๐•ฆ๐•˜๐•™๐•ฅ๐•ช & ๐’๐’Š๐’„๐’†โ€… โ™ก
Staff member
Moderator
Joined
Aug 7, 2021

ps. this is not finished yet.


9fe5b1d6ff12e674a3dedc77eb1087b8.jpg
ห– โบ a quick guide to xtables.

i'm sure a lot of you have seen all the pretty roleplaying templates people have been posting. or perhaps you've seen some cool request threads or journal posts. i know a lot of you have been wondering how to make them, and messaged me about it. and i've already given some of you an ugly guide, but now i've perfected it!

now, please understand that you can only do so much with these codes, so the templates will look more or less the same. keep that in mind before you accuse someone of stealing your code. chances are, the template is already in use, one way or another.

also, using this code can cause a lot of trouble when using bbcodes, especially if you go back and forth between code-mode and panel. so be very very very cautious when doing so.

should you stumble upon problems, feel free to message me ~ i'm pretty sure i can tell you what is wrong, eheh. most often it's broken code, because you have added code across columns, so the xtable (or another code) is breaking it up.

โ€‚ ห– โบ ๐ญ๐ก๐ž ๐›๐š๐ฌ๐ข๐œ๐ฌ โ€‚โ€‚โ€‚โ€‚โ€‚โ€‚ ห– โบ ๐ฌ๐ข๐ฆ๐ฉ๐ฅ๐ž ๐ญ๐š๐›๐ฅ๐ž๐ฌ โ€‚โ€‚โ€‚โ€‚โ€‚โ€‚ ห– โบ ๐ญ๐ฐ๐จ ๐œ๐จ๐ฅ๐ฎ๐ฆ๐ง๐ฌ ๐ญ๐š๐›๐ฅ๐ž๐ฌ โ€‚
โ€‚ ห– โบ ๐ฆ๐ฎ๐ฅ๐ญ๐ข๐ฉ๐ฅ๐ž ๐œ๐จ๐ฅ๐ฎ๐ฆ๐ง๐ฌ ๐Ÿ โ€‚โ€‚โ€‚โ€‚โ€‚โ€‚ ห– โบ ๐ฆ๐ฎ๐ฅ๐ญ๐ข๐ฉ๐ฅ๐ž ๐œ๐จ๐ฅ๐ฎ๐ฆ๐ง๐ฌ ๐Ÿ โ€‚

please do not post in this thread.
 
Last edited:
ห– โบ ๐ญ๐ก๐ž ๐›๐š๐ฌ๐ข๐œ๐ฌ New


ห– โบ the basicsโ€‚

let's start with the basics, so you know how the codes work and what they do. it's pretty straightforward, but it's easier if you know what each code does, so you can create tables from scratch instead of copy-pasting entire templates without understanding how it works. this makes it easier to troubleshoot too!

xtable = the entire "table", like the entire workplace you want to work in ( you can create tables within tables )
tr = a new row
td = a new box / column

when you know how this works, it's a lot easier to play around with the codes ~ change width, change colors, add columns, etc. after you're done creating the table, you can format things within it ~ centering images, change fonts and sizes, aligning things, etc etc.

ps!! you have to format things separately within each column!!

now, let's take a look at all the options when creating a table.

600pxx@ = the width of the box / column
bcenter = centering the box / column ( the table ) in your post ( ps. this does not affect the content inside the box ). if you remove this it will appear to the left.
bcolor:#de89dd = the background color of the box / column. use the hex ( # + 6 digits ) of the color you want. you can click here to pick a color. this code is not necessary if you want a clear background.
border:0 = pick a number between 1 - 10 to create a border around the box / column or stick to 0 if you don't want a border.
border-color:#f4f4f4 = color of the border around the box / column. if you create a border but don't add a color, your border will automatically be black. this code is not necessary if you don't want a border.

ห– โบ examplesโ€‚

this is bcenter, 600px width, background with no border.
โ€‚โ€‚
this is bcenter, 900px width, background with no border.
โ€‚โ€‚
this is not bcenter, 500px width, background with 10px border.
โ€‚โ€‚
this is bcenter, 400px width, no background with 5px border.
this is bcenter, 400px width, no background, no border. x x x filler text to show the invisible box. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
 
Last edited:
ห– โบ ๐ฌ๐ข๐ฆ๐ฉ๐ฅ๐ž ๐ญ๐š๐›๐ฅ๐ž๐ฌ New

ห– โบ simple tablesโ€‚

there are four ways to use the table for simplicity and to make your post look prettier than a standard non-table post. basically, this just puts your post / text in a box, either invisible, bordered, colored, or colored with a border. i'll show you how to do it.

codes are at the bottom of this post.

you can use the table to create an invisible box for your post, like this:
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.
you can even add a border around your text, like this:

Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.
or you can use a background color, like this:
( here i've used a table within a table to create the padding around the text )
please keep in mind that the width of the inner box has to be smaller than the outer box.

Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.
you can also add a border to this colored box, like this:

Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.
here you can see an example with pictures:
you can format your content like normal inside the box, but you might have to go back into code-mode to correct a few things (line-jumps) before you publish.


believe in your dreams.

efd18c2b13952adc11b03bd7c7868746.jpg
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin.
f7b7bc4e65096e4f6f6bbfc5b21b352d546fdcee.pnj
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.

believe in your dreams.

efd18c2b13952adc11b03bd7c7868746.jpg
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin.
f7b7bc4e65096e4f6f6bbfc5b21b352d546fdcee.pnj
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.

code for invisible box:
[xtable=bcenter]{tr}{td=border:0|500pxx@}your content here.{/td}{/tr}[/xtable]

code for invisible box with border:
[xtable=bcenter]{tr}{td=border:5|border-color:#d3aedd|500pxx@}your content here.{/td}{/tr}[/xtable]

code for colored box (and padding):
[xtable=bcenter]{tr}{td=border:0|bcolor:#d3aedd|500pxx@}[xtable=bcenter]{tr}{td=border:0|450pxx@}your content here.{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]

code for colored box with border (and padding):
[xtable=bcenter]{tr}{td=border:7|border-color:#a376ca|bcolor:#d3aedd|500pxx@}[xtable=bcenter]{tr}{td=border:0|450pxx@}your content here.{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]

ps. if you don't want the box in the center of your post, just remove the bcenter code and make it [xtable] instead.
 
Last edited:
ห– โบ ๐ญ๐ฐ๐จ ๐œ๐จ๐ฅ๐ฎ๐ฆ๐ง๐ฌ ๐ญ๐š๐›๐ฅ๐ž๐ฌ New


ห– โบ two column tablesโ€‚

this is where it starts to look a little bit complicated, but it's actually very simple. so, this is how you can create tables that have two columns, aka two boxes next to each other or on top of each other. you can play around quite much with it, so let me show you a few options! but feel free to combine other options as well.

codes are at the bottom of this post.

first things first. let me just quickly explain how the two columns work and the difference between vertical and horizontal. it's easier to show it with colored boxes. and you can change the width of the boxes as you see fit!

here you can see that we have one row { tr } and two columns { td } in that row :
โ€…โ€…
โ€…โ€…
โ€…โ€…
โ€…โ€…
[ xtable = bcenter ]{ tr }{ td=border:0 | bcolor:#a376ca | 250pxx@ }{ /td }{ td=border:0 | bcolor:#d3aedd | 250pxx@ }{ /td }{ /tr }[ /xtable ]

to simplify it even more, we can look at the code like this :

[ xtable = bcenter ]
{ tr }
{ td=border:0 | bcolor:#a376ca | 250pxx@ }{ /td }{ td=border:0 | bcolor:#d3aedd | 250pxx@ }{ /td }
{ /tr }
[ /xtable ]

here you can see that we have two rows { tr } and one column { td } in each row :

โ€…โ€…
โ€…โ€…
โ€…โ€…
โ€…โ€…
[ xtable = bcenter ]{ tr }{ td=border:0 | bcolor:#a376ca | 500pxx@ }{ /td }{ /tr }{ tr }{ td=border:0 | bcolor:#d3aedd | 500pxx@ }{ /td }{ /tr }[ /xtable ]

to simplify it even more, we can look at the code like this :

[ xtable = bcenter ]
{ tr }
{ td=border:0 | bcolor:#a376ca | 500pxx@ }{ /td }
{ /tr }
{ tr }

{ td=border:0 | bcolor:#d3aedd | 500pxx@ }{ /td }
{ /tr }
[ /xtable ]

in this table i have placed two boxes next to each other like shown above, but i have also added a table within the second box so that i can get some padding around the text :

โ€…โ€…

efd18c2b13952adc11b03bd7c7868746.jpg

dream big.
โ€…โ€…
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.
โ€…โ€…

efd18c2b13952adc11b03bd7c7868746.jpg

dream big.
โ€…โ€…
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.

in this table i have stacked two boxes on top of each other like shown above, but i have also added a table within the second box so that i can get some padding around the text :
โ€…โ€…

efd18c2b13952adc11b03bd7c7868746.jpg

dream big.
โ€…โ€…
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.
โ€…โ€…

efd18c2b13952adc11b03bd7c7868746.jpg

dream big.
โ€…โ€…
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.

as you can see, you can play around quite a lot!
โ€…โ€…

efd18c2b13952adc11b03bd7c7868746.jpg

dream big.
โ€…โ€…
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.


โ€…โ€…

efd18c2b13952adc11b03bd7c7868746.jpg

dream big.
โ€…โ€…
Curabitur iaculis sapien id pulvinar dictum. In rhoncus, enim nec dictum tincidunt, nisl est consectetur magna, vel pretium neque velit sed arcu. Vivamus vulputate ipsum nec nulla semper sagittis. Nunc sit amet dignissim sapien. Suspendisse vel dolor lacinia, feugiat purus a, porta augue. Nulla pharetra diam quis elementum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce feugiat lorem et massa dapibus, sit amet ultrices massa ullamcorper.


horizontal code - two boxes placed next to each other (with padding to the right):
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|200pxx@}first box content{/td}{td=border:0|bcolor:#d3aedd|400pxx@}[xtable=bcenter]{tr}{td=border:0|350pxx@}second box content{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]

vertical code - two boxes stacked on top of each other (with padding at the bottom):
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|500pxx@}top box content{/td}{/tr}{tr}{td=border:0|bcolor:#d3aedd|500pxx@}[xtable=bcenter]{tr}{td=border:0|440pxx@}bottom box content{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]
 
Last edited:
ห– โบ ๐ฆ๐ฎ๐ฅ๐ญ๐ข๐ฉ๐ฅ๐ž ๐œ๐จ๐ฅ๐ฎ๐ฆ๐ง๐ฌ ๐Ÿ New


ห– โบ multiple columns 1โ€‚

this is to show you that you can create big tables with as many columns as you'd like. it's very simple, but it also has its limits. i'll explain them in a moment. but the main rule is that you must have the same number of columns in each row.

if you would like to have a different number of columns, you have to create a new table within a column ( in other words: a table within a table ).

this is what happens if you try to create a different number of columns:

 
   

this is the only way to work around it, but we'll get back to that in a future post ( tables within tables ) :
 

   
 

     

codes are at the bottom of this post.

let's start with the basics again. you can add as many rows { tr } and columns { td } as you'd like. but keep in mind that the more you add, the more cluttered it will look (especially on phones). also, unless you make a table within table (i will make a proper post on that soon), you have to have the same number of columns in each row.

it is also important to notice that if your widths don't add up, the table will automatically change them. if your first column is 200px, all columns under it will also be 200px. if you change this number to let's say 400px, all columns below ( or above ) this column will change to 400px, even tho the code for the other columns says it's 200px.


   
   
[ xtable=bcenter ]{ tr }{ td=border:0 | bcolor:#a376ca | 200pxx@ }{ /td }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ /tr }{ tr }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ td=border:0 | bcolor:#7037a1 | 200pxx@ }{ /td }{ /tr }[ /xtable ]

   
   
[ xtable=bcenter ]{ tr }{ td=border:0 | bcolor:#a376ca | 400pxx@ }{ /td }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ /tr }{ tr }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ td=border:0 | bcolor:#7037a1 | 200pxx@ }{ /td }{ /tr }[ /xtable ]

in this last table, i have only changed the width of one column, but it automatically changes all columns above and below it, so keep this in mind when you change widths.

in the example below, you can see that i have made one row { tr } with three columns { td }. however, the third column is just for aesthetics and basically just to add a line of color.

efd18c2b13952adc11b03bd7c7868746.jpg


dream big.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.

โ€…
โ€…
โ€…
โ€…
โ€…

โ€…
โ€…
โ€…

โ€…
โ€…​


ae9de6a7a31e8d8fef07bdf95e136f70dcf7c4ae.pnj

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac ligula vulputate, gravida massa sed, hendrerit massa. Proin cursus bibendum efficitur. Morbi id urna vitae turpis ullamcorper pretium. Quisque vitae augue a orci euismod faucibus quis eget ex. Vivamus sed eleifend dui. Ut nunc quam, aliquet non venenatis nec, feugiat scelerisque augue. Suspendisse posuere eget odio dignissim ultricies. Sed quis facilisis eros. Aliquam erat volutpat. Aenean finibus aliquet eros id tincidunt.

Quisque nec finibus leo, non luctus elit. Quisque orci dolor, eleifend eu orci in, sollicitudin lacinia odio. Proin porta malesuada ante, eget sollicitudin metus. Phasellus pellentesque lectus odio, condimentum sagittis urna condimentum quis. Sed bibendum sem congue pulvinar fermentum. Curabitur molestie faucibus ex nec imperdiet. Nunc volutpat augue ac orci euismod, eu vestibulum risus viverra. Quisque scelerisque quam vitae purus gravida laoreet. Aliquam pretium justo eget metus imperdiet elementum at ac risus. Praesent rhoncus odio eu euismod elementum. Donec dignissim lectus ut tortor condimentum, in aliquam est gravida. Maecenas nisl magna, consectetur non lectus ut, dapibus commodo nisl. Mauris pulvinar eleifend pulvinar.

In tincidunt, eros vitae ultrices bibendum, lectus neque molestie diam, non gravida purus nisi eget sapien. Vestibulum vehicula pharetra ipsum nec efficitur. Etiam nec mollis urna. Cras fringilla ex ac luctus sodales. Mauris ut lorem sit amet odio imperdiet volutpat at quis quam. Sed fringilla nisi nec turpis imperdiet dapibus. Quisque augue urna, luctus nec urna at, semper mattis mi. Nulla maximus hendrerit nulla. Mauris in erat at felis hendrerit consequat iaculis et metus. Etiam porttitor dolor ac dui consectetur tincidunt. Cras lectus enim, luctus sed sagittis venenatis, consectetur in nisl. Praesent ligula lorem, dapibus vel imperdiet placerat, consectetur vel odio. Nullam mattis vel tellus sit amet blandit.
 
in the example below, i've also added content to the third column.

efd18c2b13952adc11b03bd7c7868746.jpg


dream big.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.

โ€…
โ€…
โ€…
โ€…
โ€…

โ€…
โ€…
โ€…
โ€…
โ€…
โ€…
โ€…

โ€…




Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac ligula vulputate, gravida massa sed, hendrerit massa. Proin cursus bibendum efficitur. Morbi id urna vitae turpis ullamcorper pretium. Quisque vitae augue a orci euismod faucibus quis eget ex. Vivamus sed eleifend dui. Ut nunc quam, aliquet non venenatis nec, feugiat scelerisque augue. Suspendisse posuere eget odio dignissim ultricies. Sed quis facilisis eros. Aliquam erat volutpat. Aenean finibus aliquet eros id tincidunt.

Quisque nec finibus leo, non luctus elit. Quisque orci dolor, eleifend eu orci in, sollicitudin lacinia odio. Proin porta malesuada ante, eget sollicitudin metus. Phasellus pellentesque lectus odio, condimentum sagittis urna condimentum quis. Sed bibendum sem congue pulvinar fermentum. Curabitur molestie faucibus ex nec imperdiet. Nunc volutpat augue ac orci euismod, eu vestibulum risus viverra. Quisque scelerisque quam vitae purus gravida laoreet. Aliquam pretium justo eget metus imperdiet elementum at ac risus. Praesent rhoncus odio eu euismod elementum. Donec dignissim lectus ut tortor condimentum, in aliquam est gravida. Maecenas nisl magna, consectetur non lectus ut, dapibus commodo nisl. Mauris pulvinar eleifend pulvinar.

In tincidunt, eros vitae ultrices bibendum, lectus neque molestie diam, non gravida purus nisi eget sapien. Vestibulum vehicula pharetra ipsum nec efficitur. Etiam nec mollis urna. Cras fringilla ex ac luctus sodales. Mauris ut lorem sit amet odio imperdiet volutpat at quis quam. Sed fringilla nisi nec turpis imperdiet dapibus. Quisque augue urna, luctus nec urna at, semper mattis mi. Nulla maximus hendrerit nulla. Mauris in erat at felis hendrerit consequat iaculis et metus. Etiam porttitor dolor ac dui consectetur tincidunt. Cras lectus enim, luctus sed sagittis venenatis, consectetur in nisl. Praesent ligula lorem, dapibus vel imperdiet placerat, consectetur vel odio. Nullam mattis vel tellus sit amet blandit.

ae9de6a7a31e8d8fef07bdf95e136f70dcf7c4ae.pnj

likes.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.

dislikes.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.

โ€…
โ€…
โ€…
โ€…
โ€…

โ€…
โ€…
โ€…
โ€…
โ€…
โ€…

โ€…
โ€…
โ€…

โ€…
here is an example with four columns in one row. if you wanna add more than this, you can't really add a lot of text as the columns will be very narrow. but you can definitely create more for aesthetic purposes, like i've done in the second example where i've added 3 more columns to separate the boxes (7 columns total).

favorite.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.

yes pls.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.

maybe.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.

no thx.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.


favorite.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.
 

yes pls.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.
 

maybe.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.
 

no thx.โ€…Mauris a id velit faucibus sollicitudin. Sed congue libero sed nisi lobortis sodales. Quisque id neque mollis, varius nisl vitae, fermentum dui. Fusce fermentum mattis turpis eget lacinia. Nunc pharetra mi nibh, non blandit diam faucibus in. Phasellus eget sapien vitae sapien bibendum commodo ut vel metus.
here are some codes you can copy-paste! feel free to play around. i've added both with and without padding (table within table). change the widths as you see fit, but remember that the width within the column has to be smaller than the actual column if you want that padding around your text/content.
     

first box

second box

third box

3 columns - no padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|250pxx@}first box{/td}{td=border:0|bcolor:#d3aedd|400pxx@}second box{/td}{td=border:0|bcolor:#7037a1|250pxx@}third box{/td}{/tr}[/xtable]

3 columns - with padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|200pxx@}[xtable=bcenter]{tr}{td=border:0|160pxx@}first box{/td}{/tr}[/xtable]{/td}{td=border:0|bcolor:#d3aedd|200pxx@}[xtable=bcenter]{tr}{td=border:0|160pxx@}second box{/td}{/tr}[/xtable]{/td}{td=border:0|bcolor:#7037a1|200pxx@}[xtable=bcenter]{tr}{td=border:0|160pxx@}third box{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]

to add invisible space between boxes, you can paste this code in-between two columns, like this: { /td } paste it here { td }. the minimum width is 20px, but you can make it wider if you'd like.
{td=border:0|20pxx@}{/td}

       

first box

second box

third box

fourth box

4 columns - no padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|200pxx@}first box{/td}{td=border:0|bcolor:#d3aedd|200pxx@}second box{/td}{td=border:0|bcolor:#7037a1|200pxx@}third box{/td}{td=border:0|bcolor:#a376ca|200pxx@}fourth box{/td}{/tr}[/xtable]

4 columns - with padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|200pxx@}[xtable=bcenter]{tr}{td=border:0|160pxx@}first box{/td}{/tr}[/xtable]{/td}{td=border:0|bcolor:#d3aedd|200pxx@}[xtable=bcenter]{tr}{td=border:0|160pxx@}second box{/td}{/tr}[/xtable]{/td}{td=border:0|bcolor:#7037a1|200pxx@}[xtable=bcenter]{tr}{td=border:0|160pxx@}third box{/td}{/tr}[/xtable]{/td}{td=border:0|bcolor:#a376ca|200pxx@}[xtable=bcenter]{tr}{td=border:0|160pxx@}fourth box{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]

[ xtable=bcenter ] โ€‚โžคโ€„ the start of the table we're creating
{ tr } โ€‚โžคโ€„ we're creating the first row
{ td=border:0 | bcolor:#a376ca | 200pxx@ } โ€‚โžคโ€„ this is the first column
[ xtable=bcenter ]{ tr }{ td=border:0 | 160pxx@ } first box content { /td }{ /tr }[ /xtable ] โ€‚โžคโ€„ creating a table within the first column to create padding around the content
{ /td }โ€‚ โžค โ€„end of first column
{td=border:0|20pxx@}{/td} โ€‚โžคโ€„ if you want invisible space between the boxes, you put this column after column 1 end and before column 2 starts, and then the same between 2 and 3, 3 and 4
{ td=border:0 | bcolor:#d3aedd | 200pxx@ }โ€‚ โžคโ€„ start of second column
[ xtable=bcenter ]{ tr }{ td=border:0 | 160pxx@ } second box content { /td }{ /tr }[ /xtable ] โ€‚โžคโ€„ the table within the second column to create the padding around the content of this column
{ /td } โ€‚โžค โ€„end of second column
{ td=border:0 | bcolor:#7037a1 | 200pxx@ } โ€‚โžคโ€„ start of third column
[ xtable=bcenter ]{ tr }{ td=border:0 | 160pxx@ } third box content { /td }{ /tr }[ /xtable ] โ€‚โžคโ€„ table to create the padding around third column content
{ /td } โ€‚โžคโ€„ end of third column
{ td=border:0 | bcolor:#a376ca | 200pxx@ }โ€‚ โžคโ€„ start of fourth column
[ xtable=bcenter ]{ tr }{ td=border:0 | 160pxx@ } fourth box content { /td }{ /tr }[ /xtable ]โ€‚โžคโ€„ table within fourth column for padding
{ /td } โ€‚โžคโ€„ end of fourth column
{ /tr }โ€‚ โžค โ€„end of the first row
[ /xtable ] โ€‚โžค โ€„end of table
 
ห– โบ ๐ฆ๐ฎ๐ฅ๐ญ๐ข๐ฉ๐ฅ๐ž ๐œ๐จ๐ฅ๐ฎ๐ฆ๐ง๐ฌ ๐Ÿ New


ห– โบ multiple columns 2โ€‚

let's continue with multiple columns, but this time make them vertical. again, you'll have to add the same number of columns in each row.

if you would like to have a different number of columns, you have to create a new table within a column ( in other words: a table within a table ).

see the examples above of what will happen if you do this wrong and how it would look if done right.

codes are at the bottom of this post.

let's repeat the basics again. you can add as many rows { tr } and columns { td } as you'd like. but keep in mind that the more you add, the more cluttered it will look (especially on phones). also, unless you make a table within a table (i will make a proper post on that soon), you have to have the same number of columns in each row.

it is also important to notice that if your widths don't add up, the table will automatically change them. if your first column is 200px, all columns under it will also be 200px. if you change this number to let's say 400px, all columns below ( or above ) this column will change to 400px, even tho the code for the other columns says it's 200px.


   
   
[ xtable=bcenter ]{ tr }{ td=border:0 | bcolor:#a376ca | 200pxx@ }{ /td }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ /tr }{ tr }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ td=border:0 | bcolor:#7037a1 | 200pxx@ }{ /td }{ /tr }[ /xtable ]

   
   
[ xtable=bcenter ]{ tr }{ td=border:0 | bcolor:#a376ca | 400pxx@ }{ /td }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ /tr }{ tr }{ td=border:0 | bcolor:#d3aedd | 200pxx@ }{ /td }{ td=border:0 | bcolor:#7037a1 | 200pxx@ }{ /td }{ /tr }[ /xtable ]

in this last table, i have only changed the width of one column, but it automatically changes all columns above and below it, so keep this in mind when you change widths.

in the example below, you can see that i have made three rows { tr } with one column { td } in each row. however, the third row is just for aesthetics and basically just adds a line of color.



efd18c2b13952adc11b03bd7c7868746.jpg

dream big.โ€…
Mauris a id velit faucibus sollicitudin.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac ligula vulputate, gravida massa sed, hendrerit massa. Proin cursus bibendum efficitur. Morbi id urna vitae turpis ullamcorper pretium. Quisque vitae augue a orci euismod faucibus quis eget ex. Vivamus sed eleifend dui. Ut nunc quam, aliquet non venenatis nec, feugiat scelerisque augue. Suspendisse posuere eget odio dignissim ultricies. Sed quis facilisis eros. Aliquam erat volutpat. Aenean finibus aliquet eros id tincidunt.

Quisque nec finibus leo, non luctus elit. Quisque orci dolor, eleifend eu orci in, sollicitudin lacinia odio. Proin porta malesuada ante, eget sollicitudin metus. Phasellus pellentesque lectus odio, condimentum sagittis urna condimentum quis. Sed bibendum sem congue pulvinar fermentum. Curabitur molestie faucibus ex nec imperdiet. Nunc volutpat augue ac orci euismod, eu vestibulum risus viverra. Quisque scelerisque quam vitae purus gravida laoreet. Aliquam pretium justo eget metus imperdiet elementum at ac risus. Praesent rhoncus odio eu euismod elementum. Donec dignissim lectus ut tortor condimentum, in aliquam est gravida. Maecenas nisl magna, consectetur non lectus ut, dapibus commodo nisl. Mauris pulvinar eleifend pulvinar.

In tincidunt, eros vitae ultrices bibendum, lectus neque molestie diam, non gravida purus nisi eget sapien. Vestibulum vehicula pharetra ipsum nec efficitur. Etiam nec mollis urna. Cras fringilla ex ac luctus sodales. Mauris ut lorem sit amet odio imperdiet volutpat at quis quam. Sed fringilla nisi nec turpis imperdiet dapibus. Quisque augue urna, luctus nec urna at, semper mattis mi. Nulla maximus hendrerit nulla. Mauris in erat at felis hendrerit consequat iaculis et metus. Etiam porttitor dolor ac dui consectetur tincidunt. Cras lectus enim, luctus sed sagittis venenatis, consectetur in nisl. Praesent ligula lorem, dapibus vel imperdiet placerat, consectetur vel odio. Nullam mattis vel tellus sit amet blandit.
 
in the example below, i've also added content to the third column.



efd18c2b13952adc11b03bd7c7868746.jpg

dream big.โ€…
Mauris a id velit faucibus sollicitudin.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac ligula vulputate, gravida massa sed, hendrerit massa. Proin cursus bibendum efficitur. Morbi id urna vitae turpis ullamcorper pretium. Quisque vitae augue a orci euismod faucibus quis eget ex. Vivamus sed eleifend dui. Ut nunc quam, aliquet non venenatis nec, feugiat scelerisque augue. Suspendisse posuere eget odio dignissim ultricies. Sed quis facilisis eros. Aliquam erat volutpat. Aenean finibus aliquet eros id tincidunt.

Quisque nec finibus leo, non luctus elit. Quisque orci dolor, eleifend eu orci in, sollicitudin lacinia odio. Proin porta malesuada ante, eget sollicitudin metus. Phasellus pellentesque lectus odio, condimentum sagittis urna condimentum quis. Sed bibendum sem congue pulvinar fermentum. Curabitur molestie faucibus ex nec imperdiet. Nunc volutpat augue ac orci euismod, eu vestibulum risus viverra. Quisque scelerisque quam vitae purus gravida laoreet. Aliquam pretium justo eget metus imperdiet elementum at ac risus. Praesent rhoncus odio eu euismod elementum. Donec dignissim lectus ut tortor condimentum, in aliquam est gravida. Maecenas nisl magna, consectetur non lectus ut, dapibus commodo nisl. Mauris pulvinar eleifend pulvinar.

In tincidunt, eros vitae ultrices bibendum, lectus neque molestie diam, non gravida purus nisi eget sapien. Vestibulum vehicula pharetra ipsum nec efficitur. Etiam nec mollis urna. Cras fringilla ex ac luctus sodales. Mauris ut lorem sit amet odio imperdiet volutpat at quis quam. Sed fringilla nisi nec turpis imperdiet dapibus. Quisque augue urna, luctus nec urna at, semper mattis mi. Nulla maximus hendrerit nulla. Mauris in erat at felis hendrerit consequat iaculis et metus. Etiam porttitor dolor ac dui consectetur tincidunt. Cras lectus enim, luctus sed sagittis venenatis, consectetur in nisl. Praesent ligula lorem, dapibus vel imperdiet placerat, consectetur vel odio. Nullam mattis vel tellus sit amet blandit.

Nunc pharetra mi nibh, non blandit diam faucibus in.
here are some codes you can copy-paste! feel free to play around. i've added both with and without padding (table within table). change the widths as you see fit, but remember that the width within the column has to be smaller than the actual column if you want that padding around your text/content.
 
 
2 rows, 1 column per row - without padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|600pxx@}first box{/td}{/tr}{tr}{td=border:0|bcolor:#d3aedd|600pxx@}second box{/td}{/tr}[/xtable]


 

 
2 rows, 1 column per row - with padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#a376ca|600pxx@} [xtable=bcenter]{tr}{td=border:0|bcolor:#ffffff|550pxx@}first box{/td}{/tr}[/xtable]{/td}{/tr}{tr}{td=border:0|bcolor:#d3aedd|600pxx@} [xtable=bcenter]{tr}{td=border:0|bcolor:#ffffff|550pxx@}second box{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]

 
 
 
3 rows, 1 column per row - without padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#7037a1|600pxx@}first box{/td}{/tr}{tr}{td=border:0|bcolor:#d3aedd|600pxx@}second box{/td}{/tr}{tr}{td=border:0|bcolor:#a376ca|600pxx@}third box{/td}{/tr}[/xtable]



 

 

 
3 rows, 1 column per row - with padding:
[xtable=bcenter]{tr}{td=border:0|bcolor:#7037a1|600pxx@} [xtable=bcenter]{tr}{td=border:0|bcolor:#ffffff|550pxx@}first box{/td}{/tr}[/xtable]{/td}{/tr}{tr}{td=border:0|bcolor:#d3aedd|600pxx@} [xtable=bcenter]{tr}{td=border:0|bcolor:#ffffff|550pxx@}second box{/td}{/tr}[/xtable]{/td}{/tr}{tr}{td=border:0|bcolor:#a376ca|600pxx@} [xtable=bcenter]{tr}{td=border:0|bcolor:#ffffff|550pxx@}third box{/td}{/tr}[/xtable]{/td}{/tr}[/xtable]
 
Back
Top Bottom