User:LVL/Sandbox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Blanked the page Tags: Blanking Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
== Testing the Sandbox Pic link Template == | |||
'''Note:''' This page is calling {{tl|Pic link/sandbox}} to test the new code. | |||
=== PNG Test === | |||
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Health|pic=Health}}</nowiki></code> | |||
* '''Result:''' {{Pic link/sandbox|Health|pic=Health}} | |||
* '''Expected:''' Should show the Health icon from '''Health.png'''. | |||
=== SVG Test === | |||
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Slide Distance|pic=Speed Icon}}</nowiki></code> | |||
* '''Result:''' {{Pic link/sandbox|Slide Distance|pic=Speed Icon}} | |||
* '''Expected:''' Should show the Slide Distance icon from '''Speed Icon.svg'''. | |||
=== JPG Test === | |||
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Test|pic=TestJPG}}</nowiki></code> | |||
* '''Result:''' {{Pic link/sandbox|Test|pic=TestJPG}} | |||
* '''Expected:''' Should show the test image you uploaded from '''TestJPG.jpg'''. | |||
=== Fallback Test (Red Link) === | |||
* '''Code:''' <code><nowiki>{{Pic link/sandbox|Fake Stat|pic=ThisIconDoesNotExist}}</nowiki></code> | |||
* '''Result:''' {{Pic link/sandbox|Fake Stat|pic=ThisIconDoesNotExist}} | |||
* '''Expected:''' Should show a broken/red link for '''ThisIconDoesNotExist.png'''. | |||