Template:Foreign language text table
![]() | Welcome to Template:Foreign language text table, a Wikipedia template sandbox. This page is itself a template, and it allows you to carry out experiments related to template editing. If you wish to experiment with article editing, use the Wikipedia Sandbox or your own user sandbox.
To edit, click the edit tab above, make your changes and click the Publish changes button when finished. Content will not stay permanently; the template sandboxes are automatically cleaned every twelve hours. Please do not place copyrighted, offensive, illegal or libelous content in the sandboxes. For assistance with template coding, try the technical forum at the Village Pump. You can also try Special:ExpandTemplates and several other template sandboxes that you can use to carry out experiments. If you need more sandboxes, please consider using testwiki. You can also conduct tests using the Wikipedia Sandbox. For instance, to transclude this template there, edit it so that it includes: |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language 1 | lang1 from original | The two- or three-letter symbol for the origin language
| String | required |
Language 2 | lang2 to target | The two- or three-letter symbol for the second language
| String | required |
Italics | useitalic italic italics | Sets whether the text in the second column should be italic or not. Defaults to no.
| String | suggested |
text1 | text1 | The original text you want to translate. | String | required |
trans1 | trans1 | The translated text. | String | required |
text2 | text2 | The second line of the original text. | String | required |
trans2 | trans2 | The second line of the translated text. | String | required |
text3 | text3 | The third line of the original text. | String | optional |
trans3 | trans3 | The third line of the translated text. | String | optional |
text4 | text4 | The fourth line of the original text. | String | optional |
trans4 | trans4 | The fourth line of the translated text. | String | optional |
text5 | text5 | The fifth line of the original text. | String | optional |
trans5 | trans5 | The fifth line of the translated text. | String | optional |
text6 | text6 | The sixth line of the original text. | String | optional |
trans6 | trans6 | The sixth line of the translated text. | String | optional |
text7 | text7 | The seventh line of the original text. | String | optional |
trans7 | trans7 | The seventh line of the translated text. | String | optional |
text8 | text8 | The eighth line of the original text. | String | optional |
trans8 | trans8 | The eighth line of the translated text. | String | optional |
text9 | text9 | The ninth line of the original text. | String | optional |
trans9 | trans9 | The ninth line of the translated text. | String | optional |
text10 | text10 | The tenth line of the original text. | String | optional |
trans10 | trans10 | The tenth line of the translated text. | String | optional |
Example input: {{Foreign language text table|lang1=en|lang2=es|text1=Hi|trans1=Hola|text2=How are you?|trans2=¿Cómo estás?}}
will output:
English | Spanish |
---|---|
Hi | Hola |
How are you? | ¿Cómo estás? |