WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:MonsterInfo template"

From OldSchool RSPS
Jump to navigation Jump to search
(Template for monsters)
 
(Fixed variable names)
Line 2: Line 2:
<!-- 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 white; font-size: 14px; margin-left: 15px;"  
| style=" padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | {{{Monster name}}}  
| style=" padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | {{{monsterName}}}  
|-
|-
| style="padding: 10px;" colspan="2" | [[File:{{{Icon_name}}}.png|250px|center]]
| style="padding: 10px;" colspan="2" | [[File:{{{iconDir}}}.png|250px|center]]
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Combat level
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Combat level
| style="flex-basis: 40%;" | {{{Combat Level}}}
| style="flex-basis: 40%;" | {{{cmbLvl}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Attribute  
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Attribute  
| style="flex-basis: 40%;" | {{{Attribute, ie: Demon, Monkey}}}
| style="flex-basis: 40%;" | {{{npcAttribute}}}
| 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%;" | {{{Monster's max hit}}}
| style="flex-basis: 40%;" | {{{maxHit}}}
|-
|-
| 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  
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
| 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%;" | {{{Slayer level}}}
| style="flex-basis: 40%;" | {{{slayerLvl}}}
| 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%;" | {{{Category ie: Demon, Money}}}
| style="flex-basis: 40%;" | {{{npcAttribute}}}
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Assigned by
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Assigned by
| style="flex-basis: 40%;" | {{{Slayer masters assign}}}
| style="flex-basis: 40%;" | {{{slayerMaster}}}
|-
|-
|-
|-
<!-- Change the background-color style to match the Discovery relic colour '|' -->
<!-- Change the background-color style to match the Discovery relic colour '|' -->
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Discovery-large.png|23px]] Discovery info
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Discovery-large.png|23px]] Discovery info
|- style="display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 5px; padding: 5px 0 5px 0; background-color: #2c272a"
|- style="display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 5px; padding: 5px 0 5px 0; background-color: {{{discoveryColor}}}"
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Discovery level
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Discovery level
| style="flex-basis: 40%;" | {{{Discovery level}}}
| style="flex-basis: 40%;" | {{{discoveryLvl}}}
| 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: 50%;" | {{{Category ie: Advanced Monsters}}}
| 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 Tab Icon.png]] Combat stats
Line 39: Line 39:
|- 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:Str.png]] || [[File:Magic_icon.png]] || [[File:Magic_damage_icon.png|Magic damage]] || [[File:Range.png]] || [[File:Ranged_strength_icon.png|Ranged strength]]  
| [[File:Attack.png]] || [[File:Str.png]] || [[File:Magic_icon.png]] || [[File:Magic_damage_icon.png|Magic damage]] || [[File:Range.png]] || [[File:Ranged_strength_icon.png|Ranged strength]]  
| +{{{Agro-atk}}}|| +{{{Agro-str}}}|| +{{{Agro-magic}}}|| +{{{Agro-magic-dmg}}}|| +{{{Agro-range}}}|| +{{{Agro-range-str}}}
| +{{{agroAtk}}}|| +{{{agroStr}}}|| +{{{agroMage}}}|| +{{{mageDmg}}}|| +{{{agroRange}}}|| +{{{rangeStr}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Defence.png]] Defensive stats
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Defence.png]] Defensive stats
|- style="display: grid; grid-template-columns: repeat(5, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
|- style="display: grid; grid-template-columns: repeat(5, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
| [[File:Dragon_dagger.png|Stab weapons]]  || [[File:Dragon_scimitar.png|Slash weapons]]  || [[File:Dragon_warhammer.png|Crush weapons]] || [[File:Magic_icon.png|Magic damage]]  || [[File:Range.png|Range attacks]]  
| [[File:Dragon_dagger.png|Stab weapons]]  || [[File:Dragon_scimitar.png|Slash weapons]]  || [[File:Dragon_warhammer.png|Crush weapons]] || [[File:Magic_icon.png|Magic damage]]  || [[File:Range.png|Range attacks]]  
| +{{{Stab}}}|| +{{{Slash}}}|| +{{{Crush}}}|| +{{{Magic-atk}}}|| +{{{Range-atk}}}
| +{{{Stab}}}|| +{{{Slash}}}|| +{{{Crush}}}|| +{{{mageDef}}}|| +{{{rangeRef}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | Immunities
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | Immunities
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Poison
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Poison
| style="flex-basis: 40%;" | {{{Is immune to poison?}}}
| style="flex-basis: 40%;" | {{{immunePoison}}}
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Venom
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Venom
| style="flex-basis: 40%;" | {{{Is immune to venom?}}}
| style="flex-basis: 40%;" | {{{immuneVenom}}}
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Cannons
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Cannons
| style="flex-basis: 40%;" | {{{Is immune to cannons?}}}
| style="flex-basis: 40%;" | {{{immuneCannon}}}
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Thralls
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Thralls
| style="flex-basis: 40%;" | {{{Is immune to Thralls?}}}
| style="flex-basis: 40%;" | {{{immuneThralls}}}
|-
|-
|}
|}

Revision as of 02:47, 12 April 2022

{{{monsterName}}}
[[File:{{{iconDir}}}.png|250px|center]]
Combat level {{{cmbLvl}}} Attribute {{{npcAttribute}}} Max hit {{{maxHit}}}
Slayer.png Slayer info
Slayer level {{{slayerLvl}}} 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}}}