Widget:FileUrl/doc

From Goety 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:

[[Soul Cloth|<span style="padding-left:18px; background:{{#widget:FileUrl|url=7/7f/Grid_Soul_Cloth.png}} no-repeat">Soul Cloth</span>]]

Soul Cloth