Template:Largeinitial

From Wikisource
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit]

This template is for creating the large initial of a beginning paragraph that is common in both modern and antiquated typography:

Lorem ipsum sit amet...

To use[edit]

{{largeinitial|content|font-size|margin-top|margin-right|margin-bottom|margin-left|font-family}}.

  • The font-size parameter and margin value parameters should be specified with relative units, i.e. as a percent or in 'en' or 'em' units.
  • The font-family parameter is specified as font= serif or sans-serif.

Only the first parameters is necessary, Otherwise the defaults are

  • font-size = 3em
  • all margins = 0em
  • font = serif

Image initials[edit]

  • image the image file name
  • imgsize the size of the image (must be in px)

Example

{{Largeinitial|A
 |image=Initial A in Czechoslovakia's tribute to the memory of Woodrow Wilson.jpg
 |imgsize=70px
}} great Idealist has departed: a true American, a devoted champion of American democratic Ideals, 

A great Idealist has departed: a true American, a devoted champion of American democratic Ideals,

Alternate typography[edit]

If you need the "drop initial" effect in a text, in which the enlarged initial drops below the baseline and the subsequent lines of the text wrap around it use the template {{dropinitial}}:

Lorem ipsum suas propriae ne nam. Duo etiam omittam ea, ex mei nostrud interesset. Sea no idque aliquyam, cu utamur impedit usu. Has te falli explicari disputationi, in ius decore denique torquatos, id usu harum similique cotidieque. Splendide consequuntur ex quo. Ut qui primis alienum. At ignota consetetur moderatius qui. Et eam habeo mediocritatem, iisque neglegentur sed ut. Tempor apeirian moderatius ad sit. Everti iriure an nam, duo aliquip tamquam et, ne tollit graeco his. Et eum vidisse maiestatis.

Tracking categories[edit]

See also[edit]