Posted by Brunhilda on 22 Aug 2009 14:53, last edited by GoVegan on 12 Nov 2010 09:49
OK, thanks to James Kanjo, a brilliant young man, we have come up to this marvelous solution.
If you want to put Footnotes in two columns, you just follow these simple steps:
- First, insert into your CSS the following code:
.multi-column .footnote-footer {
padding: 0;
padding-bottom: 1em;
}
- Then, create a page template:footnotes
- Insert into that page the following code:
[[div class="multi-column" style="-moz-column-count: {$columns}; -moz-column-gap: {$gap};"]]
[[footnoteblock title=""]]
[[/div]]
- Then use include module with variables in a page where you want to have footnotes in multiple columns.
[[include template:footnotes
|columns=2 or 3, 4, whatever number you want
|gap=25px
]]
Now, I recommend the gap of 25px, and if you are ok with it, you can even put it as a constant parameter in the template page code. But if you need different gap widths at different pages, then it is better to keep it as variable parameter.
In action
http://istorijska-biblioteka.wikidot.com/art:ilarion-ruvarac#toc16
Author
James Kanjo. Please visit his/her userPage.
Brunhilda. Please visit his/her userPage.