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">{{{oldtongue|}}}</div> | <div class="diegetic-ot"><poem>{{{oldtongue|}}}</poem></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. | ||
The | Line breaks in the oldtongue parameter are preserved. The columns stack | ||
Requires the .diegetic-* rules in [[MediaWiki:Common.css]]. | vertically when the content area is too narrow to contain both. | ||
Requires Extension:Poem and the .diegetic-* rules in [[MediaWiki:Common.css]]. | |||
Usage: | Usage: | ||
| Line 11: | Line 12: | ||
{{DiegeticParagraph | {{DiegeticParagraph | ||
| oldtongue = | | oldtongue = | ||
Ost ronagh | |||
Aman'dore | |||
| english = | | english = | ||
On the slopes of Dragonmount shall he be born, | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:41, 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 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,
}}