Template:Material: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
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=none}}|,|@@@@|[[test]] [[@@@@]]{{#switch:{{lc:{{{crafting}}}}}|true|yes=[[crafting source is::@@@@| ]]}}}}
{{#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::@@@@]]}}}}|}}

Revision as of 10:57, 22 December 2023


Usage Documentation

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