Template:Material: Difference between revisions
Jump to navigation
Jump to search
(Testing a fix for apostrophes in material/symbol when matching against altname) |
(Trying to fix all crafting materials being lumped under 'M' in the category) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 27: | Line 27: | ||
{{#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 |
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 115: | Line 115: | ||
{{ASearch|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}{{#if:{{{altnames|}}}|+{{#arraymap:{{lc:{{{altnames}}}}}|,|@@@@|@@@@|+}}}}}} |
{{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.