Template:DiegeticParagraph: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<div class="diegetic-ot">{{#tag:poem|{{{oldtongue|}}} }}</div> | <div class="diegetic-ot">{{#tag:poem|{{{oldtongue|}}} }}</div> | ||
<div class="diegetic-en">{{#tag:poem|{{{english|}}} }}</div> | <div class="diegetic-en">{{#tag:poem|{{{english|}}} }}</div> | ||
</div> | </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 | Line breaks in both parameters are preserved. The columns stack vertically when | ||
the content area is too narrow to contain both. | |||
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]]. | ||
Revision as of 01:08, 29 August 2026
Renders a paragraph of on-screen Old Tongue text beside its English translation. Line breaks in both parameters are preserved. 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.
}}