Template:Text and translation: Difference between revisions

no edit summary
(add template data)
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="padding:1em 3em 1em 3em><!--
<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;<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;<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>}}<!--
  --></div></includeonly><noinclude>
  --></blockquote></includeonly><noinclude>


{{Documentation}}
{{Documentation}}
Line 12: Line 12:
{
{
"params": {
"params": {
"1": {},
"1": {
"2": {},
"description": "original text",
"3": {},
"example": "{{lang|it|Con la sua teoria di λόγος σπερματικός [logos spermatikos], Giustino getta un ponte tra l'antica filosofia ed il Cristianesimo.}}",
"author": {},
"type": "wiki-template-name"
"title": {},
},
"publisher": {},
"2": {
"year": {},
"description": "English translation",
"pages": {}
"type": "content",
"example": "With his theory of λόγος σπερματικός [logos spermatikos] Justin builds a bridge between ancient philosophy and Christianity."
},
"3": {
"description": "author",
"type": "content",
"example": "Berthold Altaner"
},
"author": {
"type": "content"
},
"title": {
"type": "content",
"example": "Patrologia"
},
"publisher": {
"type": "content",
"example": "Marietti"
},
"year": {
"type": "content",
"example": "1977"
},
"pages": {
"type": "content",
"example": "pp. 70-71"
},
"edition": {
"example": "7th edition",
"type": "content"
}
},
},
"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>