So, I used the information from this thread, but I'm wondering if there is a way to add more columns. I'm wanting to have 3 columns for a list. If I tweak and rename the code, will it still work or do I have to find a different code to use?
So, I used the information from this thread, but I'm wondering if there is a way to add more columns. I'm wanting to have 3 columns for a list. If I tweak and rename the code, will it still work or do I have to find a different code to use?
Well, it would be similar to the to the two-column code.
I'd go to Mediawiki:Wikia.css and add:
.threeColumns {
-moz-column-count:3;
-webkit-column-count:3;
column-count:3;
}
Then it would do this:
<div class="threeColumns">
*test1
*test2
*test3
</div>
Okay, that's what I thought... That should work, but as I remember most MediaWiki wikis have a bug where the first item in the first column might have some unnecessary space at the top. Try it out... maybe the bug was fixed.
The bug is still there, but it's not noticable unless you are looking for it or have OCD. Other than that, it's working just like I wanted. The list I had worked fine with two columns and I may have to go back to that later on, but just knowing I can now use three columns if I wanted is a big help.