Template:CraftProp: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(restoring to original; when links restored to individual pages, it broke the SOURCE display on the Crafting Materials table page)
 
(5 intermediate revisions by the same user not shown)
Line 18: Line 18:
}}
}}
{{!}}-
{{!}}-
{{#if:{{{hardness|}}}|{{!}}{{!}}{{#ifeq:{{{hardness|}}}|-||[[crafting hardness is::{{{hardness}}}]]}}|}}{{#if:{{{durability|}}}|{{!}}{{!}}{{#ifeq:{{{durability|}}} |-||[[crafting durability is::{{{durability}}}]]}}|}}{{#if:{{{workability|}}}|{{!}}{{!}}{{#ifeq:{{{workability|}}}|-||[[crafting workability is::{{{workability}}}]]}}|}}{{#if:{{{electrical|}}}|{{!}}{{!}}{{#ifeq:{{{electrical|}}} |-||[[crafting electrical resistance is::{{{electrical}}}]]}}|}}{{#if:{{{thermal|}}}|{{!}}{{!}}{{#ifeq:{{{thermal|}}}|-||[[crafting thermal resistance is::{{{thermal}}}]]}}|}}{{#if:{{{stiffness|}}}|{{!}}{{!}}{{#ifeq:{{{stiffness|}}}|-||[[crafting stiffness is::{{{stiffness}}}]]}}|}}{{#if:{{{physical|}}}|{{!}}{{!}}{{#ifeq:{{{physical|}}}|-||[[crafting physical resistance is::{{{physical}}}]]}}|}}{{#if:{{{ductility|}}}|{{!}}{{!}}{{#ifeq:{{{ductility|}}}|-||[[crafting ductility is::{{{ductility}}}]]}}|}}{{#if:{{{shortbow|}}}|{{!}}{{!}}{{#ifeq:{{{shortbow|}}}|-||[[crafting shortbow affinity is::{{{shortbow}}}]]}}|}}{{#if:{{{longbow|}}}|{{!}}{{!}}{{#ifeq:{{{longbow|}}}|-||[[crafting longbow affinity is::{{{longbow}}}]]}}|}}{{#if:{{{composite|}}}|{{!}}{{!}}{{#ifeq:{{{composite|}}}|-||[[crafting composite bow affinity is::{{{composite}}}]]}}|}}{{#if:{{{capacity|}}}|{{!}}{{!}}{{#ifeq:{{{capacity|}}}|-||[[crafting capacity is::{{{capacity}}}]]}}|}}{{#if:{{{weight|}}}|{{!}}{{!}}{{#ifeq:{{{weight|}}}|-||[[crafting weight is::{{{weight}}}]]}}|}}{{#if:{{{density|}}}|{{!}}{{!}}{{#ifeq:{{{density|}}}|-||[[crafting density is::{{{density}}}]]}}|}}{{#if:{{{potency|}}}|{{!}}{{!}}{{#ifeq:{{{potency|}}}|-||[[crafting potency is::{{{potency}}}]]}}|}}{{#if:{{{efficacy|}}}|{{!}}{{!}}{{#ifeq:{{{efficacy|}}}|-||[[crafting efficacy is::{{{efficacy}}}]]}}|}}{{#if:{{{solubility|}}}|{{!}}{{!}}{{#ifeq:{{{solubility|}}} |-||[[crafting solubility is::{{{solubility}}}]]}}|}}{{#if:{{{toxicity|}}}|{{!}}{{!}}{{#ifeq:{{{toxicity|}}}|-||[[crafting toxicity is::{{{toxicity}}}]]}}|}}{{#if:{{{size|}}}|{{!}}{{!}}{{#ifeq:{{{size|}}}|-||[[crafting size is::{{{size}}}]]}}|}}{{#if:{{{value|}}}|{{!}}{{!}}{{#ifeq:{{{value|}}}|-||[[crafting value is::{{{value}}}]]}}|}}{{!}}{{!}}{{#switch:{{{source|}}}|-={{#arraymap:{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list}}|,|@@@@|[[@@@@]]}}|=?|[[crafting source is::{{{source}}}]]}}
{{#if:{{{hardness|}}}|{{!}}{{!}}{{#ifeq:{{{hardness|}}}|-||[[crafting hardness is::{{{hardness}}}]]}}|}}{{#if:{{{durability|}}}|{{!}}{{!}}{{#ifeq:{{{durability|}}} |-||[[crafting durability is::{{{durability}}}]]}}|}}{{#if:{{{workability|}}}|{{!}}{{!}}{{#ifeq:{{{workability|}}}|-||[[crafting workability is::{{{workability}}}]]}}|}}{{#if:{{{electrical|}}}|{{!}}{{!}}{{#ifeq:{{{electrical|}}} |-||[[crafting electrical resistance is::{{{electrical}}}]]}}|}}{{#if:{{{thermal|}}}|{{!}}{{!}}{{#ifeq:{{{thermal|}}}|-||[[crafting thermal resistance is::{{{thermal}}}]]}}|}}{{#if:{{{stiffness|}}}|{{!}}{{!}}{{#ifeq:{{{stiffness|}}}|-||[[crafting stiffness is::{{{stiffness}}}]]}}|}}{{#if:{{{physical|}}}|{{!}}{{!}}{{#ifeq:{{{physical|}}}|-||[[crafting physical resistance is::{{{physical}}}]]}}|}}{{#if:{{{ductility|}}}|{{!}}{{!}}{{#ifeq:{{{ductility|}}}|-||[[crafting ductility is::{{{ductility}}}]]}}|}}{{#if:{{{shortbow|}}}|{{!}}{{!}}{{#ifeq:{{{shortbow|}}}|-||[[crafting shortbow affinity is::{{{shortbow}}}]]}}|}}{{#if:{{{longbow|}}}|{{!}}{{!}}{{#ifeq:{{{longbow|}}}|-||[[crafting longbow affinity is::{{{longbow}}}]]}}|}}{{#if:{{{composite|}}}|{{!}}{{!}}{{#ifeq:{{{composite|}}}|-||[[crafting composite bow affinity is::{{{composite}}}]]}}|}}{{#if:{{{capacity|}}}|{{!}}{{!}}{{#ifeq:{{{capacity|}}}|-||[[crafting capacity is::{{{capacity}}}]]}}|}}{{#if:{{{weight|}}}|{{!}}{{!}}{{#ifeq:{{{weight|}}}|-||[[crafting weight is::{{{weight}}}]]}}|}}{{#if:{{{density|}}}|{{!}}{{!}}{{#ifeq:{{{density|}}}|-||[[crafting density is::{{{density}}}]]}}|}}{{#if:{{{potency|}}}|{{!}}{{!}}{{#ifeq:{{{potency|}}}|-||[[crafting potency is::{{{potency}}}]]}}|}}{{#if:{{{efficacy|}}}|{{!}}{{!}}{{#ifeq:{{{efficacy|}}}|-||[[crafting efficacy is::{{{efficacy}}}]]}}|}}{{#if:{{{solubility|}}}|{{!}}{{!}}{{#ifeq:{{{solubility|}}} |-||[[crafting solubility is::{{{solubility}}}]]}}|}}{{#if:{{{toxicity|}}}|{{!}}{{!}}{{#ifeq:{{{toxicity|}}}|-||[[crafting toxicity is::{{{toxicity}}}]]}}|}}{{#if:{{{size|}}}|{{!}}{{!}}{{#ifeq:{{{size|}}}|-||[[crafting size is::{{{size}}}]]}}|}}{{#if:{{{value|}}}|{{!}}{{!}}{{#ifeq:{{{value|}}}|-||[[crafting value is::{{{value}}}]]}}|}}{{!}}{{!}}{{#switch:{{{source|}}}|-={{#arraymap:{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=none}}|,|@@@@|[[crafting source is::@@@@]]}}|=?|[[crafting source is::{{{source}}}]]}}
{{!}}-
{{!}}-
|{{#switch:{{{t}}}
|{{#switch:{{{t}}}

Latest revision as of 21:30, 26 June 2020

Examples

Alchemy

{{CraftProp
|type=alchemy
|workability=99
|potency=99
|efficacy=99
|solubility=99
|toxicity=99
|value=1,000
|source=-
|rarity=common}}
  • If the catalyst is a metal, see the Metal Source note below

Bone

{{CraftProp
|type=bone
|hardness=110
|durability=99
|workability=99
|electrical=99
|thermal=99
|physical=99
|capacity=20
|density=3.0
|size=4
|value=400
|source=Ship rat
|rarity=common}}
  • Source for bone should include the creature that can be skinned, when possible.

Cloth

{{CraftProp
|type=cloth
|durability=60
|workability=20
|electrical=35
|thermal=50
|physical=85
|capacity=20
|density=2.00, 2.25, 2.50, 2.75, 3.00
|source=-
|rarity=common}}
  • No Value for cloth

Leather

{{CraftProp
|type=leather
|durability=60
|workability=50
|electrical=50
|thermal=35
|physical=85
|capacity=20
|density=3.80
|size=4
|source=Granite gargoyle
|rarity=common}}
  • No Value for leather
  • Source for leather should include the creature that can be skinned, when possible.

Metal

{{CraftProp
|type=metal
|hardness=85
|durability=80
|workability=95
|electrical=40
|thermal=80
|physical=94
|ductility=90
|capacity=12
|density=5.2
|value=20,625
|source=-
|rarity=special}}
  • Source for mined metal should include the rock type:
    • alluvial
    • igneous
    • metamorphic
    • sedimentary
    • igneous, metamorphic, sedimentary

Stone

{{CraftProp
|type=stone
|hardness=75
|durability=50
|workability=40
|capacity=20
|weight=43,200
|density=6.75
|value=-
|source=igneous
|rarity=common}}
  • Density should be the boulder weight divided by 6400.
  • Source for mined stone should include the rock type:
    • alluvial
    • igneous
    • metamorphic
    • sedimentary
    • igneous, metamorphic, sedimentary

Wood

{{CraftProp
|type=wood
|durability=60
|workability=35
|hardness=20
|stiffness=64
|physical=64
|capacity=60
|shortbow=15
|longbow=10
|composite=18
|density=4.4
|value=301
|source=boreal
|rarity=uncommon}}
  • Source for lumberjacked wood should include the forest type:
    • boreal
    • coniferous
    • deciduous
    • tropical
    • boreal, coniferous

Attributes

  • In general, if you do not know the value of an attribute, use a "-".

Type

The type of the crafting material. Possible values are:

  • alchemy
  • bone
  • cloth
  • leather
  • metal
  • stone
  • wood

Hardness

The numerical hardness of the material. Used with bone, metal, stone, and wood materials.

Durability

The numerical durability of the material. Used with all crafting materials.

Workability

The numerical workability of the material. Used with all crafting materials.

Electrical

The numerical electrical resistance of the material. Used with bone, cloth, leather, and metal materials.

Thermal

The numerical thermal resistance of the material. Used with bone, cloth, leather, and metal materials.

Physical

The numerical physical resistance of the material. Used with bone, cloth, leather, and metal materials.

Ductility

The numerical ductility of the material. Used with metal materials

Stiffness

The numerical stiffness of the material. Used with wood materials.

Shortbow

The numerical shortbow affinity of the material. Used with wood materials.

Longbow

The numerical longbow affinity of the material. Used with wood materials.

Composite

The numerical composite bow affinity of the material. Used with wood materials.

Capacity

The numerical capacity of the material. Used with bone, cloth, leather, metal, stone, and wood materials.

Density

The numerical density of the material. Used with bone, cloth, leather, metal, stone, and wood materials.

Note: There is a special calculation required for wood density.

Potency

The numerical potency of the material. Used with alchemy materials.

Efficacy

The numerical efficacy of the material. Used with alchemy materials.

Solubility

The numerical solubility of the material. Used with alchemy materials.

Toxicity

The numerical toxicity of the material. Used with alchemy materials.

Size

Deprecated. The numerical size (number of pieces) contained within an item. Used with bone and leather materials.

Value

The numerical value in Kronars for a 99 quality volume of the material. Used with all crafting materials.

Value is calculated by dividing the appraised price in Kronars and dividing by the number of volumes of the material. Make sure to follow the Elanthipedia standard of putting commas in the values. For example, "75,000".

Source

This property is optionally used to describe the material's source. The most common value would include "-" (none). For leather you should indicate the skinned creature as a source, and for metal or stone you should indicate the rock formation type.

  • "-" = Source is auto-populated.

In the case of a special rarity avoid ambiguous source such as "Unique". Instead use "Quest", "Festival", "Auction" or combination.

  • auction = auction only
  • festival = festival specific materials such as smokewood sold at Hollow Eve
  • quest = quest only, including microtrans quests

Combined terms should be a comma separated list in alphabetical order, for example, "Auction, Festival".

  • auction, quest

Rarity

The rarity of the crafting material. Used with all crafting materials. Possible values include:

  • c = common
  • u = uncommon
  • r = rare
  • vr = very rare
  • s = special

Category

This template automatically includes the article in Category:Crafting materials, unless category= is set to "-".