Template:Translation table/4
Appearance
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 |
|
| 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 |
|
| fs1 | font size for paragraph column | optional |
|
| fs2, fs3 | font size for Text 1 or 2 | optional |
|
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]- Template:Translation table
- Template:Translation table/2
- Template:Translation table/3
- Template:Translation table/zh