User:LVL/Sandbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
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'''.

Revision as of 21:51, 5 August 2025

Note: This page is calling {{Pic link/sandbox}} to test the new code.

PNG Test

  • Code: {{Pic link/sandbox|Health|pic=Health}}
  • Result: Health icon Health
  • Expected: Should show the Health icon from Health.png.

SVG Test

  • Code: {{Pic link/sandbox|Slide Distance|pic=Speed Icon}}
  • Result: Slide Distance icon Slide Distance
  • Expected: Should show the Slide Distance icon from Speed Icon.svg.

JPG Test

  • Code: {{Pic link/sandbox|Test|pic=TestJPG}}
  • Result: Test icon Test
  • Expected: Should show the test image you uploaded from TestJPG.jpg.

Fallback Test (Red Link)

  • Code: {{Pic link|Fake Stat|pic=ThisIconDoesNotExist}}
  • Result: Fake Stat icon Fake Stat
  • Expected: Should show a broken/red link for ThisIconDoesNotExist.png.