Template:CraftTemplate: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(added material list)
Line 4: Line 4:
|[[pretty name is::''<{{{mat}}}>'' {{{itype}}}| ]]
|[[pretty name is::''<{{{mat}}}>'' {{{itype}}}| ]]
}}{{#arraymap:{{{itype}}}{{#if:{{{itype2|}}}|, {{{itype2}}}|}}|,|@@@@|[[item type is::@@@@| ]]|}}[[{{{itype}}}]][[noun is::{{#if:{{{noun|}}}|{{{noun|}}}|{{{itype|}}}}}| ]]''' is a {{#switch:{{{type|}}}
}}{{#arraymap:{{{itype}}}{{#if:{{{itype2|}}}|, {{{itype2}}}|}}|,|@@@@|[[item type is::@@@@| ]]|}}[[{{{itype}}}]][[noun is::{{#if:{{{noun|}}}|{{{noun|}}}|{{{itype|}}}}}| ]]''' is a {{#switch:{{{type|}}}
|chain=[[Armorsmithing Products|forged chain armor template]][[is combat type::Chain Armor| ]]
|chain=[[recipe material is::metal| ]][[Armorsmithing Products|forged chain armor template]][[is combat type::Chain Armor| ]]
|plate=[[Armorsmithing Products|forged plate armor template]][[is combat type::Plate Armor| ]]
|plate=[[recipe material is::metal| ]][[Armorsmithing Products|forged plate armor template]][[is combat type::Plate Armor| ]]
|brig|brigandine=[[Armorsmithing Products|forged brigandine armor template]][[is combat type::Brigandine Armor| ]]
|brig|brigandine=[[recipe material is::metal| ]][[Armorsmithing Products|forged brigandine armor template]][[is combat type::Brigandine Armor| ]]
|armor={{#switch:{{{mat|}}}
|armor={{#switch:{{{mat|}}}
|leather=[[Tailoring Products|tailored leather armor template]][[is combat type::Light Armor| ]]
|leather=[[recipe material is::leather| ]][[Tailoring Products|tailored leather armor template]][[is combat type::Light Armor| ]]
|cloth=[[Tailoring Products|tailored cloth armor template]][[is combat type::Light Armor| ]]
|cloth=[[recipe material is::cloth| ]][[Tailoring Products|tailored cloth armor template]][[is combat type::Light Armor| ]]
|bone=[[Carving Products|carved bone armor template]][[is combat type::Light Armor| ]]|
|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=[[Tailoring Products|small leather shield template]]
|leather=[[recipe material is::leather| ]][[Tailoring Products|small leather shield template]]
|metal=[[Armorsmithing Products|small metal shield template]]
|metal=[[recipe material is::metal| ]][[Armorsmithing Products|small metal shield template]]
|bone=[[Carving Products|small bone shield template]]
|bone=[[recipe material is::bone| ]][[Carving Products|small bone shield template]]
}}
}}
|ms=[[is combat type::Medium Shield| ]]{{#switch:{{{mat|}}}
|ms=[[is combat type::Medium Shield| ]]{{#switch:{{{mat|}}}
|leather=[[Tailoring Products|medium leather shield template]]
|leather=[[recipe material is::leather| ]][[Tailoring Products|medium leather shield template]]
|metal=[[Armorsmithing Products|medium metal shield template]]
|metal=[[recipe material is::metal| ]][[Armorsmithing Products|medium metal shield template]]
|bone=[[Carving Products|medium bone shield template]]
|bone=[[recipe material is::bone| ]][[Carving Products|medium bone shield template]]
}}
}}
|ls=[[is combat type::Large Shield| ]]{{#switch:{{{mat|}}}
|ls=[[is combat type::Large Shield| ]]{{#switch:{{{mat|}}}
|leather=[[Tailoring Products|large leather shield template]]
|leather=[[recipe material is::leather| ]][[Tailoring Products|large leather shield template]]
|metal=[[Armorsmithing Products|large metal shield template]]
|metal=[[recipe material is::metal| ]][[Armorsmithing Products|large metal shield template]]
|bone=[[Carving Products|large bone shield template]]
|bone=[[recipe material is::bone| ]][[Carving Products|large bone shield template]]
}}
}}
|tool={{#switch:{{{mat|}}}
|tool={{#switch:{{{mat|}}}
|stone|rock=[[Carving Products|carved stone tool template]]
|stone|rock=[[recipe material is::stone| ]][[Carving Products|carved stone tool template]]
|metal=[[Blacksmithing Products|blacksmithing metal tool]]
|metal=[[recipe material is::metal| ]][[Blacksmithing Products|blacksmithing metal 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=[[Weaponsmithing Products|metal weaponsmithing template]]
|metal=[[recipe material is::metal| ]][[Weaponsmithing Products|metal weaponsmithing template]]
|stone|rock=[[Carving Products|carved stone weapon template]]
|stone|rock=[[recipe material is::stone| ]][[Carving Products|carved stone weapon template]]
|bone=[[Carving Products|carved bone weapon template]]
|bone=[[recipe material is::bone| ]][[Carving Products|carved bone weapon template]]
}}
}}
|unknown type of template
|unknown type of template

Revision as of 06:11, 27 December 2013

A template for handling player created items. Documentation will be forthcoming.