Template:Largeinitial/doc
This is a documentation subpage for Template:Largeinitial. It contains usage information, categories and other content that is not part of the original template page. |
This template uses TemplateStyles: |
This template uses a See H:DIVSPAN for details. Template:Class notice |
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
[edit]{{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}}
- {{Initial}}