Jump to content

Template:Infobox Monster: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Use MonsterPreview, infer sprite from name (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Use Module:Infobox for monster infobox (via update-page on MediaWiki MCP Server)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:Infobox Monster -->
<includeonly>{{#invoke:Infobox|monster}}</includeonly><noinclude>
<includeonly>{| class="infobox monster-infobox"
|-
! colspan="2" style="text-align:center;" | {{{name}}}
|-
| colspan="2" style="text-align:center;" | {{MonsterPreview|{{{sprite|{{{name}}}}}}|128|mode={{{mode|auto}}}|file={{{file|}}}}}
|-
{{#if:{{{hp|}}}|! HP {{!}}{{!}} {{{hp}}}
{{!}}-}}
{{#if:{{{xp|}}}|! XP {{!}}{{!}} {{{xp}}}
{{!}}-}}
{{#if:{{{arm|}}}|! Armor {{!}}{{!}} {{{arm}}}
{{!}}-}}
{{#if:{{{def|}}}|! Defense {{!}}{{!}} {{{def}}}
{{!}}-}}
{{#if:{{{as|}}}|! Attack Speed {{!}}{{!}} {{{as}}}
{{!}}-}}
{{#if:{{{ms|}}}|! Move Speed {{!}}{{!}} {{{ms}}}
{{!}}-}}
{{#if:{{{respawn|}}}|! Respawn {{!}}{{!}} {{{respawn}}}
{{!}}-}}
|}
[[Category:Monsters]]
</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 08:52, 22 January 2026

Documentation

Template:Infobox Monster/doc

The above documentation is transcluded from Template:Infobox Monster/doc. Edit