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 4: Line 4:
--><div style="flex: 1 0 300px;">{{{2}}}</div><!--
--><div style="flex: 1 0 300px;">{{{2}}}</div><!--
--></div><!--
--></div><!--
-->{{#if:{{{author|{{{3|}}}}}}|<div class="templatequotecite">—&thinsp;<span class="templatequote-author">{{{author|{{{3|}}}}}}</span>{{#if:{{{title|}}}|, <span class="templatequote-title">{{{title}}}</span>}}{{#if:{{{publisher|}}}|, <span class="templatequote-publisher">{{{publisher}}}</span>}}{{#if:{{{year|}}}|, <span class="templatequote-year">{{{year}}}</span>}}{{#if:{{{pages|}}}|, <span class="templatequote-pages">{{{pages}}}</span>}}</div>}}<!--
-->{{#if:{{{author|{{{3|}}}}}}|<div class="templatequotecite">—&thinsp;<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>}}</div>}}<!--
--></div></includeonly><noinclude>
--></div></includeonly><noinclude>


Line 23: Line 23:
},
},
"3": {
"3": {
"description": "author"
"description": "author",
"type": "string"
},
},
"author": {
"author": {
Line 38: Line 39:
},
},
"pages": {
"pages": {
"type": "string"
},
"edition": {
"example": "7th edition",
"type": "string"
"type": "string"
}
}
},
},
"description": "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."
"description": "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.",
"paramOrder": [
"1",
"2",
"3",
"author",
"title",
"publisher",
"edition",
"year",
"pages"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

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