Template:CraftProp: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(added s for special rarity)
Line 82: Line 82:
{{!}} align="center"{{!}} {{#if:{{{11|}}}|[[crafting source is::{{{11}}}]]|}}{{#if:{{{12|}}}|{{!}}{{!}} align="center"{{!}} [[crafting notes are::{{{12}}}]]|}}
{{!}} align="center"{{!}} {{#if:{{{11|}}}|[[crafting source is::{{{11}}}]]|}}{{#if:{{{12|}}}|{{!}}{{!}} align="center"{{!}} [[crafting notes are::{{{12}}}]]|}}
}}
}}
|}<includeonly>{{#if:{{{r|}}}|{{#switch:{{{r}}}|-=|r=[[rarity is::rare| ]]|vr=[[rarity is::very rare| ]]|u=[[rarity is::uncommon| ]]|[[rarity is::common| ]]}}|[[rarity is::common| ]]}}{{#switch:{{{cat}}}|n|-=|{{Cat|Crafting materials}}}}</includeonly><noinclude>A template for listing crafting materials' stats. T must be set to what kind of material it is, either "a" (alchemy), "b" (bone), "l" (leather), "m" (metal), or "s" (stone).
|}<includeonly>{{#if:{{{r|}}}|{{#switch:{{{r}}}|-=|s=[[rarity is::special]]|vr=[[rarity is::very rare| ]]|r=[[rarity is::rare| ]]|u=[[rarity is::uncommon| ]]|[[rarity is::common| ]]}}|[[rarity is::common| ]]}}{{#switch:{{{cat}}}|n|-=|{{Cat|Crafting materials}}}}</includeonly><noinclude>A template for listing crafting materials' stats. T must be set to what kind of material it is, either "a" (alchemy), "b" (bone), "l" (leather), "m" (metal), or "s" (stone).


Automatically includes the article in [[:Category:Crafting materials]], unless {{tt|cat}} is set to "-".{{Cat|Templates}}</noinclude>
Automatically includes the article in [[:Category:Crafting materials]], unless {{tt|cat}} is set to "-".{{Cat|Templates}}</noinclude>

Revision as of 21:50, 18 June 2015

A template for listing crafting materials' stats. T must be set to what kind of material it is, either "a" (alchemy), "b" (bone), "l" (leather), "m" (metal), or "s" (stone).

Automatically includes the article in Category:Crafting materials, unless CAT is set to "-".