Template:CraftTemplate: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
A '''{{#if:{{{name|}}}
A '''{{#if:{{{name|}}}
|[[pretty name is::{{{name}}}| ]]
|[[pretty name is::{{{name}}}| ]]
|[[pretty name is::''<metal>'' {{{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=[[Armorsmithing Products|forged chain armor template]][[is combat type::Chain Armor| ]]
Line 31: Line 31:
|metal=[[Blacksmithing Products|blacksmithing metal tool]]
|metal=[[Blacksmithing Products|blacksmithing metal tool]]
}}
}}
|weapon=[[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=[[Weaponsmithing Products|metal weaponsmithing template]]
|stone=[[Carving Products|carved stone weapon template]]
|stone=[[Carving Products|carved stone weapon template]]

Revision as of 04:02, 27 December 2013

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