Template:Style P-Epigraph center in capitals

From Teopedia
(Redirected from User:Sergey/test SD1)

This style is to design paragraph in text. To highligt just several symbols use templates for symbol styles.

This style is used to format epigraph before main text: the quotation is centered, the signature is in small capitals and not in italic. See also {{Style P-Epigraph}} (signature in italic) and {{Style P-Epigraph right in capitals}} (quotation aligned to the right).


Modifications:

  • quotation: text-align: center
  • font-style: normal
  • signature: text-align: right
  • font-variant: small-caps
  • font-style: normal
  • width of the block is set by the third parameter (optional)


To copy:

{{Style P-Epigraph center in capitals|||}}


{{Style P-Epigraph center in capitals | Text
 | Signature
 | Width, for example '''250px''' or '''39%''' (optional)
}}

Only the first parameter is required, so the template can be used in short form:

{{Style P-Epigraph center in capitals | Text }}

Example

{{Style P-Epigraph center in capitals|Gently to hear, kindly to judge.|Shakespeare.|250px}}

Result:


Gently to hear, kindly to judge.
Shakespeare.