Template:PetIcon: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (New Pet Icon template) |
Falterfire (talk | contribs) (Fixed a typo) |
||
Line 7: | Line 7: | ||
<includeonly><onlyinclude>{{#vardefine:pet|{{{1}}}}}{{#vardefine:ext|}}{{#switch:{{{1}}} | <includeonly><onlyinclude>{{#vardefine:pet|{{{1}}}}}{{#vardefine:ext|}}{{#switch:{{{1}}} | ||
|Beavis|Woodcutting={{#vardefine:pet|Beavis}}{{#vardefine:ext|png}} | |Beavis|Woodcutting={{#vardefine:pet|Beavis}}{{#vardefine:ext|png}} | ||
|Pudding Duckie|Fishing={{#vardefine:pet|Pudding Duckie}}{{#vardefine | |Pudding Duckie|Fishing={{#vardefine:pet|Pudding Duckie}}{{#vardefine:ext|png}} | ||
|Firemaking|Firemaking={{#vardefine:pet|Pyro}}{{#vardefine | |Firemaking|Firemaking={{#vardefine:pet|Pyro}}{{#vardefine:ext|png}} | ||
|Cooking=={{#vardefine:pet|Cris}} | |Cooking=={{#vardefine:pet|Cris}} | ||
|Mining={{#vardefine:pet|Cool Rock}} | |Mining={{#vardefine:pet|Cool Rock}} | ||
|Smithing={{#vardefine:pet|Puff, the Baby Dragon}} | |Smithing={{#vardefine:pet|Puff, the Baby Dragon}} | ||
|Snek|Thieving={{#vardefine:pet|Snek}}{{#vardefine | |Snek|Thieving={{#vardefine:pet|Snek}}{{#vardefine:ext|png}} | ||
|Larry, the Lonely Lizard|Farming={{#vardefine:pet|Larry, the Lonely Lizard}}{{#vardefine | |Larry, the Lonely Lizard|Farming={{#vardefine:pet|Larry, the Lonely Lizard}}{{#vardefine:ext|png}} | ||
|Fletching={{#vardefine:pet|Quill}} | |Fletching={{#vardefine:pet|Quill}} | ||
|Caaarrrlll|Crafting={{#vardefine:pet|Caaarrrlll}}{{#vardefine | |Caaarrrlll|Crafting={{#vardefine:pet|Caaarrrlll}}{{#vardefine:ext|png}} | ||
|Runecrafting={{#vardefine:pet|Gunter}} | |Runecrafting={{#vardefine:pet|Gunter}} | ||
|Gronk|Herblore={{#vardefine:pet|Gronk}}{{#vardefine | |Gronk|Herblore={{#vardefine:pet|Gronk}}{{#vardefine:ext|png}} | ||
|Attack={{#vardefine:pet|Bruce}} | |Attack={{#vardefine:pet|Bruce}} | ||
|Strength={{#vardefine:pet|Lil Ron}} | |Strength={{#vardefine:pet|Lil Ron}} | ||
|Defence={{#vardefine:pet|Leonardo}} | |Defence={{#vardefine:pet|Leonardo}} | ||
|Finn, the Cat|Hitpoints={{#vardefine:pet|Finn, the Cat}}{{#vardefine | |Finn, the Cat|Hitpoints={{#vardefine:pet|Finn, the Cat}}{{#vardefine:ext|png}} | ||
|Marahute|Ranged={{#vardefine:pet|Marahute}}{{#vardefine | |Marahute|Ranged={{#vardefine:pet|Marahute}}{{#vardefine:ext|png}} | ||
|Magic={{#vardefine:pet|Salem}} | |Magic={{#vardefine:pet|Salem}} | ||
|Monk-ey|Prayer={{#vardefine:pet|Monk-ey}}{{#vardefine | |Monk-ey|Prayer={{#vardefine:pet|Monk-ey}}{{#vardefine:ext|png}} | ||
|Asura|Slayer={{#vardefine:pet|Asura}}{{#vardefine | |Asura|Slayer={{#vardefine:pet|Asura}}{{#vardefine:ext|png}} | ||
|Golbin={{#vardefine:pet|Golden Golbin}}}}{{Icon|type=pet|{{#var:pet}}|ext={{#var:ext|svg}}}}</onlyinclude></includeonly> | |Golbin={{#vardefine:pet|Golden Golbin}}}}{{Icon|type=pet|{{#var:pet}}|ext={{#var:ext|svg}}}}</onlyinclude></includeonly> |
Revision as of 19:25, 25 August 2020
Pulls icons for pets based on either name or skill:
{{PetIcon|Smithing}} becomes Puff, the Baby Dragon
{{PetIcon|Beavis}} becomes Beavis