Difference between revisions of "Module:Language/scripts/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Erutuon
blackwiki>Gonnym
(added category)
Line 10: Line 10:
 
<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>

Revision as of 06:23, 22 January 2020

Testcases

All tests passed.

testcases for countScripts
Text Expected Actual
☑Y Ста́нция Восто́к Cyrl (13), Zinh (2), Zyyy (7) Cyrl (13), Zinh (2), Zyyy (7)
☑Y Σωκράτης Grek (8) Grek (8)
☑Y 中华人民共和国 Hani (7) Hani (7)
☑Y অবনী বাড়ি আছো Ôboni Baŗi Achho Beng (12), Latn (14), Zyyy (9) Beng (12), Latn (14), Zyyy (9)
testcases for getScript
Text Expected Actual
☑Y Ста́нция Восто́к Cyrl Cyrl
☑Y Ἑλλήσποντος 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)