Template:Infobox Item: Difference between revisions
Use wikitable class and add float right positioning (via update-page on MediaWiki MCP Server) |
Fix row separator placement (via update-page on MediaWiki MCP Server) |
||
| Line 5: | Line 5: | ||
|- | |- | ||
| colspan="2" style="text-align:center;" | {{Sprite|{{{sprite|{{{name}}}}}}|64}} | | colspan="2" style="text-align:center;" | {{Sprite|{{{sprite|{{{name}}}}}}|64}} | ||
{{#if:{{{slot|}}}| | |- | ||
! Slot {{!}}{{!}} {{{slot}}}}} | {{#if:{{{slot|}}}|! Slot {{!}}{{!}} {{{slot}}} | ||
{{#if:{{{category|}}}| | {{!}}-}} | ||
! Type {{!}}{{!}} [[:Category:{{{category}}}|{{{category}}}]]}} | {{#if:{{{category|}}}|! Type {{!}}{{!}} [[:Category:{{{category}}}|{{{category}}}]] | ||
{{#if:{{{rarity|}}}| | {{!}}-}} | ||
! Rarity {{!}}{{!}} {{{rarity}}}}} | {{#if:{{{rarity|}}}|! Rarity {{!}}{{!}} {{{rarity}}} | ||
{{#if:{{{wgt|}}}| | {{!}}-}} | ||
! Weight {{!}}{{!}} {{{wgt}}}}} | {{#if:{{{wgt|}}}|! Weight {{!}}{{!}} {{{wgt}}} | ||
{{#if:{{{rng|}}}| | {{!}}-}} | ||
! Range {{!}}{{!}} {{{rng}}}}} | {{#if:{{{rng|}}}|! Range {{!}}{{!}} {{{rng}}} | ||
{{#if:{{{dmg|}}}| | {{!}}-}} | ||
! Damage {{!}}{{!}} {{{dmg}}}}} | {{#if:{{{dmg|}}}|! Damage {{!}}{{!}} {{{dmg}}} | ||
{{#if:{{{eq|}}}| | {{!}}-}} | ||
! Equip Size {{!}}{{!}} {{{eq}}}}} | {{#if:{{{eq|}}}|! Equip Size {{!}}{{!}} {{{eq}}} | ||
{{#if:{{{hp|}}}{{{mp|}}}{{{ab|}}}{{{mag|}}}{{{arm|}}}{{{def|}}}{{{ms|}}}{{{as|}}}| | {{!}}-}} | ||
! colspan="2" {{!}} '''Bonuses'''}} | {{#if:{{{hp|}}}{{{mp|}}}{{{ab|}}}{{{mag|}}}{{{arm|}}}{{{def|}}}{{{ms|}}}{{{as|}}}| | ||
{{#if:{{{hp|}}}| | ! colspan="2" {{!}} '''Bonuses''' | ||
! HP {{!}}{{!}} +{{{hp}}}}} | {{!}}- | ||
{{#if:{{{mp|}}}| | }} | ||
! MP {{!}}{{!}} +{{{mp}}}}} | {{#if:{{{hp|}}}|! HP {{!}}{{!}} +{{{hp}}} | ||
{{#if:{{{ab|}}}| | {{!}}-}} | ||
! Ability {{!}}{{!}} +{{{ab}}}}} | {{#if:{{{mp|}}}|! MP {{!}}{{!}} +{{{mp}}} | ||
{{#if:{{{mag|}}}| | {{!}}-}} | ||
! Magic {{!}}{{!}} +{{{mag}}}}} | {{#if:{{{ab|}}}|! Ability {{!}}{{!}} +{{{ab}}} | ||
{{#if:{{{arm|}}}| | {{!}}-}} | ||
! Armor {{!}}{{!}} +{{{arm}}}}} | {{#if:{{{mag|}}}|! Magic {{!}}{{!}} +{{{mag}}} | ||
{{#if:{{{def|}}}| | {{!}}-}} | ||
! Defense {{!}}{{!}} +{{{def}}}}} | {{#if:{{{arm|}}}|! Armor {{!}}{{!}} +{{{arm}}} | ||
{{#if:{{{ms|}}}| | {{!}}-}} | ||
! Move Speed {{!}}{{!}} +{{{ms}}}}} | {{#if:{{{def|}}}|! Defense {{!}}{{!}} +{{{def}}} | ||
{{#if:{{{as|}}}| | {{!}}-}} | ||
! Attack Speed {{!}}{{!}} +{{{as}}}}} | {{#if:{{{ms|}}}|! Move Speed {{!}}{{!}} +{{{ms}}} | ||
{{!}}-}} | |||
{{#if:{{{as|}}}|! Attack Speed {{!}}{{!}} +{{{as}}} | |||
{{!}}-}} | |||
|} | |} | ||
[[Category:{{{category}}}]]{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} items]]}} | [[Category:{{{category}}}]]{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} items]]}} | ||
Revision as of 06:40, 22 January 2026
Documentation
The above documentation is transcluded from Template:Infobox Item/doc. Edit