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><blockquote class="templatequote"><!--
<includeonly><blockquote class="templatequote"><!--
--><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;"><p>{{{1}}}</p></div><!--
--><div style="flex: 1 0 300px;">{{{2}}}</div><!--
--><div style="flex: 1 0 300px;"><p>{{{2}}}</p></div><!--
--></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>}}<!--

Revision as of 15:15, 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