Template:Style P-Poem: Difference between revisions
No edit summary |
m (Allow unnamed parameter 1 as fallback for poem) |
||
| (One intermediate revision by one other user not shown) | |||
| 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 |