User:LVL/Sandbox: Difference between revisionsGive feedback
< User:LVL
No edit summary |
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 | * '''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 | * '''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 | * '''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 | * '''Code:''' <code><nowiki>{{Pic link|Fake Stat|pic=ThisIconDoesNotExist}}</nowiki></code> | ||
* '''Result:''' {{Pic link | * '''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
Testing the Sandbox Pic link Template
Note: This page is calling {{Pic link/sandbox}} to test the new code.
PNG Test
- Code:
{{Pic link/sandbox|Health|pic=Health}} - Result:
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.