Template:Style P-Poem: Difference between revisions
(Created page with "<noinclude>{{Text for paragraph styles | description = This style is used to format '''poems''' and '''verses'''. | modifications = text floats in the column and placed at t...") |
m (Allow unnamed parameter 1 as fallback for poem) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
| to copy = Style P-Poem{{!}}title= {{!}}poem= {{!}}signature= | | to copy = Style P-Poem{{!}}title= {{!}}poem= {{!}}signature= | ||
}} | }} | ||
or | |||
<pre> | <pre> | ||
{{Style P-Poem | {{Style P-Poem | ||
| title = | | title = | ||
| poem = | | poem = | ||
| signature = | | signature = | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 25: | Line 25: | ||
"I am ready all the time!" | "I am ready all the time!" | ||
|signature= Vasily Lebedev-Kumach | |signature= Vasily Lebedev-Kumach<br>Fragments, 1936 | ||
Fragments, 1936 | }} | ||
}}</pre> | }}</pre> | ||
| Line 38: | Line 38: | ||
"I am ready all the time!" | "I am ready all the time!" | ||
|signature= Vasily Lebedev-Kumach | |signature= Vasily Lebedev-Kumach<br>Fragments, 1936 | ||
Fragments, 1936 | |||
}} | }} | ||
| Line 45: | Line 44: | ||
{| style="margin: 0 auto;" | {| style="margin: 0 auto;" | ||
|- | |- | ||
| style=" text-align:left" | {{#tag:poem|{{{poem}}}}} | | style=" text-align:left" | {{#tag:poem|{{{poem|{{{1|}}}}}}}} | ||
|- | |- | ||
| style="text-align:right; font-size: 80%; font-style: italic;" | {{#if: {{{signature|}}}|{{{signature}}}|}} | | style="text-align:right; font-size: 80%; font-style: italic;" | {{#if: {{{signature|}}}|{{{signature}}}|}} | ||
|}</includeonly> | |}</includeonly> | ||
Latest revision as of 16:26, 10 November 2026
This style is to design paragraph in text. To highligt just several symbols use templates for symbol styles.
This style is used to format poems and verses.
Modifications:
- text floats in the column and placed at the center of the page
- no extra empty line is required in text
To copy:
{{Style P-Poem|title= |poem= |signature=}}
or
{{Style P-Poem
| title =
| poem =
| signature =
}}
Only poem parameter is required, so template can be used in short form:
{{Style P-Poem |poem = Text}}
Example:
{{Style P-Poem|title=Pioneer
|poem= 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!"
|signature= Vasily Lebedev-Kumach<br>Fragments, 1936
}}
}}
Result:
Pioneer
Pioneer! Be always gallant, |
| Vasily Lebedev-Kumach Fragments, 1936 |