User:LVL/Sandbox: Difference between revisions

LVL (talk | contribs)
No edit summary
LVL (talk | contribs)
No edit summary
Line 5: Line 5:
=== PNG Test ===
=== PNG Test ===
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Health|pic=Health}}</nowiki></code>
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Health|pic=Health}}</nowiki></code>
* '''Result:''' {{Pic link/sandbox|Health|pic=Health}}
* '''Result:''' {{Pic link|Health|pic=Health}}
* '''Expected:''' Should show the Health icon from '''Health.png'''.
* '''Expected:''' Should show the Health icon from '''Health.png'''.


=== SVG Test ===
=== SVG Test ===
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Slide Distance|pic=Speed Icon}}</nowiki></code>
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Slide Distance|pic=Speed Icon}}</nowiki></code>
* '''Result:''' {{Pic link/sandbox|Slide Distance|pic=Speed Icon}}
* '''Result:''' {{Pic link|Slide Distance|pic=Speed Icon}}
* '''Expected:''' Should show the Slide Distance icon from '''Speed Icon.svg'''.
* '''Expected:''' Should show the Slide Distance icon from '''Speed Icon.svg'''.


=== JPG Test ===
=== JPG Test ===
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Test|pic=TestJPG}}</nowiki></code>
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Test|pic=TestJPG}}</nowiki></code>
* '''Result:''' {{Pic link/sandbox|Test|pic=TestJPG}}
* '''Result:''' {{Pic link|Test|pic=TestJPG}}
* '''Expected:''' Should show the test image you uploaded from '''TestJPG.jpg'''.
* '''Expected:''' Should show the test image you uploaded from '''TestJPG.jpg'''.


=== Fallback Test (Red Link) ===
=== Fallback Test (Red Link) ===
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Fake Stat|pic=ThisIconDoesNotExist}}</nowiki></code>
* '''Code:''' <code><nowiki>{{Pic link|Fake Stat|pic=ThisIconDoesNotExist}}</nowiki></code>
* '''Result:''' {{Pic link/sandbox|Fake Stat|pic=ThisIconDoesNotExist}}
* '''Result:''' {{Pic link|Fake Stat|pic=ThisIconDoesNotExist}}
* '''Expected:''' Should show a broken/red link for '''ThisIconDoesNotExist.png'''.
* '''Expected:''' Should show a broken/red link for '''ThisIconDoesNotExist.png'''.