WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:MonsterInfo template"

From OldSchool RSPS
Jump to navigation Jump to search
m
m (Added aggressive and slayer exp)
Line 13: Line 13:
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Max hit  
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Max hit  
| style="flex-basis: 40%;" | {{{maxHit}}}
| style="flex-basis: 40%;" | {{{maxHit}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Aggressive
| style="flex-basis: 40%;" | {{{isAggressive}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Slayer.png]] Slayer info  
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Slayer.png]] Slayer info  
Line 18: Line 20:
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Slayer level
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Slayer level
| style="flex-basis: 40%;" | {{{slayerLvl}}}
| style="flex-basis: 40%;" | {{{slayerLvl}}}
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Experience
| style="flex-basis: 40%;" | {{{Hitpoints}}}
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Category
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Category
| style="flex-basis: 40%;" | {{{npcAttribute}}}
| style="flex-basis: 40%;" | {{{npcAttribute}}}
Line 71: Line 75:
|npcAttribute=
|npcAttribute=
|maxHit=
|maxHit=
|isAggressive=
|slayerLvl=
|slayerLvl=
|slayerMaster=
|slayerMaster=

Revision as of 03:00, 13 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
File:Hitpoints icon.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=
|}}