Szablon:Dropinitial: Różnice pomiędzy wersjami

[wersja nieprzejrzana][wersja nieprzejrzana]
Usunięta treść Dodana treść
Nie podano opisu zmian
Nie podano opisu zmian
Linia 1:
<includeonly><div class="dropinitial" style="font-size: {{#ifeq:{{{2|3em}}}|3em|3em|{{{2}}}}}; line-height: 1em; float: left; margin: {{#ifeq:{{{3|0em}}}|0em|0em|{{{3}}}}} {{#ifeq:{{{4|.05em1em}}}|.05em1em|.05em1em|{{{4}}}}} {{#ifeq:{{{5|0em}}}|0em|0em|{{{5}}}}} {{#ifeq:{{{6|0em}}}|0em|0em|{{{6}}}}};">{{#ifeq:{{{1|A}}}|A|A|{{{1}}}}}</div></includeonly><noinclude><br style="clear:both;"/>
This template is for creating the "drop [[w:initial|initial]]" effect that is common in both modern and antiquated typography:
 
Linia 13:
<li>content = A</li>
<li>font-size = 3em</li>
<li>margin-right = .05em1em</li></ul>
 
Which should produce a drop initial approximately the height of two lines in the current Wikisource default font.