Difference between revisions of "Module:Language/scripts/doc"
< Module:Language | scripts
Jump to navigation
Jump to search
blackwiki>Erutuon (testcases, for convenience) |
blackwiki>Erutuon m (have to test invokable function) |
||
| Line 3: | Line 3: | ||
== Testcases == | == Testcases == | ||
{{#invoke:Language/scripts/testcases|run_tests}} | {{#invoke:Language/scripts/testcases|run_tests}} | ||
| + | |||
| + | ==Invokable function== | ||
| + | <pre>{{#invoke:Language/scripts|showScripts|'''Ста́нция Восто́к'''|Σωκράτης|中华人民共和国}}</pre> | ||
| + | {{#invoke:Language/scripts|showScripts|'''Ста́нция Восто́к'''|Σωκράτης|中华人民共和国}} | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Revision as of 21:24, 17 November 2017
| This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
Testcases
All tests passed.
| Text | Expected | Actual | |
|---|---|---|---|
| Ста́нция Восто́к | Cyrl (13), Zinh (2), Zyyy (7) | Cyrl (13), Zinh (2), Zyyy (7) | |
| Σωκράτης | Grek (8) | Grek (8) | |
| 中华人民共和国 | Hani (7) | Hani (7) | |
| অবনী বাড়ি আছো Ôboni Baŗi Achho | Beng (12), Latn (14), Zyyy (9) | Beng (12), Latn (14), Zyyy (9) |
| Text | Expected | Actual | |
|---|---|---|---|
| Ста́нция Восто́к | Cyrl | Cyrl | |
| Ἑλλήσποντος | Grek | Grek |
Invokable function
{{#invoke:Language/scripts|showScripts|'''Ста́нция Восто́к'''|Σωκράτης|中华人民共和国}}
- Ста́нция Восто́к: Zyyy (7), Zinh (2), Cyrl (13)
- Σωκράτης: Grek (8)
- 中华人民共和国: Hani (7)