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 6: | Line 6: | ||
|- | |- | ||
| colspan="2" | [[File:{{{iconDir}}}.png|250px|center]] | | colspan="2" | [[File:{{{iconDir}}}.png|250px|center]] | ||
|- style="display: flex; flex-flow: wrap; justify-content: flex-start | |- style="display: flex; flex-flow: wrap; justify-content: flex-start; margin: 5px 0 5px 0;" | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Combat level | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Combat level | ||
| style="flex-basis: 40%;" | {{{cmbLvl}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{cmbLvl}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Attribute | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Attribute | ||
| style="flex-basis: 40%;" | {{{npcAttribute}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{npcAttribute}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Max hit | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Max hit | ||
| style="flex-basis: 40%;" | {{{maxHit}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{maxHit}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Aggressive | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Aggressive | ||
| style="flex-basis: 40%;" | {{{isAggressive}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{isAggressive}}} | ||
|- | |- | ||
| style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" colspan="2" | [[File:Slayer.png]] Slayer info | | 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 | |- style="display: flex; flex-flow: wrap; justify-content: flex-start; margin: 5px 0 5px 0;" | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Slayer level | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Slayer level | ||
| style="flex-basis: 40%;" | {{{slayerLvl}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{slayerLvl}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Experience | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Experience | ||
| style="flex-basis: 40%;" | {{{Hitpoints}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{Hitpoints}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Category | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Category | ||
| style="flex-basis: 40%;" | {{{npcAttribute}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{npcAttribute}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Assigned by | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Assigned by | ||
| style="flex-basis: 40%;" | {{{slayerMaster}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{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: #2f2f2f;" colspan="2" | [[File:Discovery-large.png|23px]] Discovery info | | 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 | |- style="display: flex; flex-wrap: wrap; justify-content: flex-start; padding: 5px 0 5px 0; background-color: #{{{discoveryColor}}}" | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Discovery level | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Discovery level | ||
| style="flex-basis: 40%;" | {{{discoveryLvl}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{discoveryLvl}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Category | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Category | ||
| style="flex-basis: | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{discoveryCat}}} | ||
|- | |- | ||
| style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" colspan="2" | [[File:Combat icon.png]] Combat stats | | style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" colspan="2" | [[File:Combat icon.png]] Combat stats | ||
Line 52: | Line 52: | ||
|- | |- | ||
| style="padding: 10px; text-align: center; font-weight: bold; background-color: #2f2f2f;" colspan="2" | Immunities | | 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 | |- style="display: flex; flex-flow: wrap; justify-content: flex-start; margin: 5px 0 5px 0;" | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Poison | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Poison | ||
| style="flex-basis: 40%;" | {{{immunePoison}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{immunePoison}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Venom | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Venom | ||
| style="flex-basis: 40%;" | {{{immuneVenom}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{immuneVenom}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Cannons | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Cannons | ||
| style="flex-basis: 40%;" | {{{immuneCannon}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{immuneCannon}}} | ||
| style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Thralls | | style="flex-basis: 40%; padding: 0.2em 0.5em; border-right: 2px solid #2f2f2f; font-weight: bold; text-align: right;" | Thralls | ||
| style="flex-basis: 40%;" | {{{immuneThralls}}} | | style="flex-basis: 40%; padding: 0.2em 0.5em;" | {{{immuneThralls}}} | ||
|- | |- | ||
|} | |} | ||
Line 102: | Line 102: | ||
|immuneCannon= | |immuneCannon= | ||
|immuneThralls= | |immuneThralls= | ||
}}</nowiki> | |||
[[Category:Infoboxes]] | [[Category:Infoboxes]] |
Latest revision as of 19:24, 29 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= }}