Template:Text and translation: Difference between revisions

From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="padding:1em 3em 1em 3em><!--
<includeonly><blockquote class="templatequote" style="padding:1em 3em 1em 3em><!--
--><div style="display:flex;flex-flow:row wrap; gap:3em"><!--
--><div style="display:flex;flex-flow:row wrap; gap:3em"><!--
--><div style="flex: 1 0 300px;">{{{1}}}</div><!--
--><div style="flex: 1 0 300px;">{{{1}}}</div><!--
Line 5: Line 5:
--></div><!--
--></div><!--
-->{{#if:{{{author|{{{3|}}}}}}|<div class="templatequotecite">—&thinsp;<cite><span class="templatequote-author">{{{author|{{{3|}}}}}}</span>{{#if:{{{title|}}}|, <span class="templatequote-title">{{{title}}}</span>}}{{#if:{{{publisher|}}}|, <span class="templatequote-publisher">{{{publisher}}}</span>}}{{#if:{{{edition|}}}|, <span class="templatequote-edition">{{{edition}}}</span>}}{{#if:{{{year|}}}|, <span class="templatequote-year">{{{year}}}</span>}}{{#if:{{{pages|}}}|, <span class="templatequote-pages">{{{pages}}}</span>}}</cite></div>}}<!--
-->{{#if:{{{author|{{{3|}}}}}}|<div class="templatequotecite">—&thinsp;<cite><span class="templatequote-author">{{{author|{{{3|}}}}}}</span>{{#if:{{{title|}}}|, <span class="templatequote-title">{{{title}}}</span>}}{{#if:{{{publisher|}}}|, <span class="templatequote-publisher">{{{publisher}}}</span>}}{{#if:{{{edition|}}}|, <span class="templatequote-edition">{{{edition}}}</span>}}{{#if:{{{year|}}}|, <span class="templatequote-year">{{{year}}}</span>}}{{#if:{{{pages|}}}|, <span class="templatequote-pages">{{{pages}}}</span>}}</cite></div>}}<!--
--></div></includeonly><noinclude>
--></blockquote></includeonly><noinclude>


{{Documentation}}
{{Documentation}}

Revision as of 15:11, May 4, 2023


This template allows for the presentation of text in a language other than English alongside an English translation of that text. It is primarily designed for rendering poetic texts and their translations in parallel columns that are responsive to devices with display sizes smaller than a personal computer's screen. That is, on a large screen the text and translation are displayed side-by-side, reducing unsightly white space, but on a smaller screen they are presented one below the other.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

original text

Default
{{lang|it|original italian text here. if not italian, change language code accordingly}}
Example
Jesus of Nazareth
Templateoptional
22

English translation

Stringoptional
33

author

Stringoptional
authorauthor

no description

Stringoptional
titletitle

no description

Stringoptional
publisherpublisher

no description

Stringoptional
editionedition

no description

Example
7th edition
Stringoptional
yearyear

no description

Stringoptional
pagespages

no description

Stringoptional