Jump to content

Template:Infobox Item: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Use wikitable class and add float right positioning (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Use Module:Infobox (via update-page on MediaWiki MCP Server)
Tag: Replaced
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:Infobox Item -->
<includeonly>{{#invoke:Infobox|item}}</includeonly><noinclude>
<includeonly>{| class="wikitable infobox item-infobox{{#if:{{{rarity|}}}| rarity-{{{rarity}}}}}" 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;" | {{Sprite|{{{sprite|{{{name}}}}}}|64}}
{{#if:{{{slot|}}}|{{!}}-
! Slot {{!}}{{!}} {{{slot}}}}}
{{#if:{{{category|}}}|{{!}}-
! Type {{!}}{{!}} [[:Category:{{{category}}}|{{{category}}}]]}}
{{#if:{{{rarity|}}}|{{!}}-
! Rarity {{!}}{{!}} {{{rarity}}}}}
{{#if:{{{wgt|}}}|{{!}}-
! Weight {{!}}{{!}} {{{wgt}}}}}
{{#if:{{{rng|}}}|{{!}}-
! Range {{!}}{{!}} {{{rng}}}}}
{{#if:{{{dmg|}}}|{{!}}-
! Damage {{!}}{{!}} {{{dmg}}}}}
{{#if:{{{eq|}}}|{{!}}-
! Equip Size {{!}}{{!}} {{{eq}}}}}
{{#if:{{{hp|}}}{{{mp|}}}{{{ab|}}}{{{mag|}}}{{{arm|}}}{{{def|}}}{{{ms|}}}{{{as|}}}|{{!}}-
! colspan="2" {{!}} '''Bonuses'''}}
{{#if:{{{hp|}}}|{{!}}-
! HP {{!}}{{!}} +{{{hp}}}}}
{{#if:{{{mp|}}}|{{!}}-
! MP {{!}}{{!}} +{{{mp}}}}}
{{#if:{{{ab|}}}|{{!}}-
! Ability {{!}}{{!}} +{{{ab}}}}}
{{#if:{{{mag|}}}|{{!}}-
! Magic {{!}}{{!}} +{{{mag}}}}}
{{#if:{{{arm|}}}|{{!}}-
! Armor {{!}}{{!}} +{{{arm}}}}}
{{#if:{{{def|}}}|{{!}}-
! Defense {{!}}{{!}} +{{{def}}}}}
{{#if:{{{ms|}}}|{{!}}-
! Move Speed {{!}}{{!}} +{{{ms}}}}}
{{#if:{{{as|}}}|{{!}}-
! Attack Speed {{!}}{{!}} +{{{as}}}}}
|}
[[Category:{{{category}}}]]{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} items]]}}
</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 08:05, 22 January 2026

Documentation

Template:Infobox Item/doc

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