Template:Text and translation: Difference between revisions

no edit summary
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>