Template:MonsterBox: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Created Infobox template for monsters.) |
Falterfire (talk | contribs) (Updated to use Lua) |
||
Line 1: | Line 1: | ||
{{MonsterBox|Master Wizard}} | |||
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" style="float:right; clear:right; margin: 0rem 0rem 1rem 1rem;" | |||
|- | |- | ||
! {{ | ! {{#var:monster}} | ||
|- | |- | ||
| | | {{#invoke:Icons|Icon|{{#var:monster}}|type=monster|size=250|notext=true}} | ||
|- | |- | ||
| style="text-align: center;" | Monster ID: {{{ | | style="text-align: center;" | Monster ID: {{#invoke:Monsters|getMonsterStat|{{#var:monster}}|id}} | ||
|- | |- | ||
| Zones: | | Zones: | ||
{{{ | {{#invoke:Monsters|getMonsterAreas|{{#var:monster}}}} | ||
|} | |} | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> |
Revision as of 19:04, 18 September 2020
Master Wizard |
---|
![]() |
Monster ID: melvorD:MasterWizard |
Zones:
Error creating thumbnail: File missing Stronghold of Magic
|
Based on Template:Monster, but pulling data from Module:Monsters/data filtered through Module:Monsters