Nhwɛdo:Strfind short/testcases
This is the template test cases page for the sandbox of Nhwɛdo:Strfind short. 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: |
WikiCode | Expected result | Main template | Sandbox |
---|---|---|---|
{{strfind short}} |
0 | 0 | 0 |
{{strfind short|abcdef|-|1}} |
0 | 0 | 0 |
{{strfind short|abc-def|-|1}} |
4 | 4 | 4 |
{{strfind short|abcdef|dc|2}} |
0 | 0 | 0 |
{{strfind short|abcdedcf|dc|2}} |
6 | 6 | 6 |
{{strfind short|10400|-|1}} |
0 | 0 | 0 |
{{strfind short|10400500600700800|-|1}} |
0 | 0 | 0 |
{{strfind short|10400500600700-800|-|1}} |
15 | 15 | 15 |