Module talk:Icon/testcases

Y All tests passed.

Module talk:Icon/testcases

Main

checkY All tests passed.

Name Expected Actual
checkY test _main: when no icon code is specified, a file link is output
checkY test _main: when an existing icon code is specified, a file link is output
checkY test _main: when an nonexistent icon code is specified, a file link is output
checkY test _main: when an existing code is specified, the relevant image is displayed
checkY test _main: when an existing code is specified, the relevant tooltip is displayed
checkY test _main: when no dimensions are specified, the image is output as 16x16 pixels
checkY test _main: when custom dimensions are specified, the image is output with those dimensions
checkY test _main: codes can have surrounding whitespace
checkY test _main: codes can be upper case
checkY test _main: codes can be specified with the 'class' parameter
checkY test _main: the class parameter has precedence over the first positional parameter
checkY test _main: the class parameter has precedence over the first positional parameter, even if the class parameter is the empty string
checkY test _main: links are suppressed when the entry in the data table has 'link' set to false
checkY test _main: links are not suppressed when the entry in the data table has 'link' set to true
checkY test _main: links are not suppressed when the entry in the data table has no value for 'link'
checkY test Module:Icon/data: codes can be specified as aliases

Sandbox

checkY All tests passed.

Name Expected Actual
checkY test _main: when no icon code is specified, a file link is output
checkY test _main: when an existing icon code is specified, a file link is output
checkY test _main: when an nonexistent icon code is specified, a file link is output
checkY test _main: when an existing code is specified, the relevant image is displayed
checkY test _main: when an existing code is specified, the relevant tooltip is displayed
checkY test _main: when no dimensions are specified, the image is output as 16x16 pixels
checkY test _main: when custom dimensions are specified, the image is output with those dimensions
checkY test _main: codes can have surrounding whitespace
checkY test _main: codes can be upper case
checkY test _main: codes can be specified with the 'class' parameter
checkY test _main: the class parameter has precedence over the first positional parameter
checkY test _main: the class parameter has precedence over the first positional parameter, even if the class parameter is the empty string
checkY test _main: links are suppressed when the entry in the data table has 'link' set to false
checkY test _main: links are not suppressed when the entry in the data table has 'link' set to true
checkY test _main: links are not suppressed when the entry in the data table has no value for 'link'
checkY test Module:Icon/data: codes can be specified as aliases

Content Disclaimer

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.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.