Template:DiegeticParagraph: Difference between revisions
Jump to navigation
Jump to search
Created page with "<div class="diegetic-paragraph" style="display:flex; flex-wrap:wrap; gap:1.5em; margin:1.5em 0; padding:1em 1.25em; border:1px solid #d4c4a8; background:#fdfaf3;"> <div class="diegetic-ot" style="flex:1 1 18em; min-width:0; white-space:pre-line; font-style:italic; color:#4a3c28;"> {{{oldtongue|}}} </div> <div class="diegetic-en" style="flex:1 1 18em; min-width:0; color:#555;"> {{{english|}}} </div> </div><noinclude> Renders a paragraph of on-screen Old Tongue text beside..." |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="diegetic-paragraph" | <div class="diegetic-paragraph"> | ||
<div class="diegetic- | <div class="diegetic-col diegetic-ot"><div class="diegetic-head">Old Tongue</div>{{#tag:poem|{{{oldtongue|}}} }}</div> | ||
{{{ | <div class="diegetic-col diegetic-lit"><div class="diegetic-head">Literal</div>{{#tag:poem|{{{literal|}}} }}</div> | ||
</div> | <div class="diegetic-col diegetic-en"><div class="diegetic-head">Canonical English</div>{{#tag:poem|{{{official|}}} }}</div> | ||
<div class="diegetic-en" | |||
{{{ | |||
</div> | |||
</div><noinclude> | </div><noinclude> | ||
Renders a paragraph of on-screen Old Tongue text | Renders a paragraph of on-screen Old Tongue text with a literal translation and | ||
the official English. Line breaks in all three parameters are preserved. The | |||
columns stack vertically when the content area is too narrow to contain them. | |||
Requires Extension:Poem and the .diegetic-* rules in [[MediaWiki:Common.css]]. | |||
Usage: | Usage: | ||
| Line 14: | Line 14: | ||
{{DiegeticParagraph | {{DiegeticParagraph | ||
| oldtongue = | | oldtongue = | ||
Ost ronagh | |||
Aman'dore | |||
| | | literal = | ||
On slopes | |||
(of) Dragonmount | |||
| official = | |||
On the slopes of | |||
Dragonmount | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 03:19, 29 August 2026
Old Tongue
Literal
Canonical English
Renders a paragraph of on-screen Old Tongue text with a literal translation and the official English. Line breaks in all three parameters are preserved. The columns stack vertically when the content area is too narrow to contain them.
Requires Extension:Poem and the .diegetic-* rules in MediaWiki:Common.css.
Usage:
{{DiegeticParagraph
| oldtongue =
Ost ronagh
Aman'dore
| literal =
On slopes
(of) Dragonmount
| official =
On the slopes of
Dragonmount
}}