Difference between revisions of "Module:Language/scripts/doc"
< Module:Language | scripts
Jump to navigation
Jump to search
blackwiki>Erutuon (testcases, for convenience) |
m (11 revisions imported) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| 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|lá:yelhp|Quw̓utsun̓|Hul̓q̓umín̓um̓ / hən̓q̓əmin̓əm̓|xʷməθkʷəy̓əm|hən̓q̓əmin̓əm|Hul’q’umi’num’/Halq'eméyle/hən̓q̓əmin̓əm|sc̓əwaθən məsteyəxʷ|c̓əsnaʔəm}}</pre> | ||
| + | {{#invoke:Language/scripts|showScripts|lá:yelhp|Quw̓utsun̓|Hul̓q̓umín̓um̓ / hən̓q̓əmin̓əm̓|xʷməθkʷəy̓əm|hən̓q̓əmin̓əm|Hul’q’umi’num’/Halq'eméyle/hən̓q̓əmin̓əm|sc̓əwaθən məsteyəxʷ|c̓əsnaʔəm}} | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | + | [[Category:Language-related modules]] | |
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 05:56, 27 September 2020
| 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|lá:yelhp|Quw̓utsun̓|Hul̓q̓umín̓um̓ / hən̓q̓əmin̓əm̓|xʷməθkʷəy̓əm|hən̓q̓əmin̓əm|Hul’q’umi’num’/Halq'eméyle/hən̓q̓əmin̓əm|sc̓əwaθən məsteyəxʷ|c̓əsnaʔəm}}
- lá:yelhp: Latn (7), Zyyy (1)
- Quw̓utsun̓: Latn (8), Zinh (2)
- Hul̓q̓umín̓um̓ / hən̓q̓əmin̓əm̓: Latn (20), Zinh (8), Zyyy (3)
- xʷməθkʷəy̓əm: Latn (10), Grek (1), Zinh (1)
- hən̓q̓əmin̓əm: Latn (10), Zinh (3)
- Hul’q’umi’num’/Halq'eméyle/hən̓q̓əmin̓əm: Latn (30), Zyyy (7), Zinh (3)
- sc̓əwaθən məsteyəxʷ: Latn (16), Zinh (1), Zyyy (1), Grek (1)
- c̓əsnaʔəm: Latn (8), Zinh (1)