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

Usage edit

{{translation table/4
| 1 = 
| 2 = 
| 3 = 
| 4 = 
| w = 
| va = 
| al1 = 
| al2 = 
| bg1 = 
| bg2 = 
| fs1 = 
| fs2 = 
}}

Explanation edit

parametre explanation status notes
1 identification code for linking to this paragraph optional
2 paragraph number optional
3 Text 1: text in original language required
4 Text2: translation required
w width of the first column of the table (paragraph column) optional
  • default width is 2%
va vertical align (top, bottom, etc) optional
al1, al2 text align (left, right, center, etc) for Text 1 or 2 optional
bg1, bg2 background colour for Text 1 or 2 optional
  • default color for Text 1 is #ebe2f7, and for Text 2 is #f8e6ee
  • no need to add "#"
fs1 font size for paragraph column optional
  • default size is 80%
  • no need to add "%"
fs2, fs3 font size for Text 1 or 2 optional
  • default size is 110%
  • no need to add "%"

Notes edit

This template creates a row for a table. So it must be used together with the table codes. For example:

{| width=100%"
{{translation table/4
| 1 = Paragraph 1
| 2 = 1
| 3 = Text 1
| 4 = Text 2
}}
{{translation table/4
| 1 = Paragraph 2
| 2 = 2
| 3 = Text 3
| 4 = Text 4
}}
|-
|}

gives:

1
Text 1 Text 2
2
Text 3 Text 4

See also edit