Jump to content

Template:Translation table/doc

From Wikisource

Creates a side-by-side translation of a non-English work into English.

Usage

[edit]

There are two ways to use this template:

1. Named parameters and headers

{{translation table
 |original-head    = 
 |original-text    = 
 |translation-head = 
 |translation-text = 
}}

2. Unnamed parameters

{{translation table|first text|second text}}

Examples

[edit]
{{translation table
 |original-head = Original Middle English
 |original-text = foope

 |translation-head = Modern English
 |translation-text = foop
}}
Original Middle English Modern English
foope foop
{{translation table
 |text1
 |text2
}}
text1 text2

CSS

[edit]

You can target the output of this template with the CSS:

For example, you might do something like:

.wst-translation-table {
    width: 100%;
}
.wst-translation-table td {
    width: 50%;
}