Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 82: Line 82:
}} }}
}} }}
|-
|-

{{#switch: {{{potency}}} | -= | {{!}} '''Enchantment:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{potency|}}}|[[potency is number::{{GearProcess|{{{potency}}}|potency}}]]|''?''}} Potency, {{#if:{{{complexity|}}}|[[width is::{{{complexity}}}]]|''?''}} Complexity, {{#if:{{{precision |}}}|[[height is::{{{precision}}}]]|''?''}} Precision}}
{{#switch:{{{potency}}}|-=|'''Enchantment:''' {{!}}{{!}} {{#if:{{{potency|}}}|{{GearProcess|{{{potency}}}|potency is}}|''?''}}<br />}}
|-
{{#switch: {{{potency}}} | -= | {{!}} '''Enchantment:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{potency|}}}|[[potency is number::{{GearProcess|{{{potency}}}|potency is}}]]|''?''}} Potency, {{#if:{{{complexity|}}}|[[width is::{{{complexity}}}]]|''?''}} Complexity, {{#if:{{{precision |}}}|[[height is::{{{precision}}}]]|''?''}} Precision}}

|-
|-
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}

Revision as of 12:28, 7 September 2020

Essential Template
  • This template is so essential that it has been protected to prevent tampering.
  • If you have suggestions to extend its function or have observed bugs, please post to the discussion page.

This template is a display and categorization plug-in for other templates, including Template:Item, Template:Shield,Template:Armor, and Template:Weapon.

This is because several of the basic ones share features in addition to becoming too large.