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">{{#tag:poem|{{{oldtongue|}}} }}</div> | <div class="diegetic-ot">{{#tag:poem|{{{oldtongue|}}} }}</div> | ||
<div class="diegetic-en"> | <div class="diegetic-en">{{#tag:poem|{{{english|}}} }}</div> | ||
{{{english|}}} | |||
</div> | </div> | ||
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 english parameter | Line breaks in the oldtongue parameter are preserved; the english parameter | ||
Revision as of 01:06, 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.
}}