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-col diegetic-ot"><div class="diegetic-head">Old Tongue</div>{{#tag:poem|{{{oldtongue|}}} }}</div> | ||
<div class="diegetic-en">{{#tag:poem|{{{ | <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">Official English</div>{{#tag:poem|{{{official|}}} }}</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 | ||
Line breaks in | the official English. Line breaks in all three parameters are preserved. The | ||
the content area is too narrow to contain | 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 | ||
| | | literal = | ||
On | On slopes | ||
(of) Dragonmount | |||
| official = | |||
On the slopes of | |||
Dragonmount | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 03:14, 29 August 2026
Old Tongue
Literal
Official 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
}}