Yeah, it dies on contact with =. Can it be escaped? (see below: use |1=)
| This is the template test cases page for the sandbox of Module:Strip to numbers. 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: |
-12em, 34px, 56.7%, "89", 0. characters: -12em, 34px, 56.7%, "8.9", 0- characters: -12em, 34px, 57%, "-8.9", 0inheritSDks]df9s>dfjklasdfk9kasdfkasdkie0kmc'@(aks"12.3x4"foobarbaz50%blahblahblah-66.6666666666666666666666666666chickenbuttstyle="font-size: 70% ;"'style="font-size: 70% ;"'`style="font-size: 70% ;"`=70%Yeah, it dies on contact with =. Can it be escaped? (see below: use |1=)
{{=}}70%style{{=}}"font-size: 70% ;"<span style{{=}}"font-size: 70%;"><span style<nowiki>=</nowiki>"font-size: 70%;">Yes, though only with {{=}}; it chokes on <nowiki>...</nowiki>. Though this points out the relative uselessness of trying to use this on strings this complicated, since -70 is the opposite of the desired output, 70. It needs to be able to discern with - is directly associated with a numeral (or perhaps a ., since while -.7 is crappy style, it's still a technically valid way to write -0.7.
Try: |1=
1=70%
<span class="nowrap"><span data-sort-value="7001123000000000000♠"></span>12.3</span> (produced by {{val|12.3}})style{{=}}"margin-left: 10% ;"style{{=}}"margin-left: -10% ;"Weasels - 12. Chickens - 72.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.