• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.172
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Drop cap

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
(Redirected from Template:Drop)


File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Use and Options
    • 1.1 Use
    • 1.2 Options
    • 1.3 Issues

Use and Options

Use

Makes a drop capital for any letter(s) used for the single parameter. Example:
{{drop|T}}he drop-capital looks like this {{lorem ipsum}}.

Gives:

T

he drop-capital looks like this. Lorem ipsum dolor sit amet, consectetur adipiscing 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

  1. fs: font size for the capital, (default 400%), (pt,em,cm,ins,px, etc.)
  2. lh: line height for the capital, (default 75%)
  3. ff: font family for the capital, (default serif)

Issues

While previewing edit through the Preview tab of Extension:WikiEditor, if the drop letter is used as the first character on a page, the drop letter's base might not appear inline with the second line of text. In such a case, the drop letter would appear a little elevated from the base. However, this is just a preview bug, and the text will render correctly.

The above documentation is transcluded from Template:Drop cap/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Drop_cap&oldid=14844"
Categories:
  • Pages with broken file links
  • Layout templates
Last edited on 15 February 2022, at 13:37

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 15 February 2022, at 13:37.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop