Template:Largeinitial
This template uses TemplateStyles: |
This template uses a See H:DIVSPAN for details. This template applies the class(es) |
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,
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]- Category:Dropinitials with image (only tracks users of image parameter)
- Category:Dropinitials with image in parameter 1 (only images not in the image parameter)
- Category:Dropinitials with image but no alt text
- Category:Dropinitials with no initial
See also
[edit]- {{Dropinitial}}
- {{Largeinitial}}, for large initials that sit on the same baseline as surrounding text and extend upwards
- {{Initial}}, to simplify drop initials, small caps, numbering etc. from the start of paragraphs into a single template
- Template:Img float#Polygon shape outlines, for a large initial a with polygonal outline; needed when the image has a non-rectangular shape around which the surrounding text flows.