Jump to content

Template:Infobox Monster: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Use wikitable class for standard styling (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Use Module:Infobox for monster infobox (via update-page on MediaWiki MCP Server)
 
Line 1: Line 1:
<!-- Template:Infobox Monster -->
<includeonly>{{#invoke:Infobox|monster}}</includeonly><noinclude>
<includeonly>{| class="wikitable infobox monster-infobox" style="float:right; clear:right; margin:0 0 1em 1em; width:250px;"
|-
! 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