Widget:FileUrl/doc: Skirtumas tarp puslapio versijų
Pereiti į navigaciją
Jump to search
Minecraft>AttemptToCallNil S (interwiki) |
SNėra keitimo santraukos |
||
(nerodoma viena tarpinė versija, sukurta to paties naudotojo) | |||
16 eilutė: | 16 eilutė: | ||
<noinclude> | <noinclude> | ||
<!-- Documentation categories/interwiki here --> | <!-- Documentation categories/interwiki here --> | ||
</noinclude> | </noinclude> |
Dabartinė 09:16, 27 gegužės 2024 versija
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:
[[Diamond|<span style="padding-left:18px;background:{{#widget:FileUrl|url=thumb/7/72/Grid_Diamond.png/16px-Grid_Diamond.png}} no-repeat">Diamond</span>]]