Template:DiegeticParagraph: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="diegetic-paragraph"> | <div class="diegetic-paragraph"> | ||
<div class="diegetic-ot"> | <div class="diegetic-ot">{{#tag:poem|{{{oldtongue|}}} }}</div> | ||
<div class="diegetic-en">{{{english|}}}</div> | <div class="diegetic-en"> | ||
{{{english|}}} | |||
</div> | |||
</div><noinclude> | </div><noinclude> | ||
Renders a paragraph of on-screen Old Tongue text beside its English translation. | Renders a paragraph of on-screen Old Tongue text beside its English translation. | ||
Line breaks in the oldtongue parameter are preserved. The columns stack | Line breaks in the oldtongue parameter are preserved; the english parameter | ||
vertically when the content area is too narrow to contain both. | reflows as prose. The columns stack vertically when the content area is too | ||
narrow to contain both. | |||
Requires Extension:Poem and the .diegetic-* rules in [[MediaWiki:Common.css]]. | Requires Extension:Poem and the .diegetic-* rules in [[MediaWiki:Common.css]]. | ||
| Line 16: | Line 20: | ||
| english = | | english = | ||
On the slopes of Dragonmount shall he be born, | On the slopes of Dragonmount shall he be born, | ||
born of a maiden wedded to no man. | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 01:00, 29 August 2026
Renders a paragraph of on-screen Old Tongue text beside its English translation. Line breaks in the oldtongue parameter are preserved; the english parameter reflows as prose. The columns stack vertically when the content area is too narrow to contain both.
Requires Extension:Poem and the .diegetic-* rules in MediaWiki:Common.css.
Usage:
{{DiegeticParagraph
| oldtongue =
Ost ronagh
Aman'dore
| english =
On the slopes of Dragonmount shall he be born,
born of a maiden wedded to no man.
}}