Jump to content

Widget:FileUrl: Difference between revisions

From Joyful's Civilization
w>OishiiOnIno
update per request
 
m 1 revision imported
 
(No difference)

Latest revision as of 21:35, 1 October 2025

url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/)

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>]]

Diamond

ru:Widget:FileUrl

[view | edit | history | ⧼page-header-action-button-purge⧽]The above documentation is transcluded from Widget:FileUrl/doc.