Template:CraftTemplate: Difference between revisions
Jump to navigation
Jump to search
(updated to include artificing items) |
(Add leather reference to misc) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 37: | Line 37: | ||
|wood=[[recipe material is::wood| ]][[Shaping products|wood shaping template]] |
|wood=[[recipe material is::wood| ]][[Shaping products|wood shaping template]] |
||
|sigil=[[recipe material is::sigil| ]][[Artificing products|artificing template]] |
|sigil=[[recipe material is::sigil| ]][[Artificing products|artificing template]] |
||
|herb=[[recipe material is::herb| ]][[Remedies products|remedies template]] |
|||
|leather=[[recipe material is::leather| ]][[Tailoring products|tailoring template]] |
|||
}} |
}} |
||
|weapon={{#switch:{{{range}}}|-=|[[range is::{{{range|?}}}]]-range{{+}}}}{{#if:{{IfMatch2|{{{style|}}}|hands|feet|elbows|knees|parry}}|[[is combat type::{{ucfirst:{{{style|}}}}}]] [[is combat type::Brawling]]|{{#arraymap:{{#arraymaptemplate:{{{style|?}}}|SkillCode|,|,}}|,|@@@@|[[is combat type::@@@@]]|{{+}}/{{+}}}}}} {{#switch:{{{mat|}}} |
|weapon={{#switch:{{{range}}}|-=|[[range is::{{{range|?}}}]]-range{{+}}}}{{#if:{{IfMatch2|{{{style|}}}|hands|feet|elbows|knees|parry}}|[[is combat type::{{ucfirst:{{{style|}}}}}]] [[is combat type::Brawling]]|{{#arraymap:{{#arraymaptemplate:{{{style|?}}}|SkillCode|,|,}}|,|@@@@|[[is combat type::@@@@]]|{{+}}/{{+}}}}}} {{#switch:{{{mat|}}} |
||
Line 59: | Line 61: | ||
}}. |
}}. |
||
|[[rare item::false| ]] |
|[[rare item::false| ]] |
||
}}<br /><br />It is |
}}<br /><br />It is a '''[[recipe difficulty is::{{{dif|}}}|]] {{GearProcess|{{{dif|}}}|dif2}}''' template{{#if:{{{tech|}}} |
||
|, |
|, |
||
|{{+}}and |
|{{+}}and |
||
Line 70: | Line 72: | ||
|wood={{#if:{{{vol|}}}|[[recipe volume is::{{{vol|}}}]]|?}} pieces of wood |
|wood={{#if:{{{vol|}}}|[[recipe volume is::{{{vol|}}}]]|?}} pieces of wood |
||
|sigil={{#if:{{{vol|}}}|[[recipe volume is::{{{vol|}}}]]|?}} sigils {{#if:{{{matdetail|}}}|('''{{{matdetail}}}''')|?}} |
|sigil={{#if:{{{vol|}}}|[[recipe volume is::{{{vol|}}}]]|?}} sigils {{#if:{{{matdetail|}}}|('''{{{matdetail}}}''')|?}} |
||
|herb={{#if:{{{vol|}}}|[[recipe volume is::{{{vol|}}}]]|?}} volumes of herb {{#if:{{{matdetail|}}}|('''{{{matdetail}}}''')|?}} |
|||
|volumes of an unknown type of material |
|volumes of an unknown type of material |
||
}}{{#if:{{{tech|}}} |
}}{{#if:{{{tech|}}} |
||
Line 128: | Line 131: | ||
| noun || ''<text>'' || The noun of the item this template produces. |
| noun || ''<text>'' || The noun of the item this template produces. |
||
|- |
|- |
||
| mat || metal/stone/leather<br />/cloth/bone/sigil || The material that this template is expected to be made from. On sigil items, put number total needed then use "matdetail" to list them. |
| mat || metal/stone/leather<br />/cloth/bone/sigil/herb || The material that this template is expected to be made from. On sigil items, put number total needed then use "matdetail" to list them. On herb items, put total volume needed then use "matdetail" to list them. |
||
|- |
|- |
||
| matdetail || ''<text>'' || On sigil items, separate multiple with a comma (,). |
| matdetail || ''<text>'' || On sigil items, separate multiple with a comma (,). On herb items: (qty) <primary herb>, (qty) <secondary herb> |
||
|- |
|- |
||
| range || ''<range>'' || If this produces a weapon, the combat range of the weapon. |
| range || ''<range>'' || If this produces a weapon, the combat range of the weapon. |
Latest revision as of 15:09, 21 June 2023
A template for handling player created items.
Documentation
Property | Expected Value(s) |
Notes |
---|---|---|
name | blank/<text> | A property for setting the name of the template should it be different from the article name. |
noun | <text> | The noun of the item this template produces. |
mat | metal/stone/leather /cloth/bone/sigil/herb |
The material that this template is expected to be made from. On sigil items, put number total needed then use "matdetail" to list them. On herb items, put total volume needed then use "matdetail" to list them. |
matdetail | <text> | On sigil items, separate multiple with a comma (,). On herb items: (qty) <primary herb>, (qty) <secondary herb> |
range | <range> | If this produces a weapon, the combat range of the weapon. |
style | <type> | The combat type of the item produced. |
rare | blank/y | Whether this template requires special instructions to create. |
dif | <difficulty> | The difficulty of the template. |
vol | <#>/<stone size> | The amount of material required to make this item. |
vol2 | blank/<#> | A rare few templates produce products that weigh more or less than the material that went into them. Put the equivalent amount of material that it uses for final weight. |
tech | <technique> | The crafting technique relevant to this item. |
<first blank> | <#> | External length. |
<second blank> | <#> | External width. |
<third blank> | <#> | External height. |
<fourth blank> | <#> | Internal length. (not enabled yet) |
<fifth blank> | <#> | Internal width. (not enabled yet) |
<sixth blank> | <#> | Internal height. (not enabled yet) |
const | blank/s | Whether the item has the standard construction for its type (s), nor not (blank). |
book | <crafting book> | The crafting book that contains this template. |
ident1 | blank/<page name> | If this is identical to another item, list the actually page name here. |
ident2 | blank/<plain name> | If this is identical to another item, list the item's name here. |
race | blank/<race> | Any race this item might be specially styled for. |
note | <text> | Any special notes that need to show up in a table listing of the item. |
sub | blank/y | Whether or not this is a subpage for another crafting page. |
link | blank/<page name> | If a subpage, the name of the master page. |
Weapon Specific
Property | Expected Value(s) |
Notes |
---|---|---|
swap | blank/y | Whether the weapon produced is swappable. |
itype | <text> | The subtype of weapon, such as sword or battle axe. If it is a two word type, noun should be set as well. |
Armor Specific
Property | Expected Value(s) |
Notes |
---|---|---|
itype | chain/brig/plate/armor ss/ms/ls |
The type of item this template produces. Use "armor" for all other types. The type of shield produced. Small Shield, Medium Shield, or Large Shield. |
type | <type>/armor | If metal armor, the specific type of metal armor. Use "armor" for non-metal armors. |
prot | blank/<area>, <area2>... |
Areas protected by the product. |