WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:MonsterInfo template"

From OldSchool RSPS
Jump to navigation Jump to search
m
Line 2: Line 2:
<!-- Demonic gorilla information side bar, change the text after the style pipe '|' -->
<!-- Demonic gorilla information side bar, change the text after the style pipe '|' -->
<!-- Image markup: '[[File:<filename>.png|pixel size for image|alt text]] -->
<!-- Image markup: '[[File:<filename>.png|pixel size for image|alt text]] -->
{| style="float:right; width: min-content; background-color: #0f0f0f; border: solid 1px white; font-size: 14px; margin-left: 15px;"  
{| style="float:right; width: min-content; background-color: #0f0f0f; border: solid 1px #818181; font-size: 14px; margin-left: 15px;"  
| style=" padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | {{{monsterName}}}  
| style=" padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | {{{monsterName}}}  
|-
|-

Revision as of 19:02, 24 January 2024

{{{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=
|}}