Template:ItemRecipe/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "== ItemRecipe Module Variables == === Main Item Variables === * '''item1''', '''item2''', '''item3''', etc. - The names of the items that can be obtained * '''image1''', '''image2''', '''image3''', etc. - The images for each corresponding item * '''level1''', '''level2''', '''level3''', etc. - The level requirement for each item * '''skill1''', '''skill2''', '''skill3''', etc. - The skill associated with each item (inserts image) * '''chance1''', '''chance2''', '''chanc..." |
No edit summary |
||
Line 1: | Line 1: | ||
=How to use this Template= | |||
==Syntax== | |||
To make an entry for an item recipe, use the Template call <pre>{{ItemRecipe}}</pre> | |||
Inside of the template you'll enter parameters to fill in the template with the appropriate information. | |||
== ItemRecipe Module Variables == | == ItemRecipe Module Variables == | ||
Line 31: | Line 36: | ||
* First number (after variable name): Sequential item number (item1, item2, etc.) | * First number (after variable name): Sequential item number (item1, item2, etc.) | ||
* Second number (after underscore): Material number for that item (material1_1, material2_1, etc.) | * Second number (after underscore): Material number for that item (material1_1, material2_1, etc.) | ||
==Example== | |||
Below is an example of the syntax, and the resulting table that is created. | |||
<pre> | |||
{{ItemRecipe | |||
| item1 = Dragon warhammer | |||
| image1 = Dragon_warhammer.png | |||
| skill1 = Smithing | |||
| level1 = 90 | |||
| quantity1_1 = 1 | |||
| material1_1 = Cerberus' tooth | |||
| quantity2_1 = 1 | |||
| material2_1 = Dragon metal lump | |||
| quantity3_1 = 1 | |||
| material3_1 = Dragon metal shard | |||
| quantity4_1 = 1 | |||
| material4_1 = Dragon metal slice | |||
| quantity5_1 = 15 | |||
| material5_1 = Dragon bar | |||
| quantity6_1 = 1,000 | |||
| material6_1 = Luminite flux | |||
| quantity7_1 = 2,500 | |||
| material7_1 = [[Upgrade gems]] | |||
| chance1 = 80% | |||
}} | |||
</pre> | |||
{{ItemRecipe | |||
| item1 = Dragon warhammer | |||
| image1 = Dragon_warhammer.png | |||
| skill1 = Smithing | |||
| level1 = 90 | |||
| quantity1_1 = 1 | |||
| material1_1 = Cerberus' tooth | |||
| quantity2_1 = 1 | |||
| material2_1 = Dragon metal lump | |||
| quantity3_1 = 1 | |||
| material3_1 = Dragon metal shard | |||
| quantity4_1 = 1 | |||
| material4_1 = Dragon metal slice | |||
| quantity5_1 = 15 | |||
| material5_1 = Dragon bar | |||
| quantity6_1 = 1,000 | |||
| material6_1 = Luminite flux | |||
| quantity7_1 = 2,500 | |||
| material7_1 = [[Upgrade gems]] | |||
| chance1 = 80% | |||
}} |
Revision as of 04:22, 13 March 2025
How to use this Template
Syntax
To make an entry for an item recipe, use the Template call
{{ItemRecipe}}
Inside of the template you'll enter parameters to fill in the template with the appropriate information.
ItemRecipe Module Variables
Main Item Variables
- item1, item2, item3, etc. - The names of the items that can be obtained
- image1, image2, image3, etc. - The images for each corresponding item
- level1, level2, level3, etc. - The level requirement for each item
- skill1, skill2, skill3, etc. - The skill associated with each item (inserts image)
- chance1, chance2, chance3, etc. - The success chance for completing the craft
Material Variables
- material1_1, material2_1, material3_1, etc. - First material for each item
- material1_2, material2_2, material3_2, etc. - Second material for each item
- material1_3, material2_3, material3_3, etc. - Third material for each item
- material1_4, material2_4, material3_4, etc. - Fourth material for each item
- material1_5, material2_5, material3_5, etc. - Fifth material for each item
- material1_6, material2_6, material3_6, etc. - Sixth material for each item
- material1_7, material2_7, material3_7, etc. - Seventh material for each item
Quantity Variables
- quantity1_1, quantity2_1, quantity3_1, etc. - Quantity of first material for each item
- quantity1_2, quantity2_2, quantity3_2, etc. - Quantity of second material for each item
- quantity1_3, quantity2_3, quantity3_3, etc. - Quantity of third material for each item
- quantity1_4, quantity2_4, quantity3_4, etc. - Quantity of fourth material for each item
- quantity1_5, quantity2_5, quantity3_5, etc. - Quantity of fifth material for each item
- quantity1_6, quantity2_6, quantity3_6, etc. - Quantity of sixth material for each item
- quantity1_7, quantity2_7, quantity3_7, etc. - Quantity of seventh material for each item
Format Note
The numbering convention uses two indices:
- First number (after variable name): Sequential item number (item1, item2, etc.)
- Second number (after underscore): Material number for that item (material1_1, material2_1, etc.)
Example
Below is an example of the syntax, and the resulting table that is created.
{{ItemRecipe | item1 = Dragon warhammer | image1 = Dragon_warhammer.png | skill1 = Smithing | level1 = 90 | quantity1_1 = 1 | material1_1 = Cerberus' tooth | quantity2_1 = 1 | material2_1 = Dragon metal lump | quantity3_1 = 1 | material3_1 = Dragon metal shard | quantity4_1 = 1 | material4_1 = Dragon metal slice | quantity5_1 = 15 | material5_1 = Dragon bar | quantity6_1 = 1,000 | material6_1 = Luminite flux | quantity7_1 = 2,500 | material7_1 = [[Upgrade gems]] | chance1 = 80% }}
Note: The ingredient highlighted green is always kept on crafting failure.
Item | Level | Success Chance | Materials | ||||
---|---|---|---|---|---|---|---|
![]() |
Dragon warhammer | 80% |
|