Widget:FileUrl/doc

From Alex's Caves Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main widget page. See Template:Documentation for more information

This widget allows local files to be used in CSS. Don't use this directly, use Template:FileUrl instead.

Example

Adding a background image to text inside a link:

[[Uranium|<span style="padding-left:18px; background:{{#widget:FileUrl|url=9/9a/Grid_Uranium_(Alexs_Caves).png}} no-repeat">Uranium</span>]]

Uranium