Difference between revisions of "Template:ItemPropertiesInfoBox"
Line 101: | Line 101: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} 1 | + | {{!}} style="text-align: middle" {{!}} 1 |
{{#ifexpr: {{#var: showAtkEnchant}} != 0 | {{#ifexpr: {{#var: showAtkEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- atk bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- atk bonus this enchant --> |
− | {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- total atk bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- total atk bonus to this level --> |
}} | }} | ||
{{#ifexpr: {{#var: showDefEnchant}} != 0 | {{#ifexpr: {{#var: showDefEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | ? }} <!-- def bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | ? }} <!-- def bonus this enchant --> |
− | {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | ? }} <!-- total def bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | ? }} <!-- total def bonus to this level --> |
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} 2 | + | {{!}} style="text-align: middle" {{!}} 2 |
{{#ifexpr: {{#var: showAtkEnchant}} != 0 | {{#ifexpr: {{#var: showAtkEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantAtk2}} | {{#var: enchantAtk2}} | ? }} <!-- atk bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantAtk2}} | {{#var: enchantAtk2}} | ? }} <!-- atk bonus this enchant --> |
− | {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} }} | ? }} <!-- total atk bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} }} | ? }} <!-- total atk bonus to this level --> |
}} | }} | ||
{{#ifexpr: {{#var: showDefEnchant}} != 0 | {{#ifexpr: {{#var: showDefEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantDef2}} | {{#var: enchantDef2}} | ? }} <!-- def bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantDef2}} | {{#var: enchantDef2}} | ? }} <!-- def bonus this enchant --> |
− | {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} }} | ? }} <!-- total def bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} }} | ? }} <!-- total def bonus to this level --> |
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} 3 | + | {{!}} style="text-align: middle" {{!}} 3 |
{{#ifexpr: {{#var: showAtkEnchant}} != 0 | {{#ifexpr: {{#var: showAtkEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantAtk3}} | {{#var: enchantAtk3}} | ? }} <!-- atk bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantAtk3}} | {{#var: enchantAtk3}} | ? }} <!-- atk bonus this enchant --> |
− | {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} and {{#var: enchantAtk3}} | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} }} | ? }} <!-- total atk bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} and {{#var: enchantAtk3}} | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} }} | ? }} <!-- total atk bonus to this level --> |
}} | }} | ||
{{#ifexpr: {{#var: showDefEnchant}} != 0 | {{#ifexpr: {{#var: showDefEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantDef3}} | {{#var: enchantDef3}} | ? }} <!-- def bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantDef3}} | {{#var: enchantDef3}} | ? }} <!-- def bonus this enchant --> |
− | {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} and {{#var: enchantDef3}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} }} | ? }} <!-- total def bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} and {{#var: enchantDef3}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} }} | ? }} <!-- total def bonus to this level --> |
}} | }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} 4 | + | {{!}} style="text-align: middle" {{!}} 4 |
{{#ifexpr: {{#var: showAtkEnchant}} != 0 | {{#ifexpr: {{#var: showAtkEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantAtk4}} | {{#var: enchantAtk4}} | ? }} <!-- atk bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantAtk4}} | {{#var: enchantAtk4}} | ? }} <!-- atk bonus this enchant --> |
− | {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} and {{#var: enchantAtk3}} and {{#var: enchantAtk4}} | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} + {{#var: enchantAtk4}} }} | ? }} <!-- total atk bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} and {{#var: enchantAtk3}} and {{#var: enchantAtk4}} | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} + {{#var: enchantAtk4}} }} | ? }} <!-- total atk bonus to this level --> |
}} | }} | ||
{{#ifexpr: {{#var: showDefEnchant}} != 0 | {{#ifexpr: {{#var: showDefEnchant}} != 0 | ||
− | | {{!}} +{{#if: {{#var: enchantDef4}} | {{#var: enchantDef4}} | ? }} <!-- def bonus this enchant --> | + | | {{!}} style="text-align: middle" {{!}} +{{#if: {{#var: enchantDef4}} | {{#var: enchantDef4}} | ? }} <!-- def bonus this enchant --> |
− | {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} and {{#var: enchantDef3}} and {{#var: enchantDef4}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} + {{#var: enchantDef4}} }} | ? }} <!-- total def bonus to this level --> | + | {{!}} style="text-align: middle" {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} and {{#var: enchantDef3}} and {{#var: enchantDef4}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} + {{#var: enchantDef4}} }} | ? }} <!-- total def bonus to this level --> |
}} | }} | ||
{{!}}- | {{!}}- |
Revision as of 03:57, 12 August 2018
This template is designed for being used inside Template:InfoOverview. It adds information on equippable Items to the general info overview