Jump to content

Template:Infobox Item: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Created page with "<!-- Template:Infobox Item --> <includeonly>{| class="infobox item-infobox{{#if:{{{rarity|}}}| rarity-{{{rarity}}}}}" |- ! colspan="2" style="text-align:center;" | {{{name}}} |- {{#if:{{{sprite|}}}| {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{sprite}}}]] {{!}}- }} {{#if:{{{slot|}}}|! Slot {{!}}{{!}} {{{slot}}} {{!}}-}} {{#if:{{{category|}}}|! Type {{!}}{{!}} [[:Category:{{{category}}}|{{{category}}}]] {{!}}-}} {{#if:{{{rarity|}}}|! Rarity {{!}}{{!}} {{{r..."
 
Dane (talk | contribs)
Use Module:Infobox (via update-page on MediaWiki MCP Server)
Tag: Replaced
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:Infobox Item -->
<includeonly>{{#invoke:Infobox|item}}</includeonly><noinclude>
<includeonly>{| class="infobox item-infobox{{#if:{{{rarity|}}}| rarity-{{{rarity}}}}}"
|-
! colspan="2" style="text-align:center;" | {{{name}}}
|-
{{#if:{{{sprite|}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{sprite}}}]]
{{!}}-
}}
{{#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}}}
{{!}}-}}
{{#cargo_query:tables=MonsterDrops
|fields=monster,rarity
|where=item="{{PAGENAME}}"
|named args=yes
|format=list
|intro=! colspan="2" {{!}} '''Dropped by'''{{!}}-{{!}} colspan="2" {{!}}
|default=
}}
|}
[[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