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 20: Line 20:
"2": {
"2": {
"description": "English translation",
"description": "English translation",
"type": "string"
"type": "content"
},
},
"3": {
"3": {
"description": "author",
"description": "author",
"type": "string"
"type": "content"
},
},
"author": {
"author": {
"type": "string"
"type": "content"
},
},
"title": {
"title": {
"type": "string"
"type": "content"
},
},
"publisher": {
"publisher": {
"type": "string"
"type": "content"
},
},
"year": {
"year": {
"type": "string"
"type": "content"
},
},
"pages": {
"pages": {
"type": "string"
"type": "content"
},
},
"edition": {
"edition": {
"example": "7th edition",
"example": "7th edition",
"type": "string"
"type": "content"
}
}
},
},

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

Contentoptional
33

author

Contentoptional
authorauthor

no description

Contentoptional
titletitle

no description

Contentoptional
publisherpublisher

no description

Contentoptional
editionedition

no description

Example
7th edition
Contentoptional
yearyear

no description

Contentoptional
pagespages

no description

Contentoptional