Template:CraftTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{RTOC}} |
<includeonly>{{RTOC}} |
||
A '''{{#if:{{{name|}}}|[[pretty name is::{{{name}}}| ]]|[[pretty name is::''<{{{mat}}}>'' {{{itype}}}| ]]}}{{#switch:{{{sub}}}|true=|#default={{#arraymap:{{{itype}}}{{#if:{{{itype2|}}}|, {{{itype2}}}|}}|,|@@@@|[[item type is::@@@@| ]]|}}[[noun is::{{#if:{{{noun|}}}|{{{noun|}}}|{{{itype|}}}}}| ]]}}[[{{{itype}}}]]''' is a {{#switch:{{{type|}}} |
A '''{{#if:{{{name|}}}|[[pretty name is::{{{name}}}| ]]|[[pretty name is::''<{{{mat}}}>'' {{{itype}}}| ]]}}{{#switch:{{{sub}}}|true=|#default={{#arraymap:{{{itype}}}{{#if:{{{itype2|}}}|, {{{itype2}}}|}}|,|@@@@|[[item type is::@@@@| ]]|}}[[noun is::{{#if:{{{noun|}}}|{{{noun|}}}|{{{itype|}}}}}| ]]}}[[{{{itype}}}]]''' is a {{#switch:{{{type|}}} |
||
|chain=[[recipe material is::metal| ]][[Armorsmithing |
|chain=[[recipe material is::metal| ]][[Armorsmithing products|forged chain armor template]][[is combat type::Chain Armor| ]] |
||
|plate=[[recipe material is::metal| ]][[Armorsmithing |
|plate=[[recipe material is::metal| ]][[Armorsmithing products|forged plate armor template]][[is combat type::Plate Armor| ]] |
||
|brig|brigandine=[[recipe material is::metal| ]][[Armorsmithing |
|brig|brigandine=[[recipe material is::metal| ]][[Armorsmithing products|forged brigandine armor template]][[is combat type::Brigandine Armor| ]] |
||
|armor={{#switch:{{{mat|}}} |
|armor={{#switch:{{{mat|}}} |
||
|leather=[[recipe material is::leather| ]][[Tailoring |
|leather=[[recipe material is::leather| ]][[Tailoring products|tailored leather armor template]][[is combat type::Light Armor| ]] |
||
|cloth=[[recipe material is::cloth| ]][[Tailoring |
|cloth=[[recipe material is::cloth| ]][[Tailoring products|tailored cloth armor template]][[is combat type::Light Armor| ]] |
||
|bone=[[recipe material is::bone| ]][[Carving |
|bone=[[recipe material is::bone| ]][[Carving products|carved bone armor template]][[is combat type::Light Armor| ]]| |
||
}} |
}} |
||
|ss=[[is combat type::Small Shield| ]]{{#switch:{{{mat|}}} |
|ss=[[is combat type::Small Shield| ]]{{#switch:{{{mat|}}} |
||
|leather=[[recipe material is::leather| ]][[Tailoring |
|leather=[[recipe material is::leather| ]][[Tailoring products|small leather shield template]] |
||
|metal=[[recipe material is::metal| ]][[Armorsmithing |
|metal=[[recipe material is::metal| ]][[Armorsmithing products|small metal shield template]] |
||
|bone=[[recipe material is::bone| ]][[Carving |
|bone=[[recipe material is::bone| ]][[Carving products|small bone shield template]] |
||
|wood=[[recipe material is::wood| ]][[Shaping |
|wood=[[recipe material is::wood| ]][[Shaping products|small wood shield template]] |
||
}} |
}} |
||
|ms=[[is combat type::Medium Shield| ]]{{#switch:{{{mat|}}} |
|ms=[[is combat type::Medium Shield| ]]{{#switch:{{{mat|}}} |
||
|leather=[[recipe material is::leather| ]][[Tailoring |
|leather=[[recipe material is::leather| ]][[Tailoring products|medium leather shield template]] |
||
|metal=[[recipe material is::metal| ]][[Armorsmithing |
|metal=[[recipe material is::metal| ]][[Armorsmithing products|medium metal shield template]] |
||
|bone=[[recipe material is::bone| ]][[Carving |
|bone=[[recipe material is::bone| ]][[Carving products|medium bone shield template]] |
||
|wood=[[recipe material is::wood| ]][[Shaping |
|wood=[[recipe material is::wood| ]][[Shaping products|medium wood shield template]] |
||
}} |
}} |
||
|ls=[[is combat type::Large Shield| ]]{{#switch:{{{mat|}}} |
|ls=[[is combat type::Large Shield| ]]{{#switch:{{{mat|}}} |
||
|leather=[[recipe material is::leather| ]][[Tailoring |
|leather=[[recipe material is::leather| ]][[Tailoring products|large leather shield template]] |
||
|metal=[[recipe material is::metal| ]][[Armorsmithing |
|metal=[[recipe material is::metal| ]][[Armorsmithing products|large metal shield template]] |
||
|bone=[[recipe material is::bone| ]][[Carving |
|bone=[[recipe material is::bone| ]][[Carving products|large bone shield template]] |
||
|wood=[[recipe material is::wood| ]][[Shaping |
|wood=[[recipe material is::wood| ]][[Shaping products|large wood shield template]] |
||
}} |
}} |
||
|tool={{#switch:{{{mat|}}} |
|tool={{#switch:{{{mat|}}} |
||
|stone|rock=[[recipe material is::stone| ]][[Carving |
|stone|rock=[[recipe material is::stone| ]][[Carving products|carved stone tool template]] |
||
|metal=[[recipe material is::metal| ]][[Blacksmithing |
|metal=[[recipe material is::metal| ]][[Blacksmithing products|blacksmithing metal tool]] |
||
|wood=[[recipe material is::wood| ]][[Shaping |
|wood=[[recipe material is::wood| ]][[Shaping products|shaped wood tool template]] |
||
}} |
}} |
||
|misc={{#switch:{{{mat|}}} |
|misc={{#switch:{{{mat|}}} |
||
|stone|rock=[[recipe material is::stone| ]][[Carving |
|stone|rock=[[recipe material is::stone| ]][[Carving products|miscellaneous carved stone template]] |
||
|metal=[[recipe material is::metal| ]][[Blacksmithing |
|metal=[[recipe material is::metal| ]][[Blacksmithing products|miscellaneous metal tool]] |
||
|wood=[[recipe material is::wood| ]][[Shaping |
|wood=[[recipe material is::wood| ]][[Shaping products|miscellaneous wood tool]] |
||
}} |
}} |
||
|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|}}} |
||
|metal=[[recipe material is::metal| ]][[{{#if:{{{craft|}}}|{{{craft}}}|Weaponsmithing}} |
|metal=[[recipe material is::metal| ]][[{{#if:{{{craft|}}}|{{{craft}}}|Weaponsmithing}} products|metal {{#if:{{{craft|}}}|{{lc:{{{craft}}}}}|weaponsmithing}} template]] |
||
|stone|rock=[[recipe material is::stone| ]][[Carving |
|stone|rock=[[recipe material is::stone| ]][[Carving products|carved stone weapon template]] |
||
|bone=[[recipe material is::bone| ]][[Carving |
|bone=[[recipe material is::bone| ]][[Carving products|carved bone weapon template]] |
||
|wood=[[recipe material is::wood| ]][[Shaping |
|wood=[[recipe material is::wood| ]][[Shaping products|shaped wood weapon template]] |
||
}} |
}} |
||
|ammo={{#switch:{{{style|}}} |
|ammo={{#switch:{{{style|}}} |
||
|arrow=[[recipe material is::wood| ]][[is combat type::arrow| ]][[Shaping |
|arrow=[[recipe material is::wood| ]][[is combat type::arrow| ]][[Shaping products|shaped wood arrow]] |
||
|bolt=[[recipe material is::metal| ]][[is combat type::bolt| ]][[Tinkering |
|bolt=[[recipe material is::metal| ]][[is combat type::bolt| ]][[Tinkering products|tinkering bolt template]] |
||
|rock=[[recipe material is::stone| ]][[is combat type::rock| ]][[Carving |
|rock=[[recipe material is::stone| ]][[is combat type::rock| ]][[Carving products|carved stone rock]] |
||
}} |
}} |
||
|unknown type of template |
|unknown type of template |
Revision as of 00:27, 19 June 2015
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 |
The material that this template is expected to be made from. |
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. |