Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) (Undo revision 582500 by TEVESHSZAT (talk)) |
TEVESHSZAT (talk | contribs) No edit summary |
||
Line 96: | Line 96: | ||
{{#if:{{{glamour|}}}|{{!}} '''Glamour:''' {{!}}{{!}} {{#if:{{{glamour|}}}|[[glamour is::{{{glamour}}}]]}} {{#if:{{{gdecoration|}}}|([[gdecoration is::{{{gdecoration}}}]])}}}} |
{{#if:{{{glamour|}}}|{{!}} '''Glamour:''' {{!}}{{!}} {{#if:{{{glamour|}}}|[[glamour is::{{{glamour}}}]]}} {{#if:{{{gdecoration|}}}|([[gdecoration is::{{{gdecoration}}}]])}}}} |
||
|- |
|- |
||
{{#if:{{{ttype|}}}|{{!}} '''Tool Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{tquality|}}}|[[quality is::{{{tquality}}}]] ([[quality is number::{{GearProcess|{{{tquality}}}|quality}}]]/12)|''?''}} quality<br/>{{#if:{{{tdurability|}}}|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)|''?''}} durability<br/>{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{Cat|Crafting tools}}}} |
{{#if:{{{ttype|}}}|{{!}} '''Tool Properties:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} {{#if:{{{ttype|}}}|{{#switch:{{{ttype}}} | n | -= | This item is a {{#arraymap:{{{ttype}}}|,|@@@@|{{#switch:{{lc:@@@@}}|[[tool type is::{{ucfirst:@@@@}}]]s}}| and }}.}} | }} with: {{#if:{{{tquality|}}}|[[quality is::{{{tquality}}}]] ([[quality is number::{{GearProcess|{{{tquality}}}|quality}}]]/12)|''?''}} quality<br/>{{#if:{{{tdurability|}}}|[[construction is::{{{tdurability}}}]] ([[construction is number::{{GearProcess|{{{tdurability}}}|construction}}]]/18)|''?''}} durability<br/>{{#if:{{{tspeed|}}}|[[speed is::{{{tspeed}}}]] ([[speed is number::{{GearProcess|{{{tspeed}}}|speed}}]]/11)|''?''}} speed<br/>{{Cat|Crafting tools}}}} |
||
|- |
|- |
||
{{#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 19:03, 30 January 2022
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.