WIKI IS CURRENTLY UNDER CONSTRUCTION
Difference between revisions of "Template:MonsterInfo template"
Jump to navigation
Jump to search
LadderGoat (talk | contribs) |
LadderGoat (talk | contribs) |
||
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: # | {| style="float:right; width: min-content; background-color: #3f3f3f; border: solid 1px #818181; font-size: 14px; margin-left: 15px;" | ||
| style=" padding: 10px; text-align: center; font-weight: bold; background-color: | | style=" padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" colspan="2" | {{{monsterName}}} | ||
|- | |- | ||
| style="padding: 10px;" colspan="2" | [[File:{{{iconDir}}}.png|250px|center]] | | style="padding: 10px;" colspan="2" | [[File:{{{iconDir}}}.png|250px|center]] | ||
Line 16: | Line 16: | ||
| style="flex-basis: 40%;" | {{{isAggressive}}} | | style="flex-basis: 40%;" | {{{isAggressive}}} | ||
|- | |- | ||
| style="padding: 10px; text-align: center; font-weight: bold; background-color: | | style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" 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 | ||
Line 29: | Line 29: | ||
|- | |- | ||
<!-- 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: | | style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" 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: #{{{discoveryColor}}}" | |- 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 | ||
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: | | style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" 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: | | style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" 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]] | ||
| +{{{agroAtk}}}|| +{{{agroStr}}}|| +{{{agroMage}}}|| +{{{mageDmg}}}|| +{{{agroRange}}}|| +{{{rangeStr}}} | | +{{{agroAtk}}}|| +{{{agroStr}}}|| +{{{agroMage}}}|| +{{{mageDmg}}}|| +{{{agroRange}}}|| +{{{rangeStr}}} | ||
|- | |- | ||
| style="padding: 10px; text-align: center; font-weight: bold; background-color: | | style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" 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.png|Magic damage]] || [[File:Ranged.png|Range attacks]] | | [[File:Dragon_dagger.png|Stab weapons]] || [[File:Dragon_scimitar.png|Slash weapons]] || [[File:Dragon_warhammer.png|Crush weapons]] || [[File:Magic.png|Magic damage]] || [[File:Ranged.png|Range attacks]] | ||
| +{{{Stab}}}|| +{{{Slash}}}|| +{{{Crush}}}|| +{{{mageDef}}}|| +{{{rangeRef}}} | | +{{{Stab}}}|| +{{{Slash}}}|| +{{{Crush}}}|| +{{{mageDef}}}|| +{{{rangeRef}}} | ||
|- | |- | ||
| style="padding: 10px; text-align: center; font-weight: bold; background-color: | | style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" 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 |
Revision as of 19:06, 24 January 2024
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= |}}