Mastergalen (talk | contribs) m (Protected "Template:SpriteLink" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
(No difference)
|
This templates creates a page link with an associated sprite image on the left side using the IDs from one of these templates:
The first parameter must specify one of the sprite templates mentioned above, the second one contains the desired link, which can optionally be named with the third parameter. The sprite can be customized with the parameter id
if it's not recognized correctly.
Code | Result |
---|---|
{{SpriteLink|ResourceSprite|Iron Ore}} |
File:ResourceCSS.png Iron Ore |
{{SpriteLink|ResourceSprite|Dirt|id=grass-block}} |
File:ResourceCSS.png Dirt |
The above documentation is transcluded from Template:SpriteLink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.