User:LVL/Sandbox: Difference between revisionsGive feedback
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== Testing the Sandbox Pic link Template == | == Testing the Sandbox Pic link Template == | ||
'''Note:''' This page is | '''Note:''' This page is using {{tl|Pic link/sandbox}} to test the new code. | ||
=== 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|Health|pic=Health}} | * '''Result:''' {{Pic link/sandbox|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|Slide Distance|pic=Speed Icon}} | * '''Result:''' {{Pic link/sandbox|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| | * '''Code:''' <code><nowiki>{{Pic link/sandbox|Map|pic=Deadlock Map}}</nowiki></code> | ||
* '''Result:''' {{Pic link| | * '''Result:''' {{Pic link/sandbox|Map|pic=Deadlock Map}} | ||
* '''Expected:''' Should show the | * '''Expected:''' Should show the map image from '''Deadlock Map.jpg'''. | ||
=== Fallback Test (Red Link) === | === Fallback Test (Red Link) === | ||
* '''Code:''' <code><nowiki>{{Pic link|Fake Stat|pic=ThisIconDoesNotExist}}</nowiki></code> | * '''Code:''' <code><nowiki>{{Pic link/sandbox|Fake Stat|pic=ThisIconDoesNotExist}}</nowiki></code> | ||
* '''Result:''' {{Pic link|Fake Stat|pic=ThisIconDoesNotExist}} | * '''Result:''' {{Pic link/sandbox|Fake Stat|pic=ThisIconDoesNotExist}} | ||
* '''Expected:''' Should show a broken/red link for '''ThisIconDoesNotExist.png'''. | * '''Expected:''' Should show a broken/red link for '''ThisIconDoesNotExist.png'''. | ||