Template:CraftProp: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(restoring to original; when links restored to individual pages, it broke the SOURCE display on the Crafting Materials table page)
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{|border="1" class="wikitable"
<includeonly>{|border="1" class="wikitable" style="text-align: center;"
{{#if:{{{type|}}}
{{#if:{{{type|}}}
|{{#switch:{{{type}}}
|{{#switch:{{{type}}}
Line 13: Line 13:
!Hardness!!Durability!!Workability!!Elect!!Thermal!!Physical!!Ductility!!Capacity!!Density!!Value<br />(Kronars/vol)!!Source[[crafting material type is::metal| ]]
!Hardness!!Durability!!Workability!!Elect!!Thermal!!Physical!!Ductility!!Capacity!!Density!!Value<br />(Kronars/vol)!!Source[[crafting material type is::metal| ]]
|s|stone=
|s|stone=
!Hardness!!Durability!!Workability!!Boulder Weight!!Boulder Value (Kronars)!!Source[[crafting material type is::stone| ]]
!Hardness!!Durability!!Workability!!Capacity!!Boulder Weight!!Density!!Boulder Value (Kronars)!!Source[[crafting material type is::stone| ]]
|w|wood=
|w|wood=
!Hardness!!Durability!!Workability!!Stiffness!!Bendability!!Shortbow<br />Affinity!!Longbow<br />Affinity!!Composite Bow<br />Affinity!!Density!!Value<br />(Kronars/piece)!!Source[[crafting material type is::wood| ]]
!Hardness!!Durability!!Workability!!Stiffness!!Physical!!Shortbow<br />Affinity!!Longbow<br />Affinity!!Composite Bow<br />Affinity!!Capacity!!Density!!Value<br />(Kronars/piece)!!Source[[crafting material type is::wood| ]]
}}
}}
{{!}}-
{{!}}-
{{#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}}}]]}}
{{#if:{{{hardness|}}}|{{#ifeq:{{{hardness|}}}|-||{{!}} align="center"{{!}} [[crafting hardness is::{{{hardness}}}]]}}|{{!}}-}}
{{!}}-
{{#if:{{{durability|}}}|{{#ifeq:{{{durability|}}}|-||{{!}} align="center"{{!}} [[crafting durability is::{{{durability}}}]]}}|{{!}}-}}
{{#if:{{{workability|}}}|{{#ifeq:{{{workability|}}}|-||{{!}} align="center"{{!}} [[crafting workability is::{{{workability}}}]]}}|{{!}}-}}
{{#if:{{{electrical|}}}|{{#ifeq:{{{electrical|}}}|-||{{!}} align="center"{{!}} [[crafting electrical resistance is::{{{electrical}}}]]}}|{{!}}-}}
{{#if:{{{thermal|}}}|{{#ifeq:{{{thermal|}}}|-||{{!}} align="center"{{!}} [[crafting thermal resistance is::{{{thermal}}}]]}}|{{!}}-}}
{{#if:{{{physical|}}}|{{#ifeq:{{{physical|}}}|-||{{!}} align="center"{{!}} [[crafting physical resistance is::{{{physical}}}]]}}|{{!}}-}}
{{#if:{{{ductility|}}}|{{#ifeq:{{{ductility|}}}|-||{{!}} align="center"{{!}} [[crafting ductility is::{{{ductility}}}]]}}|{{!}}-}}
{{#if:{{{stiffness|}}}|{{#ifeq:{{{stiffness|}}}|-||{{!}} align="center"{{!}} [[crafting stiffness is::{{{stiffness}}}]]}}|{{!}}-}}
{{#if:{{{shortbow|}}}|{{#ifeq:{{{shortbow|}}}|-||{{!}} align="center"{{!}} [[crafting shortbow affinity is::{{{shortbow}}}]]}}|{{!}}-}}
{{#if:{{{longbow|}}}|{{#ifeq:{{{longbow|}}}|-||{{!}} align="center"{{!}} [[crafting longbow affinity is::{{{longbow}}}]]}}|{{!}}-}}
{{#if:{{{composite|}}}|{{#ifeq:{{{composite|}}}|-||{{!}} align="center"{{!}} [[crafting composite bow affinity is::{{{composite}}}]]}}|{{!}}-}}
{{#if:{{{capacity|}}}|{{#ifeq:{{{capacity|}}}|-||{{!}} align="center"{{!}} [[crafting capacity is::{{{capacity}}}]]}}|{{!}}-}}
{{#if:{{{density|}}}|{{#ifeq:{{{density|}}}|-||{{!}} align="center"{{!}} [[crafting density is::{{{density}}}]]}}|{{!}}-}}
{{#if:{{{potency|}}}|{{#ifeq:{{{potency|}}}|-||{{!}} align="center"{{!}} [[crafting potency is::{{{potency}}}]]}}|{{!}}-}}
{{#if:{{{efficacy|}}}|{{#ifeq:{{{efficacy|}}}|-||{{!}} align="center"{{!}} [[crafting efficacy is::{{{efficacy}}}]]}}|{{!}}-}}
{{#if:{{{solubility|}}}|{{#ifeq:{{{solubility|}}}|-||{{!}} align="center"{{!}} [[crafting solubility is::{{{solubility}}}]]}}|{{!}}-}}
{{#if:{{{toxicity|}}}|{{#ifeq:{{{toxicity|}}}|-||{{!}} align="center"{{!}} [[crafting toxicity is::{{{toxicity}}}]]}}|{{!}}-}}
{{#if:{{{size|}}}|{{#ifeq:{{{size|}}}|-||{{!}} align="center"{{!}} [[crafting size is::{{{size}}}]]}}|{{!}}-}}
{{#if:{{{value|}}}|{{#ifeq:{{{value|}}}|-||{{!}} align="center"{{!}} [[crafting value is::{{{value}}}]]}}|{{!}}-}}
{{#if:{{{source|}}}|{{#ifeq:{{{source|}}}|-||{{!}} align="center"{{!}} [[crafting source is::{{{source}}}]]}}|{{!}}-}}
|{{#switch:{{{t}}}
|{{#switch:{{{t}}}
|a=
|a=
Line 98: Line 80:
{{!}} align="center"{{!}} {{#if:{{{11|}}}|[[crafting source is::{{{11}}}]]|}}{{#if:{{{11|}}}|{{!}}{{!}} align="center"{{!}} [[crafting notes are::{{{11}}}]]|}}
{{!}} align="center"{{!}} {{#if:{{{11|}}}|[[crafting source is::{{{11}}}]]|}}{{#if:{{{11|}}}|{{!}}{{!}} align="center"{{!}} [[crafting notes are::{{{11}}}]]|}}
|s=
|s=
!Hardness!!Durability!!Workability!!Boulder Weight!!Boulder Value (Kronars)!!Source{{#if:{{{7|}}}|{{!}}{{!}}Notes}}[[crafting material type is::stone| ]]
!Hardness!!Durability!!Workability!!Boulder Weight!!Density!!Boulder Value (Kronars)!!Source{{#if:{{{8|}}}|{{!}}{{!}}Notes}}[[crafting material type is::stone| ]]
{{!}}-
{{!}}-
{{!}} align="center"{{!}} {{#if:{{{1|}}}|[[crafting hardness is::{{{1}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{1|}}}|[[crafting hardness is::{{{1}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{2|}}}|[[crafting durability is::{{{2}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{2|}}}|[[crafting durability is::{{{2}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{3|}}}|[[crafting workability is::{{{3}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{3|}}}|[[crafting workability is::{{{3}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{4|}}}|[[crafting density is::{{{4}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{4|}}}|[[crafting weight is::{{{4}}}]]|?}}
{{!}} align="right" {{!}} {{#if:{{{5|}}}|[[crafting value is::{{{5}}} Kronars|{{{5}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{5|}}}|[[crafting density is::{{{5}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{6|}}}|[[crafting source is::{{{6}}}]]|}}{{#if:{{{7|}}}|{{!}}{{!}} align="center"{{!}} [[crafting notes are::{{{7}}}]]|}}
{{!}} align="right" {{!}} {{#if:{{{6|}}}|[[crafting value is::{{{6}}} Kronars|{{{6}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{7|}}}|[[crafting source is::{{{7}}}]]|}}{{#if:{{{8|}}}|{{!}}{{!}} align="center"{{!}} [[crafting notes are::{{{8}}}]]|}}
|w=
|w=
!Durability!!Workability!!Hardness!!Stiffness!!Bendability!!Shortbow<br />Affinity!!Longbow<br />Affinity!!Composite Bow<br />Affinity!!Density!!Value<br />(Kronars/piece)!!Source{{#if:{{{12|}}}|{{!}}{{!}}Notes}}[[crafting material type is::wood| ]]
!Durability!!Workability!!Hardness!!Stiffness!!Physical!!Shortbow<br />Affinity!!Longbow<br />Affinity!!Composite Bow<br />Affinity!!Density!!Value<br />(Kronars/piece)!!Source{{#if:{{{12|}}}|{{!}}{{!}}Notes}}[[crafting material type is::wood| ]]
{{!}}-
{{!}}-
{{!}} align="center"{{!}} {{#if:{{{1|}}}|[[crafting durability is::{{{1}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{1|}}}|[[crafting durability is::{{{1}}}]]|?}}
Line 122: Line 105:
}}
}}
}}
}}
|}{{#if:{{{r|}}}|{{#switch:{{{r}}}|-=|s=[[rarity is::special| ]]|vr=[[rarity is::very rare| ]]|r=[[rarity is::rare| ]]|u=[[rarity is::uncommon| ]]|[[rarity is::common| ]]}}|[[rarity is::common| ]]}}{{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|s|special=[[rarity is::special| ]]|vr|very rare=[[rarity is::very rare| ]]|r|rare=[[rarity is::rare| ]]|u|uncommon=[[rarity is::uncommon| ]]|[[rarity is::common| ]]}}|[[rarity is::common| ]]}}{{#if:{{{category|}}}|{{#switch:{{{category}}}|n|-=|{{Cat|Crafting materials}}}}|}}{{#if:{{{cat|}}}|{{#switch:{{{cat}}}|n|-=|{{Cat|Crafting materials}}}}|}}</includeonly><noinclude>{{RTOC}}
|}{{#if:{{{r|}}}|{{#switch:{{{r}}}|-=|s=[[rarity is::special| ]]|vr=[[rarity is::very rare| ]]|r=[[rarity is::rare| ]]|u=[[rarity is::uncommon| ]]|[[rarity is::common| ]]}}|}}{{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|s|special=[[rarity is::special| ]]|vr|very rare=[[rarity is::very rare| ]]|r|rare=[[rarity is::rare| ]]|u|uncommon=[[rarity is::uncommon| ]]|[[rarity is::common| ]]}}|}}{{#if:{{{category|}}}|{{#switch:{{{category}}}|n|-=|{{cat|crafting materials}}}}|}}{{#if:{{{cat|}}}|{{#switch:{{{cat}}}|n|-=|{{cat|crafting materials}}}}|{{cat|crafting materials}}}}
</includeonly><noinclude>{{RTOC}}
==Examples==
==Examples==
===Alchemy===
===Alchemy===
Line 149: Line 133:
|thermal=99
|thermal=99
|physical=99
|physical=99
|capacity=20
|density=3.0
|density=3.0
|size=4
|size=4
Line 168: Line 153:
|capacity=20
|capacity=20
|density=2.00, 2.25, 2.50, 2.75, 3.00
|density=2.00, 2.25, 2.50, 2.75, 3.00
|value=?
|source=-
|source=-
|rarity=common}}</nowiki></pre>
|rarity=common}}</nowiki></pre>
|}
|}
*No Value for cloth


===Leather===
===Leather===
Line 185: Line 170:
|density=3.80
|density=3.80
|size=4
|size=4
|value=?
|source=Granite gargoyle
|source=Granite gargoyle
|rarity=common}}</nowiki></pre>
|rarity=common}}</nowiki></pre>
|}
|}
* No Value for leather
* Source for leather should include the creature that can be skinned, when possible.
* Source for leather should include the creature that can be skinned, when possible.


Line 219: Line 204:
|<pre><nowiki>{{CraftProp
|<pre><nowiki>{{CraftProp
|type=stone
|type=stone
|hardness=30
|hardness=75
|durability=15
|durability=50
|workability=60
|workability=40
|capacity=20
|capacity=20
|weight=43,200
|density=40,000
|density=6.75
|value=277
|value=-
|source=metamorphic
|source=igneous
|rarity=common}}</nowiki></pre>
|rarity=common}}</nowiki></pre>
|}
|}
* Density should be the boulder weight.
* Density should be the boulder weight divided by 6400.
* Source for mined stone should include the rock type:
* Source for mined stone should include the rock type:
**alluvial
**alluvial
Line 261: Line 247:
**boreal, coniferous
**boreal, coniferous


==Attributes==
==Common attributes==
* In general, if you do not know the value of an attribute, use a "-".

===Type===
===Type===
The type of the crafting material. Possible values are:
The type of the crafting material. Possible values are:
Line 337: Line 325:
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.
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.


* "-" = none, the most common Source
* "-" = Source is auto-populated.


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


* auction = auction only
* auction = auction only
Line 356: Line 344:
* r = rare
* r = rare
* vr = very rare
* vr = very rare
* s = special
* s = special. Denote the Source for special rarity (e.g. Quest, Festival)


===Category===
===Category===

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 "-".