Jump to content

Template:Drop/doc

From Wikibooks, open books for an open world

Makes a drop capital for any letter(s) used for the single parameter.

Example of use:

{{drop|T}}he drop-capital looks like this. {{lorem ipsum}}

gives:

T

he drop-capital looks like this. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Options

[edit source]
fs
font size for the capital, (default 400%), (pt,em,cm,ins,px, ect.)
lh
line height for the capital, (default 50%)
ff
font family for the capital, (default serif)
r-mrg
right margin around the capital, (default 4px)
top-pdd
top padding around the capital, (default 10px)

See also

[edit source]