Template:Material: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(46 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" cellpadding="2" style="float:right; margin: 0em 0em 1em 2em; border-spacing:1px;"
{| class="wikitable" cellpadding="2" style="float:right; margin: 0em 0em 1em 2em; width:500px; border-spacing:1px;"
|-
|-
! colspan="3" | {{#if:{{{name|}}}|'''{{{name}}}'''|{{PAGENAME}}}} at a Glance
! colspan="3" | {{#if:{{{name|}}}|'''{{{name}}}'''|{{PAGENAME}}}} at a Glance
Line 14: Line 14:
| 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}}|''Unknown''}}}}
|-
|-
| Cultural Relevance || {{#if: {{{special|}}}|{{IfMatch| none | {{{special}}} | true=align="center" {{!}} None}}}}{{#if: {{{special|}}}|{{IfMatch| dwarf style | {{{special}}} | true=*[[race association is::dwarf|Dwarves]][[has item property::Dwarf style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| elf style | {{{special}}} | true=*[[race association is::elf|Elves]][[has item property::Elf style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| elothean style | {{{special}}} | true=*[[race association is::elothean|Elotheans]][[has item property::Elothean style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| fae style | {{{special}}} | true=*[[race association is::fae|Fae]][[has item property::Fae style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| gnome style | {{{special}}} | true=*[[race association is::gnome|Gnomes]][[has item property::Gnome style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| gortog style | {{{special}}} | true=*[[race association is::gor'tog|Gor'Togs]][[has item property::Gor'Tog style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| halfling style | {{{special}}} | true=*[[race association is::halfling|Halflings]][[has item property::Halfling style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| human style | {{{special}}} | true=*[[race association is::human|Humans]][[has item property::Human style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| kaldar style | {{{special}}} | true=*[[race association is::kaldar|Kaldar]][[has item property::Kaldar style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| merelew style | {{{special}}} | true=*[[race association is::merelew|Merelew]][[has item property::Merelew style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| prydaen style | {{{special}}} | true=*[[race association is::prydaen|Prydaens]][[has item property::Prydaen style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| rakash style | {{{special}}} | true=*[[race association is::rakash|Rakash]][[has item property::Rakash style| ]]{{Cat|Racial Materials}}}}}}{{#if: {{{special|}}}|{{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}}}}}}{{#if: {{{special|}}}|{{IfMatch| barbarian style | {{{special}}} | true=*[[guild association is::Barbarian]]s[[has item property::Barbarian style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| bard style | {{{special}}} | true=*[[guild association is::Bard]]s[[has item property::Bard style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| cleric style | {{{special}}} | true=*[[guild association is::Cleric]]s[[has item property::Cleric style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| commoner style | {{{special}}} | true=*[[guild association is::Commoner]]s[[has item property::Commoner style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| empath style | {{{special}}} | true=*[[guild association is::Empath]]s[[has item property::Empath style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| moon mage style | {{{special}}} | true=*[[guild association is::Moon Mage]]s[[has item property::Moon Mage style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| necromancer style | {{{special}}} | true=*[[guild association is::Necromancer]]s[[has item property::Necromancer style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| paladin style | {{{special}}} | true=*[[guild association is::Paladin]]s[[has item property::Paladin style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| ranger style | {{{special}}} | true=*[[guild association is::Ranger]]s[[has item property::Ranger style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| thief style | {{{special}}} | true=*[[guild association is::Thief|Thieve]]s[[has item property::Thief style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| trader style | {{{special}}} | true=*[[guild association is::Trader]]s[[has item property::Trader style| ]]{{Cat|Guild Materials}}}}}}{{#if: {{{special|}}}|{{IfMatch| warrior mage style | {{{special}}} | true=*[[guild association is::Warrior Mage]]s[[has item property::Warrior Mage style| ]]{{Cat|Guild Materials}}}}| align="center" {{!}} ''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}}}}
|-
|-
| 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={{#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 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::@@@@]]}}}}|}}

Latest revision as of 13:07, 22 December 2023


Usage Documentation

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