Template:Material: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(Trying to fix all crafting materials being lumped under 'M' in the category)
 
(29 intermediate revisions by 2 users not shown)
Line 12: Line 12:
{{!}} Innate Qualities {{!}}{{!}} align="center" {{!}} {{#switch:{{{quality|}}}|-|=|#default={{#arraymap:{{lc:{{{quality}}}}}|,|@@@@|[[has material property::@@@@|{{ucfirst:@@@@}}]]}}}}|}}|}}
{{!}} Innate Qualities {{!}}{{!}} align="center" {{!}} {{#switch:{{{quality|}}}|-|=|#default={{#arraymap:{{lc:{{{quality}}}}}|,|@@@@|[[has material property::@@@@|{{ucfirst:@@@@}}]]}}}}|}}|}}
|-
|-
| Rarity || align="center" | {{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|common=[[rarity is::common|Common]]|rare=[[rarity is::rare|Rare]]|quest-only=[[rarity is::quest|Quest-Only]]|auction-tier=[[rarity is::auction|Auction-Tier]]{{Cat|Auction-Tier Materials}}|simucon-only=[[rarity is::simucon|SimuCon-Only]]{{Cat|SimuCon Exclusive Materials}}|''Unknown''}}}}
| Rarity || align="center" | {{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|common=[[rarity is::common|Common]]|rare=[[rarity is::rare|Rare]]|quest-only=[[rarity is::quest|Quest-Only]]|auction-tier=[[rarity is::auction|Auction-Tier]]{{Cat|Auction-Tier Materials}}|simucon-only=[[rarity is::simucon|SimuCon-Only]]{{Cat|SimuCon Exclusive Materials}}|special=[[rarity is::special|Special]]|''Unknown''}}}}
|-
|-
| Cultural Relevance || {{IfMatch| none | {{{special}}} | true=align="center" {{!}} None}}{{IfMatch| dwarf style | {{{special}}} | true=*[[race association is::dwarf|Dwarves]][[has item property::Dwarf style| ]]{{Cat|Racial Materials}}}}{{IfMatch| elf style | {{{special}}} | true=*[[race association is::elf|Elves]][[has item property::Elf style| ]]{{Cat|Racial Materials}}}}{{IfMatch| elothean style | {{{special}}} | true=*[[race association is::elothean|Elotheans]][[has item property::Elothean style| ]]{{Cat|Racial Materials}}}}{{IfMatch| fae style | {{{special}}} | true=*[[race association is::fae|Fae]][[has item property::Fae style| ]]{{Cat|Racial Materials}}}}{{IfMatch| gnome style | {{{special}}} | true=*[[race association is::gnome|Gnomes]][[has item property::Gnome style| ]]{{Cat|Racial Materials}}}}{{IfMatch| gortog style | {{{special}}} | true=*[[race association is::gor'tog|Gor'Togs]][[has item property::Gor'Tog style| ]]{{Cat|Racial Materials}}}}{{IfMatch| halfling style | {{{special}}} | true=*[[race association is::halfling|Halflings]][[has item property::Halfling style| ]]{{Cat|Racial Materials}}}}{{IfMatch| human style | {{{special}}} | true=*[[race association is::human|Humans]][[has item property::Human style| ]]{{Cat|Racial Materials}}}}{{IfMatch| kaldar style | {{{special}}} | true=*[[race association is::kaldar|Kaldar]][[has item property::Kaldar style| ]]{{Cat|Racial Materials}}}}{{IfMatch| merelew style | {{{special}}} | true=*[[race association is::merelew|Merelew]][[has item property::Merelew style| ]]{{Cat|Racial Materials}}}}{{IfMatch| prydaen style | {{{special}}} | true=*[[race association is::prydaen|Prydaens]][[has item property::Prydaen style| ]]{{Cat|Racial Materials}}}}{{IfMatch| rakash style | {{{special}}} | true=*[[race association is::rakash|Rakash]][[has item property::Rakash style| ]]{{Cat|Racial Materials}}}}{{IfMatch| skra mur style | {{{special}}} | true=*[[race association is::s'kra mur|S'Kra Mur]][[has item property::S'kra Mur style| ]]{{Cat|Racial Materials}}}}{{IfMatch| barbarian style | {{{special}}} | true=*[[guild association is::Barbarian]]s[[has item property::Barbarian style| ]]{{Cat|Guild Materials}}}}{{IfMatch| bard style | {{{special}}} | true=*[[guild association is::Bard]]s[[has item property::Bard style| ]]{{Cat|Guild Materials}}}}{{IfMatch| cleric style | {{{special}}} | true=*[[guild association is::Cleric]]s[[has item property::Cleric style| ]]{{Cat|Guild Materials}}}}{{IfMatch| commoner style | {{{special}}} | true=*[[guild association is::Commoner]]s[[has item property::Commoner style| ]]{{Cat|Guild Materials}}}}{{IfMatch| empath style | {{{special}}} | true=*[[guild association is::Empath]]s[[has item property::Empath style| ]]{{Cat|Guild Materials}}}}{{IfMatch| moon mage style | {{{special}}} | true=*[[guild association is::Moon Mage]]s[[has item property::Moon Mage style| ]]{{Cat|Guild Materials}}}}{{IfMatch| necromancer style | {{{special}}} | true=*[[guild association is::Necromancer]]s[[has item property::Necromancer style| ]]{{Cat|Guild Materials}}}}{{IfMatch| paladin style | {{{special}}} | true=*[[guild association is::Paladin]]s[[has item property::Paladin style| ]]{{Cat|Guild Materials}}}}{{IfMatch| ranger style | {{{special}}} | true=*[[guild association is::Ranger]]s[[has item property::Ranger style| ]]{{Cat|Guild Materials}}}}{{IfMatch| thief style | {{{special}}} | true=*[[guild association is::Thief|Thieve]]s[[has item property::Thief style| ]]{{Cat|Guild Materials}}}}{{IfMatch| trader style | {{{special}}} | true=*[[guild association is::Trader]]s[[has item property::Trader style| ]]{{Cat|Guild Materials}}}}{{IfMatch| warrior mage style | {{{special}}} | true=*[[guild association is::Warrior Mage]]s[[has item property::Warrior Mage style| ]]{{Cat|Guild Materials}}}}{{IfMatch| immokokkon | {{{special}}} | true=*[[has item property::Immokokkon]] gem{{Cat|Immokokkon gems}}}}{{IfMatch| hollow eve | {{{special}}} | true=*[[has item property::Hollow Eve]] material{{Cat|Hollow Eve Materials}}}}
| Cultural Relevance || {{IfMatch| none | {{{special}}} | true=align="center" {{!}} None}}{{IfMatch| dwarf style | {{{special}}} | true=*[[race association is::dwarf|Dwarves]][[has item property::Dwarf style| ]]{{Cat|Racial Materials}}}}{{IfMatch| elf style | {{{special}}} | true=*[[race association is::elf|Elves]][[has item property::Elf style| ]]{{Cat|Racial Materials}}}}{{IfMatch| elothean style | {{{special}}} | true=*[[race association is::elothean|Elotheans]][[has item property::Elothean style| ]]{{Cat|Racial Materials}}}}{{IfMatch| fae style | {{{special}}} | true=*[[race association is::fae|Fae]][[has item property::Fae style| ]]{{Cat|Racial Materials}}}}{{IfMatch| gnome style | {{{special}}} | true=*[[race association is::gnome|Gnomes]][[has item property::Gnome style| ]]{{Cat|Racial Materials}}}}{{IfMatch| gortog style | {{{special}}} | true=*[[race association is::gor'tog|Gor'Togs]][[has item property::Gor'Tog style| ]]{{Cat|Racial Materials}}}}{{IfMatch| halfling style | {{{special}}} | true=*[[race association is::halfling|Halflings]][[has item property::Halfling style| ]]{{Cat|Racial Materials}}}}{{IfMatch| human style | {{{special}}} | true=*[[race association is::human|Humans]][[has item property::Human style| ]]{{Cat|Racial Materials}}}}{{IfMatch| kaldar style | {{{special}}} | true=*[[race association is::kaldar|Kaldar]][[has item property::Kaldar style| ]]{{Cat|Racial Materials}}}}{{IfMatch| merelew style | {{{special}}} | true=*[[race association is::merelew|Merelew]][[has item property::Merelew style| ]]{{Cat|Racial Materials}}}}{{IfMatch| prydaen style | {{{special}}} | true=*[[race association is::prydaen|Prydaens]][[has item property::Prydaen style| ]]{{Cat|Racial Materials}}}}{{IfMatch| rakash style | {{{special}}} | true=*[[race association is::rakash|Rakash]][[has item property::Rakash style| ]]{{Cat|Racial Materials}}}}{{IfMatch| skra mur style | {{{special}}} | true=*[[race association is::s'kra mur|S'Kra Mur]][[has item property::S'kra Mur style| ]]{{Cat|Racial Materials}}}}{{IfMatch| barbarian style | {{{special}}} | true=*[[guild association is::Barbarian]]s[[has item property::Barbarian style| ]]{{Cat|Guild Materials}}}}{{IfMatch| bard style | {{{special}}} | true=*[[guild association is::Bard]]s[[has item property::Bard style| ]]{{Cat|Guild Materials}}}}{{IfMatch| cleric style | {{{special}}} | true=*[[guild association is::Cleric]]s[[has item property::Cleric style| ]]{{Cat|Guild Materials}}}}{{IfMatch| commoner style | {{{special}}} | true=*[[guild association is::Commoner]]s[[has item property::Commoner style| ]]{{Cat|Guild Materials}}}}{{IfMatch| empath style | {{{special}}} | true=*[[guild association is::Empath]]s[[has item property::Empath style| ]]{{Cat|Guild Materials}}}}{{IfMatch| moon mage style | {{{special}}} | true=*[[guild association is::Moon Mage]]s[[has item property::Moon Mage style| ]]{{Cat|Guild Materials}}}}{{IfMatch| necromancer style | {{{special}}} | true=*[[guild association is::Necromancer]]s[[has item property::Necromancer style| ]]{{Cat|Guild Materials}}}}{{IfMatch| paladin style | {{{special}}} | true=*[[guild association is::Paladin]]s[[has item property::Paladin style| ]]{{Cat|Guild Materials}}}}{{IfMatch| ranger style | {{{special}}} | true=*[[guild association is::Ranger]]s[[has item property::Ranger style| ]]{{Cat|Guild Materials}}}}{{IfMatch| thief style | {{{special}}} | true=*[[guild association is::Thief|Thieve]]s[[has item property::Thief style| ]]{{Cat|Guild Materials}}}}{{IfMatch| trader style | {{{special}}} | true=*[[guild association is::Trader]]s[[has item property::Trader style| ]]{{Cat|Guild Materials}}}}{{IfMatch| warrior mage style | {{{special}}} | true=*[[guild association is::Warrior Mage]]s[[has item property::Warrior Mage style| ]]{{Cat|Guild Materials}}}}{{IfMatch| immokokkon | {{{special}}} | true=*[[has item property::Immokokkon]] gem{{Cat|Immokokkon gems}}}}{{IfMatch| hollow eve | {{{special}}} | true=*[[has item property::Hollow Eve]] material{{Cat|Hollow Eve Materials}}}}
|-
|-
| Required for Alterations || align="center" | {{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|common=[[provided for alterations::no|No]]|rare|quest-only|auction-tier|simucon-only={{#switch:{{lc:{{{noalt}}}}}|false|no=[[provided for alterations::yes|Yes]]|true|yes=[[provided for alterations::no|No]]|[[provided for alterations::yes|Yes]]}}|’’Unknown''}}|''Unknown''}} {{#if:{{{altrules|}}}|(additional rules)}}
| Required for Alterations || align="center" | {{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|common=[[provided for alterations::no|No]]|rare|quest-only|auction-tier|simucon-only|special={{#switch:{{lc:{{{noalt}}}}}|false|no=[[provided for alterations::yes|Yes]]|true|yes=[[provided for alterations::no|No]]|[[provided for alterations::yes|Yes]]}}|’’Unknown''}}|''Unknown''}} {{#if:{{{altrules|}}}|(additional rules)}}
|}
|}


Line 22: Line 22:


{{=}}{{=}}Alteration Rules{{=}}{{=}}
{{=}}{{=}}Alteration Rules{{=}}{{=}}
This material is {{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|common=not required|rare|quest-only|auction-tier|simucon-only={{#switch:{{lc:{{{noalt}}}}}|false|no=required|true|yes=not required|required}}|’’Unknown''}}|''possibly needed''}} for [[alteration]]s.
This material is {{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|-=|common=not required|rare|quest-only|auction-tier|simucon-only|special={{#switch:{{lc:{{{noalt}}}}}|false|no=required|true|yes=not required|required}}|’’Unknown''}}|''possibly needed''}} for [[alteration]]s.


{{#if:{{{altrules|}}}|{{#if:{{{altsum|}}}|[[alteration restriction notes::{{{altsum}}}| ]]|[[alteration restriction notes::Please see page for additional rules.| ]]}}{{{altrules}}}|}}
{{#if:{{{altrules|}}}|{{#if:{{{altsum|}}}|[[alteration restriction notes::{{{altsum}}}| ]]|[[alteration restriction notes::Please see page for additional rules.| ]]}}{{{altrules}}}|}}


{{#switch:{{lc:{{{crafting}}}}}|true|yes={{#switch:{{lc:{{{type}}}}}|bone|fabric|leather|metals|stone|woods={{=}}{{=}}Crafting Properties{{=}}{{=}}
{{#switch:{{lc:{{{crafting}}}}}|true|yes={{#switch:{{lc:{{{type}}}}}|bone|fabric|leather|metals|stone|woods={{=}}{{=}}Crafting Properties{{=}}{{=}}
This {{cat|crafting materials|material}} is a {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|metals=[[crafting material type is::metal]]|woods=[[crafting material type is::wood]]|[[crafting material type is::{{{type}}}]]}}|''Unknown''}} that can be used in [[crafting]].
This {{cat|crafting materials}} is a {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}|metals=[[crafting material type is::metal]]|woods=[[crafting material type is::wood]]|[[crafting material type is::{{{type}}}]]}}|''Unknown''}} that can be used in [[crafting]].


{{=}}{{=}}{{=}}Universal Properties{{=}}{{=}}{{=}}
{{=}}{{=}}{{=}}Universal Properties{{=}}{{=}}{{=}}
Line 104: Line 104:


{{=}}{{=}}Raw Material Sources{{=}}{{=}}
{{=}}{{=}}Raw Material Sources{{=}}{{=}}
{{#arraymap:{{#ask:[[source for::{{#if:{{{name|}}}|{{{name}}}|{{FULLPAGENAME}}}}]]|format=list|link=none}}|,|@@@@|[[@@@@]]{{#switch:{{lc:{{{crafting}}}}}|true|yes=[[crafting source is::@@@@| ]]}}}}
{{#arraymap:{{#ask:[[source for::{{#if:{{{name|}}}|{{{name}}}|{{FULLPAGENAME}}}}]]|format=list|link=subject}}|,|@@@@|@@@@|,\s|and\s}}
{{#switch:{{lc:{{{crafting}}}}}|true|yes={{#arraymap:{{#ask:[[source for::{{#if:{{{name|}}}|{{{name}}}|{{FULLPAGENAME}}}}]]|format=list|link=none}}|,|@@@@|[[crafting source is::@@@@| ]]|\s}}}}
{{#switch:{{lc:{{{crafting}}}}}|true|yes={{#if:{{{nsource|}}}|{{=}}{{=}}{{=}}Natural Sources{{=}}{{=}}{{=}}
{{#switch:{{lc:{{{crafting}}}}}|true|yes={{#if:{{{nsource|}}}|{{=}}{{=}}{{=}}Natural Sources{{=}}{{=}}{{=}}
{{#switch:{{{nsource|}}}|#default={{#arraymap:{{lc:{{{nsource}}}}}|,|@@@@|[[crafting source is::@@@@]]}}}}|}}
{{#switch:{{{nsource|}}}|#default={{#arraymap:{{lc:{{{nsource}}}}}|,|@@@@|[[crafting source is::@@@@]]}}}}|}}
Line 112: Line 113:


{{=}}{{=}}Items{{=}}{{=}}
{{=}}{{=}}Items{{=}}{{=}}
{{ASearch|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}{{#if:{{{altnames|}}}|+{{#arraymap:{{lc:{{{altnames}}}}}|,|@@@@|@@@@|+|\s}}}}}}
{{ASearch|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}{{#if:{{{altnames|}}}|+{{#arraymap:{{lc:{{{altnames}}}}}|,|@@@@|@@@@|+}}}}}}
{{RefAl}}
{{RefAl}}
{{Cat|Materials|}}
{{Cat|Materials}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Latest revision as of 10:01, 1 June 2025


Usage Documentation

This template is for use with materials found in the game.