Template:ItemLink: Difference between revisions
Template page
More actions
NekoPillow (talk | contribs) Created page with "<includeonly> {{{{#ifeq: {{#expr: {{Item/ID|{{{1}}}}}}%2}} | 0 | ItemSprite | SeedSprite}}|{{#expr: floor({{Item/ID|{{{1}}}}}}/2)}}}} [[{{{1}}}]] </includeonly>" |
NekoPillow (talk | contribs) No edit summary |
||
| (16 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Item|ItemLink|{{{1}}}}}[[Category:AutoPurge]]</includeonly><noinclude>{{documentation}}</noinclude> | ||
</ | |||
Latest revision as of 13:00, 11 March 2021
| Template Documentation [Edit] [History] [Purge] |
|---|
| This is the documentation of Template:ItemLink. |
Description:
Display a link to an item with its corresponding image.
Usage:
{{ItemLink|ItemName}}
Example:
https://cdn.growtopiawiki.com/uploads/8/8f/ItemSprites.png World Lock
https://cdn.growtopiawiki.com/uploads/8/8f/ItemSprites.png Magic Egg
https://cdn.growtopiawiki.com/uploads/9/9c/SeedSprites.png Dirt Seed
https://cdn.growtopiawiki.com/uploads/e/e5/TreeSprites.png Rock Tree