Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
Template documentation ()
MyraMidnight (talk | contribs) m |
MyraMidnight (talk | contribs) m |
||
| Line 6: | Line 6: | ||
|- | |- | ||
!style="width:25%"|[[Loot]] | !style="width:25%"|[[Loot]] | ||
| − | |{{{{{loot|yes}}}}} | + | |{{#switch: {{{loot|}}} |
| + | |yes={{yes}} | ||
| + | |no={{no}} | ||
| + | |#default={{n/a}}}} | ||
!style="width:25%"|Consume | !style="width:25%"|Consume | ||
| − | |{{{{{consume|no}} | + | |{{#switch: {{{consume|}}} |
| + | |yes={{yes}} | ||
| + | |no={{no}} | ||
| + | |#default={{n/a}}}} | ||
|- | |- | ||
![[Crafting Recipes|Crafted]] | ![[Crafting Recipes|Crafted]] | ||
| − | |{{{{{craft|no}}}}} | + | |{{#switch: {{{craft|}}} |
| + | |yes={{yes}} | ||
| + | |no={{no}} | ||
| + | |#default={{n/a}}}} | ||
!rowspan=2|[[Alchemy]] | !rowspan=2|[[Alchemy]] | ||
| − | |rowspan=2 style="width:25%"|{{{alchemy|Not Convertable}}} | + | |rowspan=2 style="width:25%"|{{{alchemy|Not<br>Convertable}}} |
|- | |- | ||
![[Enchanting Recipes|Enchanted]] | ![[Enchanting Recipes|Enchanted]] | ||
| − | |{{{{{enchant|no}}}}} | + | |{{#switch: {{{enchant|}}} |
| + | |yes={{yes}} | ||
| + | |no={{no}} | ||
| + | |#default={{n/a}}}} | ||
|- | |- | ||
|}</onlyinclude>{{clear}} | |}</onlyinclude>{{clear}} | ||
{{Documentation}} | {{Documentation}} | ||
Revision as of 11:21, 9 May 2017
| Loot | N/A | Consume | N/A |
|---|---|---|---|
| Crafted | N/A | Alchemy | Not Convertable |
| Enchanted | N/A | ||
- Enchanted means if this item can be created through enchanting, not if it's enchanting ingredient. If it is a component for any recipe then add it to the recipe list. Same goes for crafted, it means if this item can be created through crafting.
Usage
{{Item
| name=
| link= (OPTIONAL)
| image=
| desc=
| alchemy=
| ingredient=
| loot=
| craft=
| enchant=
| consume=
}}
name=name of itemlink=(OPTIONAL) write page name for link within wiki.image=file-name of image (skipping it will display Krafties logo instead)desc=adds short description, such as what happens when consumed
parameters
alchemy=write how much Experience you get when converting this item (default: Not Convertible)ingredient=list all the recipes this ingredient is part of
- yes/no parameters
loot=answeryes,noor remove the parameter for defaultn/acraft=answeryes,noor remove the parameter for defaultn/aenchant=answeryes,noor remove the parameter for defaultn/aconsume=answeryes,noor remove the parameter for defaultn/a
- The above documentation is transcluded from Template:Item/doc.
- Editors can experiment in this template's sandbox
- Please add categories to the /doc subpage within
<includeonly>...</includeonly>