WIKI IS CURRENTLY UNDER CONSTRUCTION
Difference between revisions of "Template:MonsterInfo template"
Jump to navigation
Jump to search
(Fixed discovery style, bg-color variable) |
|||
Line 1: | Line 1: | ||
<onlyinclude> | |||
<!-- 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]] --> | ||
Line 58: | Line 59: | ||
|- | |- | ||
|} | |} | ||
</onlyinclude> | |||
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. | |||
<nowiki>{{MonsterInfo template | |||
|monsterName= | |||
|iconDir= | |||
|cmbLvl= | |||
|npcAttribute= | |||
|maxHit= | |||
|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= | |||
|}}</nowiki> |
Revision as of 08:07, 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}}} |
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= |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= |}}