Template:MonsterBox: Difference between revisions

Consistency of ID alignment with other infobox templates
(Created Infobox template for monsters.)
 
(Consistency of ID alignment with other infobox templates)
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This template is for the infobox for monsters.
{{MonsterBox|Master Wizard}}


Content is automatically generated by a bot and thus any modifications could be lost whenever the game is updated.
Based on [[Template:Monster]], but pulling data from [[Module:Monsters/data]] filtered through [[Module:Monsters]]
<onlyinclude><includeonly>{| class="wikitable" style="float:right; clear:right; margin: 1rem 1rem;"
 
<onlyinclude><includeonly>{{#vardefine:monster|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
|-  
|-  
! {{{name}}}
! {{#var:monster}}
|-
|-
| [[File:{{{name}}}_(monster).svg | 250px]]
| style="text-align: center;" | {{#invoke:Icons|Icon|{{#var:monster}}|type=monster|size=250|notext=true}}
|-
|-
| style="text-align: center;" | Monster ID: {{{monsterID}}}
| '''Monster ID:''' {{#invoke:Monsters|getMonsterStat|{{#var:monster}}|id}}
|-
|-
| Zones:
| '''Zones:'''
{{{zones}}}
{{#invoke:Monsters|getMonsterAreas|{{#var:monster}}}}
|}
{{#invoke:Monsters|getOtherMonsterBoxText|{{#var:monster}}}}
|}{{#invoke:Monsters|getMonsterCategories|{{#var:monster}}}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>