Template:DiegeticParagraph: Difference between revisions

From Old Tongue Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="diegetic-paragraph">
<div class="diegetic-paragraph">
<div class="diegetic-ot">{{#tag:poem|{{{oldtongue|}}} }}</div>
<div class="diegetic-col diegetic-ot"><div class="diegetic-head">Old Tongue</div>{{#tag:poem|{{{oldtongue|}}} }}</div>
<div class="diegetic-en">{{#tag:poem|{{{english|}}} }}</div>
<div class="diegetic-col diegetic-lit"><div class="diegetic-head">Literal</div>{{#tag:poem|{{{literal|}}} }}</div>
<div class="diegetic-col diegetic-en"><div class="diegetic-head">Canonical English</div>{{#tag:poem|{{{official|}}} }}</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 with a literal translation and
Line breaks in both parameters are preserved. The columns stack vertically when
the official English. Line breaks in all three parameters are preserved. The
the content area is too narrow to contain both.
columns stack vertically when the content area is too narrow to contain them.


Requires Extension:Poem and the .diegetic-* rules in [[MediaWiki:Common.css]].
Requires Extension:Poem and the .diegetic-* rules in [[MediaWiki:Common.css]].
Line 15: Line 16:
Ost ronagh
Ost ronagh
Aman'dore
Aman'dore
| english =
| literal =
On the slopes of Dragonmount shall he be born,
On slopes
born of a maiden wedded to no man.
(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
}}