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
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
--><div style="flex: 1 0 300px;"><p>{{{2}}}</p></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"><i>{{{title}}}</i></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>}}<!--
--></blockquote></includeonly><noinclude>
--></blockquote></includeonly><noinclude>


Line 15: Line 15:
"description": "original text",
"description": "original text",
"example": "{{lang|it|Con la sua teoria di λόγος σπερματικός [logos spermatikos], Giustino getta un ponte tra l'antica filosofia ed il Cristianesimo.}}",
"example": "{{lang|it|Con la sua teoria di λόγος σπερματικός [logos spermatikos], Giustino getta un ponte tra l'antica filosofia ed il Cristianesimo.}}",
"type": "wiki-template-name",
"type": "wiki-template-name"
"default": "{{lang|it|original italian text here. if not italian, change language code accordingly}}"
},
},
"2": {
"2": {

Latest revision as of 15:40, 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

Example
{{lang|it|Con la sua teoria di λόγος σπερματικός [logos spermatikos], Giustino getta un ponte tra l'antica filosofia ed il Cristianesimo.}}
Templateoptional
22

English translation

Example
With his theory of λόγος σπερματικός [logos spermatikos] Justin builds a bridge between ancient philosophy and Christianity.
Contentoptional
33

author

Example
Berthold Altaner
Contentoptional
authorauthor

no description

Contentoptional
titletitle

no description

Example
Patrologia
Contentoptional
publisherpublisher

no description

Example
Marietti
Contentoptional
editionedition

no description

Example
7th edition
Contentoptional
yearyear

no description

Example
1977
Contentoptional
pagespages

no description

Example
pp. 70-71
Contentoptional