Difference between revisions of "Template:PetSidebar"

From Melvor Idle
(Created page with "Template for quickly generating Pet Sidebar. For example, {{T|PetSidebar|Snek}} generates {{PetSidebar|Snek}} {{T|PetSidebar|Otto|skill={{T|Skill|Slayer}}}} generates {{PetSid...")
 
m
 
Line 2: Line 2:
 
{{T|PetSidebar|Otto|skill={{T|Skill|Slayer}}}} generates {{PetSidebar|Otto|skill={{Skill|Slayer}}}}
 
{{T|PetSidebar|Otto|skill={{T|Skill|Slayer}}}} generates {{PetSidebar|Otto|skill={{Skill|Slayer}}}}
 
Powered by [[Module:Pets]]
 
Powered by [[Module:Pets]]
<onlyinclude><includeonly>{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Pets|getPetSidebar|{{#var:name}}|skill={{{skill|}}}|effect={{{effect|}}}}}}</includeonly></onlyinclude>
+
<onlyinclude><includeonly>{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Pets|getPetSidebar|{{#var:name}}|skill={{{skill|}}}|effect={{{effect|}}}}}</includeonly></onlyinclude>

Latest revision as of 03:33, 14 January 2021

Template for quickly generating Pet Sidebar. For example, {{PetSidebar|Snek}} generates

Snek
Snek (pet).png
Pet ID: 6
Source: Thieving (skill).svg Thieving
Drop Chance: See: Acquiring Pets
Effect: +50% GP From Thieving
Part of 100% Completion: Yes

{{PetSidebar|Otto|skill={{Skill|Slayer}}}} generates

Otto
Otto (pet).svg
Pet ID: 23
Source: Dark Waters (combatArea).svg Dark Waters
Drop Chance: 1 in 7500 (0.01%)
Effect: -0.1s Attack Interval
Part of 100% Completion: Yes

Powered by Module:Pets