Module talk:Native name/testcases
20 of 20 tests failed. (refresh)
test_infobox_native_name_with_valid_lang
| Test | Expected | Actual | |
|---|---|---|---|
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Joe|native_name_lang=en}} | Script error: The function "infobox_native_name" does not exist. | Joe (English) | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name=北京|native_name_lang=zh}} | Script error: The function "infobox_native_name" does not exist. | 北京 (Chinese) | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Reino de España|native_name_lang=es}} | Script error: The function "infobox_native_name" does not exist. | Reino de España (Spanish) | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Reino de España|native_name_lang=Spanish}} | Script error: The function "infobox_native_name" does not exist. | Reino de España (Spanish) | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Reino de España|native_name_lang=spanish}} | Script error: The function "infobox_native_name" does not exist. | Reino de España (Spanish) |
test_infobox_native_name_with_invalid_lang
| Test | Expected | Actual | |
|---|---|---|---|
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Reino de España|native_name_lang=xyz}} | Script error: The function "infobox_native_name" does not exist. | Reino de España | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Reino de España|native_name_lang=Spainish}} | Script error: The function "infobox_native_name" does not exist. | Reino de España |
test_infobox_native_name_with_no_lang
| Test | Expected | Actual | |
|---|---|---|---|
| {{#invoke:native name/sandbox|infobox_native_name|native_name=New York|native_name_lang=}} | Script error: The function "infobox_native_name" does not exist. | New York | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Bob the builder|native_name_lang= }} | Script error: The function "infobox_native_name" does not exist. | Bob the builder | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name=Mother Russia}} | Script error: The function "infobox_native_name" does not exist. | Mother Russia |
test_infobox_native_name_with_template_in_use
| Test | Expected | Actual | |
|---|---|---|---|
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{native name|en|New York}}|native_name_lang=en}} | Script error: The function "infobox_native_name" does not exist. | New York (English) | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{native name|en|New York}}|native_name_lang=}} | Script error: The function "infobox_native_name" does not exist. | New York (English) | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{langx|zh|北京}}|native_name_lang=zh}} | Script error: The function "infobox_native_name" does not exist. | Chinese: 北京 | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{langx|zh|北京}}|}} | Script error: The function "infobox_native_name" does not exist. | Chinese: 北京 | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{lang|ru|Москва}}|native_name_lang=ru}} | Script error: The function "infobox_native_name" does not exist. | Москва (Russian) | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{lang|ru|Москва}}|native_name_lang= }} | Script error: The function "infobox_native_name" does not exist. | Москва | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{native name list |tag1=ru |name1=Москва |tag2=zh |name2=北京 |tag3=en |name3=New York}}|native_name_lang= }} | Script error: The function "infobox_native_name" does not exist. | ||
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{native name list |tag1=ru |name1=Москва |tag2=zh |name2=北京 |tag3=en |name3=New York}}|native_name_lang=ru, zh}} | Script error: The function "infobox_native_name" does not exist. | ||
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{langx|ur|{{Nastaliq|جامعہ اوکاڑہ}}}}|native_name_lang=ur}} | Script error: The function "infobox_native_name" does not exist. | Urdu: جامعہ اوکاڑہ | |
| {{#invoke:native name/sandbox|infobox_native_name|native_name={{langx|ur|{{Nastaliq|جامعہ اوکاڑہ}}}}|native_name_lang=}} | Script error: The function "infobox_native_name" does not exist. | Urdu: جامعہ اوکاڑہ |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.