WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:MonsterInfo template"

From OldSchool RSPS
Jump to navigation Jump to search
m
m
Line 36: Line 36:
| style="flex-basis: 50%;" | {{{discoveryCat}}}
| style="flex-basis: 50%;" | {{{discoveryCat}}}
|-
|-
| 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 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.png]] || [[File:Attack.png]] || [[File:Strength.png]] || [[File:Defence.png]] || [[File:Magic.png]] || [[File:Ranged.png]]  
| [[File:Hitpoints.png]] || [[File:Attack.png]] || [[File:Strength.png]] || [[File:Defence.png]] || [[File:Magic.png]] || [[File:Ranged.png]]  
| {{{Hitpoints}}} || {{{Attack}}}|| {{{Strength}}}|| {{{Defence}}}|| {{{Magic}}}|| {{{Range}}}
| {{{Hitpoints}}} || {{{Attack}}}|| {{{Strength}}}|| {{{Defence}}}|| {{{Magic}}}|| {{{Range}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat_tab_icon.png]] Aggressive stats
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat icon.png]] Aggressive 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:Attack.png]] || [[File:Strength.png]] || [[File:Magic.png]] || [[File:Magic_damage_icon.png|Magic damage]] || [[File:Ranged.png]] || [[File:Ranged_strength_icon.png|Ranged strength]]  
| [[File:Attack.png]] || [[File:Strength.png]] || [[File:Magic.png]] || [[File:Magic_damage_icon.png|Magic damage]] || [[File:Ranged.png]] || [[File:Ranged_strength_icon.png|Ranged strength]]  

Revision as of 14:11, 23 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}}}
Combat icon.png Combat stats
Hitpoints.png Attack.png Strength.png Defence.png Magic.png Ranged.png {{{Hitpoints}}} {{{Attack}}} {{{Strength}}} {{{Defence}}} {{{Magic}}} {{{Range}}}
Combat icon.png Aggressive stats
Attack.png Strength.png Magic.png Magic damage Ranged.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=
|}}