WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:MonsterInfo template"

From OldSchool RSPS
Jump to navigation Jump to search
m
m
Line 38: Line 38:
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat tab icon.png]] Combat stats
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat tab icon.png]] Combat stats
|- style="display: grid; grid-template-columns: repeat(6, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
|- style="display: grid; grid-template-columns: repeat(6, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
| [[File:Hitpoints_icon.png]] || [[File:Attack.png]] || [[File:Str.png]] || [[File:Defence.png]] || [[File:Magic_icon.png]] || [[File:Range.png]]  
| [[File:Hitpoints.png]] || [[File:Attack.png]] || [[File:Str.png]] || [[File:Defence.png]] || [[File:Magic_icon.png]] || [[File:Range.png]]  
| {{{Hitpoints}}} || {{{Attack}}}|| {{{Strength}}}|| {{{Defence}}}|| {{{Magic}}}|| {{{Range}}}
| {{{Hitpoints}}} || {{{Attack}}}|| {{{Strength}}}|| {{{Defence}}}|| {{{Magic}}}|| {{{Range}}}
|-
|-

Revision as of 17:58, 22 April 2022

{{{monsterName}}}
[[File:{{{iconDir}}}.png|250px|center]]
Combat level {{{cmbLvl}}} Attribute {{{npcAttribute}}} Max hit {{{maxHit}}} Aggressive {{{isAggressive}}}
Slayer.png Slayer info
Slayer level {{{slayerLvl}}} Experience {{{Hitpoints}}} Category {{{npcAttribute}}} Assigned by {{{slayerMaster}}}
Discovery-large.png Discovery info
Discovery level {{{discoveryLvl}}} Category {{{discoveryCat}}}
File:Combat tab icon.png Combat stats
Hitpoints.png Attack.png File:Str.png Defence.png File:Magic icon.png File:Range.png {{{Hitpoints}}} {{{Attack}}} {{{Strength}}} {{{Defence}}} {{{Magic}}} {{{Range}}}
Combat icon.png Aggressive stats
Attack.png File:Str.png File:Magic icon.png Magic damage File:Range.png Ranged strength +{{{agroAtk}}} +{{{agroStr}}} +{{{agroMage}}} +{{{mageDmg}}} +{{{agroRange}}} +{{{rangeStr}}}
Defence.png Defensive stats
Stab weapons Slash weapons Crush weapons Magic damage Range attacks +{{{Stab}}} +{{{Slash}}} +{{{Crush}}} +{{{mageDef}}} +{{{rangeRef}}}
Immunities
Poison {{{immunePoison}}} Venom {{{immuneVenom}}} Cannons {{{immuneCannon}}} Thralls {{{immuneThralls}}}


This is the template for a monster information summary side bar. To use this you pass in a property to the variable, below is a template you can copy and paste.

NOTE

iconDir will only work with a .png extension on the template.

{{MonsterInfo template
|monsterName=
|iconDir=
|cmbLvl=
|npcAttribute=
|maxHit=
|isAggressive=
|slayerLvl=
|slayerMaster=
|discoveryColor=
|discoveryLvl=
|discoveryCat=
|Hitpoints=
|Attack=
|Strength=
|Defence=
|Magic=
|Range=
|agroAtk=
|agroStr=
|agroMage=
|mageDmg=
|agroRange=
|rangeStr=
|Stab=
|Slash=
|Crush=
|mageDef=
|rangeRef=
|immunePoison=
|immuneVenom=
|immuneCannon=
|immuneThralls=
|}}