Template:Text and translation: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
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"><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 14: Line 14:
"1": {
"1": {
"description": "original text",
"description": "original text",
"example": "Jesus of Nazareth",
"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": {
"description": "English translation",
"description": "English translation",
"type": "string"
"type": "content",
"example": "With his theory of λόγος σπερματικός [logos spermatikos] Justin builds a bridge between ancient philosophy and Christianity."
},
},
"3": {
"3": {
"description": "author",
"description": "author",
"type": "string"
"type": "content",
"example": "Berthold Altaner"
},
},
"author": {
"author": {
"type": "string"
"type": "content"
},
},
"title": {
"title": {
"type": "string"
"type": "content",
"example": "Patrologia"
},
},
"publisher": {
"publisher": {
"type": "string"
"type": "content",
"example": "Marietti"
},
},
"year": {
"year": {
"type": "string"
"type": "content",
"example": "1977"
},
},
"pages": {
"pages": {
"type": "string"
"type": "content",
"example": "pp. 70-71"
},
},
"edition": {
"edition": {
"example": "7th edition",
"example": "7th edition",
"type": "string"
"type": "content"
}
}
},
},