Jump to content

Template:Infobox Item: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Use Module:Infobox for stat rows with icons, add hpregen/mpregen (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Use Module:Infobox (via update-page on MediaWiki MCP Server)
Tag: Replaced
 
(One intermediate revision 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|class=pageimage}}
{{#if:{{{slot|}}}|{{!}}-
! style="text-align:right;" {{!}} Slot {{!}}{{!}} style="text-align:left;" {{!}} {{{slot}}}}}
{{#if:{{{category|}}}|{{!}}-
! style="text-align:right;" {{!}} Type {{!}}{{!}} style="text-align:left;" {{!}} [[:Category:{{{category}}}|{{{category}}}]]}}
{{#if:{{{rarity|}}}|{{!}}-
! style="text-align:right;" {{!}} Rarity {{!}}{{!}} style="text-align:left;" {{!}} {{{rarity}}}}}
{{#invoke:Infobox|statRow|wgt|{{{wgt|}}}}}
{{#invoke:Infobox|statRow|rng|{{{rng|}}}}}
{{#invoke:Infobox|statRow|dmg|{{{dmg|}}}}}
{{#invoke:Infobox|statRow|eq|{{{eq|}}}}}
{{#if:{{{hp|}}}{{{mp|}}}{{{ab|}}}{{{mag|}}}{{{arm|}}}{{{def|}}}{{{ms|}}}{{{as|}}}{{{hpregen|}}}{{{mpregen|}}}|{{!}}-
! colspan="2" {{!}} '''Bonuses'''}}
{{#invoke:Infobox|statRow|hp|{{{hp|}}}}}
{{#invoke:Infobox|statRow|mp|{{{mp|}}}}}
{{#invoke:Infobox|statRow|ab|{{{ab|}}}}}
{{#invoke:Infobox|statRow|mag|{{{mag|}}}}}
{{#invoke:Infobox|statRow|arm|{{{arm|}}}}}
{{#invoke:Infobox|statRow|def|{{{def|}}}}}
{{#invoke:Infobox|statRow|ms|{{{ms|}}}}}
{{#invoke:Infobox|statRow|as|{{{as|}}}}}
{{#invoke:Infobox|statRow|hpregen|{{{hpregen|}}}}}
{{#invoke:Infobox|statRow|mpregen|{{{mpregen|}}}}}
|}
[[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