Jump to content

Template talk:Overfloat left

Page contents not supported in other languages.
Add topic
From Wikisource
Latest comment: 14 years ago by Cygnis insignis in topic Envisaged use

Envisaged use

[edit]

Tried to just plug it into the Page: ns and the page is going to need some further thought before we can look at its use replacing a sidenotes page. — billinghurst sDrewth 11:03, 15 May 2010 (UTC)Reply

Playing with a combination of bits, and for overfloat to work as a sidenote, I tried this
<span style="float:left; margin-left:-{{{depth|9em}}}; width:{{#expr:{{{depth|9}}}-{{{padding|1}}}}}em; margin-top: {{{top|4}}}px; text-align: {{{align|left}}}; font-size: {{{size|smaller}}}; line-height: 125%;">{{{1}}}{{gap|{{{padding|1em}}}}}</span>
utilising a default 8 em left channel, and to implement its width in a standard framework, I have put it within
<div class="indented-page" style="margin-left:10em">
I have hard calculated a width of the float by subtracting the padding (note, I bumped this up from 0.2em) from the left margin offset. If this is not going to work for what you have in mind, then I will look to implement this for a separate sort of sidenotes.
For use in the Page: ns it just requires a left margin, or one can utilise {{sidenotes begin}} as per this trial.
If the format does work, then let's squabble over default values. — billinghurst sDrewth 14:29, 15 May 2010 (UTC)Reply

I used it at this page. Cygnis insignis (talk) 14:54, 15 May 2010 (UTC)Reply

And at this page, where I increased the depth for the text. Are these examples the intended and best usage? Cygnis insignis (talk) 16:12, 28 May 2010 (UTC)Reply
Another complex format, this one evading the problem of what could be seen as an indented 'drop initial'. Cygnis insignis (talk) 11:15, 26 June 2010 (UTC)Reply