Template:Initial/doc
This template uses TemplateStyles: |
Usage
[edit]Initial simplifies the reproduction of typical formatting found at the beginning of a chapter: A dropped capital, with the remainder of the word uppercased. While this can be reproduced relatively simply, ex. {{di|T}}HE
, or more correctly {{uc|{{di|T}}he}}
, if the first paragraph is part of a bulleted list, and letter-spacing is applied, the formatting becomes more complicated, ex. {{di|1.|1em}}{{uc|{{di|T}}{{sp|he|.2em}}}}
. Initial replaces this with {{initial|T|he}}
in the simple case, and {{initial|T|he|0.2em|num=1.}}
in the more complex case:
Example
{{block center|width=67%| {{initial|T|he|0.2em|num=1.}} grand Truth which we are now to be imployed about and to prove, is, ''That there is a God:'' And I made choice of this Subject as very seasonable for the Times we are in, and are coming on, wherein Divine Providence more universally loosening the minds of men from the awe and tyranny of mere accustomary Superstition, and permitting a freer perusal of matters of Religion then in former Ages, the Tempter would take advantage, where he may, to carry men captive out of one dark prison into another, out of ''Superstition'' into ''Atheism'' it self. }}
1. The grand Truth which we are now to be imployed about and to prove, is, That there is a God: And I made choice of this Subject as very seasonable for the Times we are in, and are coming on, wherein Divine Providence more universally loosening the minds of men from the awe and tyranny of mere accustomary Superstition, and permitting a freer perusal of matters of Religion then in former Ages, the Tempter would take advantage, where he may, to carry men captive out of one dark prison into another, out of Superstition into Atheism it self.
Parameter | Mandatory | Definition | Notes |
---|---|---|---|
1 | no | Dropped capital | Default value is "A". |
2 | no | Uppercase text | There is no space between the dropped capital and the uppercase text. To add one, use   or .
|
3 | no | Letter spacing | Default value is "0" (no spacing). |
4 | no | Font size of dropped capital | Default value is "3em" (300% of the overall text size, which is "1em"). |
num | no | Number | If part of numbered list. Usually "1."; any value can be used. Appears as a superscript before the dropped capital. |
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.
Initial
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Dropped capital | 1 | no description
| String | optional |
Uppercase text | 2 | There is no space between the dropped capital and the uppercase text. | Content | optional |
Letter spacing | 3 | Default value is "0" (no spacing).
| Line | optional |
Font size of dropped capital | 4 | Default value is "3em" (300% of the overall text size, which is "1em").
| Line | optional |
Number | num | If part of numbered list. Usually "1."; any value can be used. Appears as a superscript before the dropped capital.
| Content | optional |