Template:PetIcon: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Added notext argument) |
Falterfire (talk | contribs) (Added overrides for Ripper, Jerry, and PReston) |
||
Line 33: | Line 33: | ||
|Mastery|Ty={{#vardefine:pet|Ty}} | |Mastery|Ty={{#vardefine:pet|Ty}} | ||
|Perilous Peaks={{#vardefine:pet|Peri}} | |Perilous Peaks={{#vardefine:pet|Peri}} | ||
|Ripper={{#vardefine:pet|Ripper the Reindeer}} | |||
|Jerry={{#vardefine:pet|Jerry the Giraffe}} | |||
|Preston={{#vardefine:pet|Preston the Platypus}} | |||
|Dark Waters={{#vardefine:pet|Otto}}}}{{Icon|type=pet|{{#var:pet}}|ext={{#var:ext|svg}}|size={{{size|}}}|notext={{{notext|}}}}}</onlyinclude></includeonly> | |Dark Waters={{#vardefine:pet|Otto}}}}{{Icon|type=pet|{{#var:pet}}|ext={{#var:ext|svg}}|size={{{size|}}}|notext={{{notext|}}}}}</onlyinclude></includeonly> |
Revision as of 22:16, 5 March 2021
Pulls icons for pets based on either name or skill:
{{PetIcon|Smithing}}
becomes Puff, the Baby Dragon
{{PetIcon|Beavis}}
becomes Beavis
{{PetIcon|Larry}}
becomes Larry, the Lonely Lizard
Size option allows for larger icons. {{PetIcon|Asura|notext=true|size=50}}
becomes