Template:PetSidebar: Difference between revisions

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...")
 
(Remove dependency on Variables extension)
 
(One intermediate revision by one other user not shown)
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>{{#invoke:Pets|getPetSidebar|{{{1|{{PAGENAME}}}}}|skill={{{skill|}}}|effect={{{effect|}}}}}</includeonly></onlyinclude>

Latest revision as of 23:21, 7 October 2022

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

Snek
Snek
Pet ID: melvorF:Snek
Source:
Error creating thumbnail: File missing
Thieving
Drop Chance: See: Acquiring Pets
Effect: +50% GP gained from Thieving
Part of 100% Completion: Yes

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

Otto
Error creating thumbnail: File missing
Pet ID: melvorF:Otto
Source:
Error creating thumbnail: File missing
Dark Waters
Drop Chance: 1 in 7,500 (0.01%)
Effect: -0.1s Attack Interval
Part of 100% Completion: Yes

Powered by Module:Pets