Template:Style P-Epigraph: Difference between revisions

From Teopedia
(Created page with "<noinclude>{{Text for paragraph styles | description = This style is used to format '''epigraph''' before main text. | modifications = text float in the column and placed at...")
 
mNo edit summary
 
Line 1: Line 1:
<noinclude>{{Text for paragraph styles
<noinclude>{{Text for paragraph styles
  | description = This style is used to format '''epigraph''' before main text.
  | description = This style is used to format '''epigraph''' before main text.
  | modifications = text float in the column and placed at the right side; use hyphens; signature is in italic; font-size: 90%; text-align: justify;
  | modifications = text floats in the column and placed at the right side; use hyphens; signature is in italic; font-size: 90%; text-align: justify;
  | to copy = Style P-Epigraph{{!}}{{!}}{{!}}
  | to copy = Style P-Epigraph{{!}}{{!}}{{!}}
}}
}}
Line 47: Line 47:
}}
}}


</noinclude>
</noinclude><includeonly><div align="right">
<includeonly><div align="right">
<div style="width: {{{3|400px}}}; font-size: 90%; text-align: justify; hyphens: auto; font-family: 'Droid Serif', 'Times New Roman', serif; margin-bottom: 21px;">{{{1|}}}
<div style="width: {{{3|400px}}}; font-size: 90%; text-align: justify; hyphens: auto; font-family: 'Droid Serif', 'Times New Roman', serif; margin-bottom: 21px;">{{{1|}}}
{{#if: {{{2|}}}| <div style="font-size: 90%; text-align: right; font-style: italic; font-family: 'Droid Serif', 'Times New Roman', serif;">{{{2}}}
{{#if: {{{2|}}}| <div style="font-size: 90%; text-align: right; font-style: italic; font-family: 'Droid Serif', 'Times New Roman', serif;">{{{2}}}

Latest revision as of 21:57, 18 May 2020

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.


Modifications:

  • text floats in the column and placed at the right side
  • use hyphens
  • signature is in italic
  • font-size: 90%
  • text-align: justify


To copy:

{{Style P-Epigraph|||}}


{{Style P-Epigraph | Text
 | Signature
 | Width, for example '''400px''' (default) or '''39%'''
}}

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

{{Style P-Epigraph | Text }}

Example:

{{Style P-Epigraph|Pioneer! Be always gallant,

No vows that doesn’t cost a dime,

Prove your words with deeds and talents.

"I am ready all the time!"

| Vasily Lebedev-Kumach

Fragments, 1936
}}

Result:


Pioneer! Be always gallant,

No vows that doesn’t cost a dime,

Prove your words with deeds and talents.

"I am ready all the time!"


Vasily Lebedev-Kumach

Fragments, 1936