Template:PetIcon: Difference between revisions

Added shortcuts for Finn, Puff, and Larry so the full name doesn't have to be typed.
m (Fixed typo on Cooking pet resulting in extra = being added)
(Added shortcuts for Finn, Puff, and Larry so the full name doesn't have to be typed.)
Line 4: Line 4:


<nowiki>{{PetIcon|Beavis}}</nowiki> becomes {{PetIcon|Beavis}}
<nowiki>{{PetIcon|Beavis}}</nowiki> becomes {{PetIcon|Beavis}}
<nowiki>{{PetIcon|Larry}}</nowiki> becomes {{PetIcon|Larry}}


<includeonly><onlyinclude>{{#vardefine:pet|{{{1}}}}}{{#vardefine:ext|}}{{#switch:{{{1}}}
<includeonly><onlyinclude>{{#vardefine:pet|{{{1}}}}}{{#vardefine:ext|}}{{#switch:{{{1}}}
Line 11: Line 13:
|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}}
|Puff|Smithing={{#vardefine:pet|Puff, the Baby Dragon}}
|Snek|Thieving={{#vardefine:pet|Snek}}{{#vardefine:ext|png}}
|Snek|Thieving={{#vardefine:pet|Snek}}{{#vardefine:ext|png}}
|Larry, the Lonely Lizard|Farming={{#vardefine:pet|Larry, the Lonely Lizard}}{{#vardefine:ext|png}}
|Larry|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:ext|png}}
|Caaarrrlll|Crafting={{#vardefine:pet|Caaarrrlll}}{{#vardefine:ext|png}}
Line 21: Line 23:
|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:ext|png}}
|Finn|Finn, the Cat|Hitpoints={{#vardefine:pet|Finn, the Cat}}{{#vardefine:ext|png}}
|Marahute|Ranged={{#vardefine:pet|Marahute}}{{#vardefine:ext|png}}
|Marahute|Ranged={{#vardefine:pet|Marahute}}{{#vardefine:ext|png}}
|Magic={{#vardefine:pet|Salem}}
|Magic={{#vardefine:pet|Salem}}