WIKI IS CURRENTLY UNDER CONSTRUCTION
Difference between revisions of "Template:MonsterInfo template"
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" | {{{ | | style=" padding: 10px; text-align: center; font-weight: bold; background-color: black;" colspan="2" | {{{monsterName}}} | ||
|- | |- | ||
| style="padding: 10px;" colspan="2" | [[File:{{{ | | 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%;" | {{{ | | 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%;" | {{{ | | 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%;" | {{{ | | 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%;" | {{{ | | 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%;" | {{{ | | 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%;" | {{{ | | 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: | |- 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%;" | {{{ | | 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%;" | {{{ | | 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]] | ||
| +{{{ | | +{{{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}}}|| +{{{ | | +{{{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%;" | {{{ | | 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%;" | {{{ | | 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%;" | {{{ | | 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%;" | {{{ | | 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 info | |||||||||||
Slayer level | {{{slayerLvl}}} | Category | {{{npcAttribute}}} | Assigned by | {{{slayerMaster}}} | ||||||
Discovery info | |||||||||||
Discovery level | {{{discoveryLvl}}} | Category | {{{discoveryCat}}} | ||||||||
File:Combat Tab Icon.png Combat stats | |||||||||||
File:Hitpoints icon.png | File:Str.png | File:Magic icon.png | File:Range.png | {{{Hitpoints}}} | {{{Attack}}} | {{{Strength}}} | {{{Defence}}} | {{{Magic}}} | {{{Range}}} | ||
Aggressive stats | |||||||||||
File:Str.png | File:Magic icon.png | File:Range.png | +{{{agroAtk}}} | +{{{agroStr}}} | +{{{agroMage}}} | +{{{mageDmg}}} | +{{{agroRange}}} | +{{{rangeStr}}} | |||
Defensive stats | |||||||||||
Magic damage | Range attacks | +{{{Stab}}} | +{{{Slash}}} | +{{{Crush}}} | +{{{mageDef}}} | +{{{rangeRef}}} | |||||
Immunities | |||||||||||
Poison | {{{immunePoison}}} | Venom | {{{immuneVenom}}} | Cannons | {{{immuneCannon}}} | Thralls | {{{immuneThralls}}} |