Template:Translation table/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:Translation table. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Missing one or both language codes
[edit]Missing both language codes
{{Translation table|hola|hello}}
error: hola not found in ISO 639-1, -2, -2B, -3, -5 list (help) | error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help) |
---|---|
[hola] Error: {{Langx}}: unrecognized language tag: hola (help) | [hello] Error: {{Langx}}: unrecognized language tag: hello (help) |
error: hola not found in ISO 639-1, -2, -2B, -3, -5 list (help) | error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help) |
---|---|
[hola] Error: {{Langx}}: unrecognized language tag: hola (help) | [hello] Error: {{Langx}}: unrecognized language tag: hello (help) |
Missing one language code
{{Translation table|hola|hello|lang1=es}}
Spanish | error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help) |
---|---|
hola | [hello] Error: {{Langx}}: unrecognized language tag: hello (help) |
Spanish | error: hello not found in ISO 639-1, -2, -2B, -3, -5 list (help) |
---|---|
hola | [hello] Error: {{Langx}}: unrecognized language tag: hello (help) |
Valid input examples
[edit]Spanish to English
{{Translation table|uno|one|dos|two|lang1=es |lang2=en}}
Spanish | English |
---|---|
uno | one |
dos | two |
Spanish | English |
---|---|
uno | one |
dos | two |
English to Japanese, with romaji
{{Translation table|USA|amerika gasshuukoku|アメリカ合衆国|Japan|nihon|日本|Canada|kanada|カナダ|China|chuugoku|中国|lang1=en |lang2=ja |showromanization=true}}
English | Transliteration | Japanese |
---|---|---|
USA | amerika gasshuukoku | アメリカ合衆国 |
Japan | nihon | 日本 |
Canada | kanada | カナダ |
China | chuugoku | 中国 |
English | Transliteration | Japanese |
---|---|---|
USA | amerika gasshuukoku | アメリカ合衆国 |
Japan | nihon | 日本 |
Canada | kanada | カナダ |
China | chuugoku | 中国 |
English to Hebrew
{{Translation table|one|אֶחָד|two|שְׁתַיִם|three|שְׁלוֹשָׁה|four|אַרבַּע|five|חָמֵשׁ|six|שֵׁשׁ|seven|שָׂבֵעַ|eight|שְׁמוֹנֶה|nine|תֵשַׁע|ten|עֶשֶׂר|lang1=en |lang2=he}}
English | Hebrew |
---|---|
one | אֶחָד |
two | שְׁתַיִם |
three | שְׁלוֹשָׁה |
four | אַרבַּע |
five | חָמֵשׁ |
six | שֵׁשׁ |
seven | שָׂבֵעַ |
eight | שְׁמוֹנֶה |
nine | תֵשַׁע |
ten | עֶשֶׂר |
English | Hebrew |
---|---|
one | אֶחָד |
two | שְׁתַיִם |
three | שְׁלוֹשָׁה |
four | אַרבַּע |
five | חָמֵשׁ |
six | שֵׁשׁ |
seven | שָׂבֵעַ |
eight | שְׁמוֹנֶה |
nine | תֵשַׁע |
ten | עֶשֶׂר |
English to German, with longer phrases to demonstrate
{{Translation table|Hello, how are you? My name is Gommeh and I am the developer of this template.|Hallo, wie geht’s dir? Mein Name ist Gommeh und ich bin der Entwickler dieser Vorlage.|The goal of this template is to be able to more easily list many translations from one language to another at once.|Das Ziel dieser Vorlage ist es, viele Übersetzungen von einer Sprache in eine andere einfacher aufzulisten.|It was hard work creating this template, as I have never used Lua before.|Es war harte Arbeit, diese Vorlage zu erstellen, da ich vorher noch nie Lua benutzt habe.|Please tell me how I did!|Bitte sag mir, wie ich mich geschlagen habe!|lang1=en |lang2=de}}
English | German |
---|---|
Hello, how are you? My name is Gommeh and I am the developer of this template. | Hallo, wie geht’s dir? Mein Name ist Gommeh und ich bin der Entwickler dieser Vorlage. |
The goal of this template is to be able to more easily list many translations from one language to another at once. | Das Ziel dieser Vorlage ist es, viele Übersetzungen von einer Sprache in eine andere einfacher aufzulisten. |
It was hard work creating this template, as I have never used Lua before. | Es war harte Arbeit, diese Vorlage zu erstellen, da ich vorher noch nie Lua benutzt habe. |
Please tell me how I did! | Bitte sag mir, wie ich mich geschlagen habe! |
English | German |
---|---|
Hello, how are you? My name is Gommeh and I am the developer of this template. | Hallo, wie geht’s dir? Mein Name ist Gommeh und ich bin der Entwickler dieser Vorlage. |
The goal of this template is to be able to more easily list many translations from one language to another at once. | Das Ziel dieser Vorlage ist es, viele Übersetzungen von einer Sprache in eine andere einfacher aufzulisten. |
It was hard work creating this template, as I have never used Lua before. | Es war harte Arbeit, diese Vorlage zu erstellen, da ich vorher noch nie Lua benutzt habe. |
Please tell me how I did! | Bitte sag mir, wie ich mich geschlagen habe! |
Wikitext
[edit]Wikitext demonstration using Italian
{{Translation table|This is to demonstrate that this template allows for the use of '''bold''', ''italics'', and <u>underlines</u>.|Questo serve a dimostrare che questo modello consente l'uso di '''grassetto''', ''corsivo'' e <u>sottolineato</u>.|[[Wikilink|Links]] are also okay.|Sono accettati anche i [[Wikilink|collegamenti wiki]].|The following translation will also demonstrate that templates are also accepted.|La seguente traduzione dimostrerà inoltre che vengono accettati anche i modelli.|7=[[File:Information.svg|25px|alt=Information icon]] Hello, I'm [[User:Gommeh|Gommeh]]. I wanted to let you know that one or more of [[Special:Contributions/Example|your recent contributions]] have been undone because they did not appear constructive. If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. If you have any questions, you can ask for assistance at the [[Wikipedia:Teahouse|Teahouse]] or the [[Wikipedia:Help desk|Help desk]]. Thanks. |8=[[File:Information.svg|25px|alt=Information icon]]Ciao, sono [[User:Gommeh|Gommeh]]. Volevo informarti che uno o più dei [[Special:Contributions/Example|tuoi recenti contributi]] sono stati annullati perché non ritenuti costruttivi. Se vuoi fare degli esperimenti, usa la [[Wikipedia:Sandbox|sandbox]]. Per qualsiasi domanda, puoi chiedere assistenza alla [[Wikipedia:Teahouse|Teahouse]] o all'[[Wikipedia:Help desk|Help Desk]]. Grazie. |lang1=en |lang2=it}}
English | Italian |
---|---|
This is to demonstrate that this template allows for the use of bold, italics, and underlines. | Questo serve a dimostrare che questo modello consente l'uso di grassetto, corsivo e sottolineato. |
Links are also okay. | Sono accettati anche i collegamenti wiki. |
The following translation will also demonstrate that templates are also accepted. | La seguente traduzione dimostrerà inoltre che vengono accettati anche i modelli. |
![]() |
![]() |
English | Italian |
---|---|
This is to demonstrate that this template allows for the use of bold, italics, and underlines. | Questo serve a dimostrare che questo modello consente l'uso di grassetto, corsivo e sottolineato. |
Links are also okay. | Sono accettati anche i collegamenti wiki. |
The following translation will also demonstrate that templates are also accepted. | La seguente traduzione dimostrerà inoltre che vengono accettati anche i modelli. |
![]() |
![]() |
Wikitext demonstration using Japanese with romaji
{{Translation table|This is to demonstrate that this template allows for the use of '''bold''', ''italics'', and <u>underlines</u>.|Kore wa, kono tenpurēto de '''futoji''','' shatai'', oyobi <u>kasen</u> o shiyō dekiru koto o shimesu tame no demodesu.|これは、このテンプレートで'''太字'''、''斜体''、および<u>下線</u>を使用できることを示すためのデモです。|[[Wikilink|Links]] are also okay.|[[Wikilink|Rinku]] mo OK desu.|[[Wikilink|リンク]]もOKです。|The following translation will also demonstrate that templates are also accepted.|Tsugi no hon'yaku wa, tenpurēto mo ukeire rareru koto o shimeshite imasu.|次の翻訳は、テンプレートも受け入れられることを示しています。|10=[[File:Information.svg|25px|alt=Information icon]] Hello, I'm [[User:Gommeh|Gommeh]]. I wanted to let you know that one or more of [[Special:Contributions/Example|your recent contributions]] have been undone because they did not appear constructive. If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. If you have any questions, you can ask for assistance at the [[Wikipedia:Teahouse|Teahouse]] or the [[Wikipedia:Help desk|Help desk]]. Thanks. |11=[[File:Information.svg|25px|alt=jōhō aikon]] Kon'nichiwa, [[User:Gommeh|Gommeh]] desu. [[Special:Contributions/ Example|Saikin no tōkō]] no ichibu ga, kensetsu-tekide wa nai to handan sa reta tame, torikesa remashitanode oshirase shimasu. Jikken shite mitai kata wa,[[Wikipedia:Sandbox|Sandobokkusu]] o go riyō kudasai. Go shitsumon ga arimashitara, [[Wikipedia:Teahouse|tīhausu]] mata wa [[Wikipedia:Help desk|herupudesuku]] made o toiawase kudasai. Yoroshikuonegai itashimasu. |12=[[File:Information.svg|25px|alt=情報アイコン]] こんにちは、[[User:Gommeh|Gommeh]]です。[[Special:Contributions/Example|最近の投稿]]の一部が、建設的ではないと判断されたため、取り消されましたのでお知らせします。実験してみたい方は、[[Wikipedia:Sandbox|サンドボックス]]をご利用ください。ご質問がありましたら、[[Wikipedia:Teahouse|ティーハウス]]または[[Wikipedia:Help desk|ヘルプデスク]]までお問い合わせください。よろしくお願いいたします。 |lang1code=en |lang2code=ja |showromanization=true}}
English | Transliteration | Japanese |
---|---|---|
This is to demonstrate that this template allows for the use of bold, italics, and underlines. | Kore wa, kono tenpurēto de futoji, shatai, oyobi kasen o shiyō dekiru koto o shimesu tame no demodesu. | これは、このテンプレートで太字、斜体、および下線を使用できることを示すためのデモです。 |
Links are also okay. | Rinku mo OK desu. | リンクもOKです。 |
The following translation will also demonstrate that templates are also accepted. | Tsugi no hon'yaku wa, tenpurēto mo ukeire rareru koto o shimeshite imasu. | 次の翻訳は、テンプレートも受け入れられることを示しています。 |
![]() |
![]() |
![]() |
English | Transliteration | Japanese |
---|---|---|
This is to demonstrate that this template allows for the use of bold, italics, and underlines. | Kore wa, kono tenpurēto de futoji, shatai, oyobi kasen o shiyō dekiru koto o shimesu tame no demodesu. | これは、このテンプレートで太字、斜体、および下線を使用できることを示すためのデモです。 |
Links are also okay. | Rinku mo OK desu. | リンクもOKです。 |
The following translation will also demonstrate that templates are also accepted. | Tsugi no hon'yaku wa, tenpurēto mo ukeire rareru koto o shimeshite imasu. | 次の翻訳は、テンプレートも受け入れられることを示しています。 |
![]() |
![]() |
![]() |