Is there a possibility to have footnotes in two or three columns?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Is there a possibility to have footnotes in two or three columns?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
The footnoteblock is only inserted at "one position in one block.
AS long as we have no "automatically" 2 column layout of ONE div I think this is not so easy possible.
Or do we have such div ?
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
In Wikipedia it is. I can have footnotes with one, two, three even four columns… There must be some workaround for this, too…
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Please - an example link would help!
I am interesting how this is done on wikipedia - I have written a lot here
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
http://en.wikipedia.org/wiki/Shakespeare
Here, for example. They introduce include templarte {{reflist|colwidth=30em}} but there are also {{reflist|2}} where the number determines the number of columns…
Here, for example:
http://en.wikipedia.org/wiki/English_language
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
The include for the reflist is here. On that page it states that the column trick is made possible with the incomplete CSS3 standards — it is only supported by Firefox at present.
FYI, the code bamboozled me:
<div class="references-small {{#if: {{{colwidth|}}} | references-column-width | {{#iferror: {{#ifexpr: {{{1|1}}}>1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}>
{{#tag:references||group={{{group|}}}}}</div><noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude>
Sorry, Brunhilda,
I cannot see two columns here..
Edit: I see know james note about Firefox anc CSS3 -Standared - I use IE 8 now and have now idea what you are meaning.
I will have alook on firefox later
Edit2: on FF this looks all smaller and the complete footnote area shorter … therefore I understand your wishes.. :)
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
I made a screenshots for you, Helmuti.
http://isbitestsite.wdfiles.com/local--files/system:start/ref1.jpg
http://isbitestsite.wdfiles.com/local--files/system:start/ref2.jpg
James, thank you. Any ideas how do I do in Wikidot?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Thanks Bruinhilda,
but for the moment I see no real chance with our syntax we have now…
what we need is a split iframe of one of your pages - out of the footnoteblock - iframe1 takes the forst aprt amd iframe2 the seond part - bith parallel over divs positioned…
Could be the footnoteblock is using its own CSS-content area - than we could have a chance to do it like wikipedia
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
If I understood you well, you are asking if there is CSS code for footnoteblock?
I know that I do have something in CSS so the letters are smaller in my footnoteblock… Here:
.footnotes-footer{
margin: 0; padding: 0.5em 0;
/*border-top: 1px solid #CCC;*/
height: 1%;
font-size: 90%;
}
Maybe something added there…?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
It is not a question of just adding something like <ol> or a text-wrap property in the CSS as there would need to be some mechanism to tell the footnoteblock when to start the next column, even with a straightforward float:left property. And because footnoteblock uses javascript that is another complicating factor. So unfortunately Brunhilda I don't think there is a way of doing this on wikidot sites just yet. There might be a solution that doesn't use the footnote and footnoteblock syntax, perhaps javascript based, that might work but it would need investigating.
Rob
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.
Brunhilda, I have a manual solution for you!
Firstly, add the following to your custom CSS:
.multi-column div { padding: 0; margin-bottom: 1em; }
Then, on your page, paste the following code where you want your footnoteblock to be:
[[size medium]]**Footnotes**[[/size]]
[[div class="multi-column" style="-moz-column-count: 3; -moz-column-gap: 15px;"]]
[[footnoteblock title=""]]
[[/div]]
That manually sets the number of columns to be 3, with a gap of 15 pixels between each column. This only works in Mozilla FireFox, however.
This code is not restricted to the footnoteblock; it can also be used with the Bibliography Block.
Hope this helps for you!
Hm, and what about:
[[div class="multi-column" style="-moz-column-count: {$columns}; -moz-column-gap: {$gap};"]]
[[footnoteblock title=""]]
[[/div]]
So I can arrange the number of columns and the width of a gap… I'll try it out now!
Thanks, James!
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Oh, James, you're a real genous! Look!
http://istorijska-biblioteka.wikidot.com/art:alarih-i#toc9
Shall we write a howto????
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Using an include for dynamic variables? No… it is YOU who is the genius!
I'm surprised I didn't think of that myself!
But yeah, I'm glad I could help in the end… sorry it took 24 days to give you the solution.
Shall we write a howto????
Yes! A how-to is a great idea!
But yeah, I'm glad I could help in the end… sorry it took 24 days to give you the solution.
Better late than never, as the old saying says! ;)
I'll get back when i write the how-to!
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Excuse me, James…
How would you do it for Bibliography?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Wowzers! You wrote that how-to quickly!
The first pulsar was observed by J. Bell and A. Hewish [((bibcite bell))]. Another reference [see ((bibcite guy))].
[[div class="multi-column" style="-moz-column-count: 3; -moz-column-gap: 20px;"]]
[[bibliography]]
: bell : Bell, J.; Hewish, A.; Pilkington, J. D. H.; Scott, P. F.; and Collins, R. A. //Observation of a Rapidly Pulsating Radio Source.// Nature 217, 709, 1968.
: guy : Guy, R. K. //Modular Difference Sets and Error Correcting Codes.// §C10 in Unsolved Problems in Number Theory, 2nd ed. New York: Springer-Verlag, pp. 118-121, 1994.
[[/bibliography]]
[[/div]]
The first pulsar was observed by J. Bell and A. Hewish [1]. Another reference [see 2].
Any idea how to put it in include module???
BTW, are you absolutely sure that this is possible only in FF?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney