Template:SpriteLink
[edit] [history] [purge] File:Template-info.png Template documentation
This templates creates a page link with an associated sprite image on the left side using the IDs from one of these templates:
- {{UnitSprite}}
- {{ResourceSprite}}
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.
Examples
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. |
Retrieved from ‘http://ftb-wiki.com/w/index.php?title=Template:SpriteLink&oldid=19’
Cookies help us deliver our services. By using our services, you agree to our use of cookies.