Alpacalover122 (talk | contribs) mNo edit summary |
m (→top: Item link to Item) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|By Hand=[[By Hand]]{{#if:{{#var:ns0}}|[[Category:By Hand]]}} |
|By Hand=[[By Hand]]{{#if:{{#var:ns0}}|[[Category:By Hand]]}} |
||
|Lead Anvil |
|Lead Anvil |
||
− | |Iron Anvil={{item |
+ | |Iron Anvil={{item|Iron Anvil}} ''or''<br /> {{item|Lead Anvil}}{{#if:{{#var:ns0}}|[[Category:Iron or Lead Anvil]]}} |
|Orichalcum Anvil |
|Orichalcum Anvil |
||
− | |Mythril Anvil={{item |
+ | |Mythril Anvil={{item|Mythril Anvil}} ''or''<br /> {{item|Orichalcum Anvil}}{{#if:{{#var:ns0}}|[[Category:Hardmode Anvil]]}} |
|Titanium Forge |
|Titanium Forge |
||
− | |Adamantite Forge={{item |
+ | |Adamantite Forge={{item|Adamantite Forge}} ''or''<br /> {{item|Titanium Forge}}{{#if:{{#var:ns0}}|[[Category:Hardmode Forge]]}} |
|Altar=[[File:Demon Altar.png|link=Altar]] [[File:Crimson Altar.png|link=Altar]] <br /> [[Altar|Demon ''or'' Crimson Altar]]{{#if:{{#var:ns0}}|[[Category:Altar]]}} |
|Altar=[[File:Demon Altar.png|link=Altar]] [[File:Crimson Altar.png|link=Altar]] <br /> [[Altar|Demon ''or'' Crimson Altar]]{{#if:{{#var:ns0}}|[[Category:Altar]]}} |
||
|Table+Chair |
|Table+Chair |
||
− | |Table + Chair={{item |
+ | |Table + Chair={{item|Table}} + {{item|Chair}}{{#if:{{#var:ns0}}|[[Category:Table+Chair]]}} |
|Work Bench+Chair |
|Work Bench+Chair |
||
− | |Work Bench + Chair={{item |
+ | |Work Bench + Chair={{item|Work Bench}} + {{item|Chair}}{{#if:{{#var:ns0}}|[[Category:Work Bench+Chair]]}} |
|Water |
|Water |
||
|Honey |
|Honey |
||
Line 58: | Line 58: | ||
|Starvil |
|Starvil |
||
|Great Anvil |
|Great Anvil |
||
− | |Work Bench={{item |
+ | |Work Bench={{item|{{{tool}}}}}{{#if:{{#var:ns0}}|[[Category:{{{tool}}}]]}} |
− | |Alchemy Table={{item |
+ | |Alchemy Table={{item|Placed Bottle}}{{#if:{{#var:ns0}}|[[Category:Placed Bottle]]}} |
|Placed Bottle= |
|Placed Bottle= |
||
{{{!}} style="vertical-align:middle; text-align:center;" |
{{{!}} style="vertical-align:middle; text-align:center;" |
||
Line 73: | Line 73: | ||
{{!}}[[{{{item1}}}]] |
{{!}}[[{{{item1}}}]] |
||
{{!}}align="center"{{!}} {{{amount1|1}}} |
{{!}}align="center"{{!}} {{{amount1|1}}} |
||
− | {{#if: {{{ |
+ | {{#if: {{{item|}}}|{{!-}} |
− | {{!}}style="text-align:center; width:1%;"{{!}}{{Linked icon|{{{ |
+ | {{!}}style="text-align:center; width:1%;"{{!}}{{Linked icon|{{{item}}}}} |
− | {{!}}[[{{{ |
+ | {{!}}[[{{{item}}}]] |
{{!}}align="center"{{!}} {{{amount2|1}}} |
{{!}}align="center"{{!}} {{{amount2|1}}} |
||
{{#if: {{{item3|}}}|{{!-}} |
{{#if: {{{item3|}}}|{{!-}} |
Latest revision as of 03:42, 12 January 2019
Documentation The documentation below is transcluded from Template:Crafting recipe/doc. (edit | history)
[purge]
Minimal Template (for copy pasting)
Please copy/paste this on pages. It should contain most of what you need. When amount is 1, please remove the amount field.
{{crafting recipe | tool = | item1 = | amount1 = | item2 = | amount2 = | resultAmount = }}
Usage
{{crafting recipe | name = //Optional, default to BASEPAGENAME | tool = | item1 = | amount1 = //Optional, defaults to 1 | item2 = | amount2 = //Optional, defaults to 1 | item3 = | amount3 = //Optional, defaults to 1 | item4 = | amount4 = //Optional, defaults to 1 | item5 = | amount5 = //Optional, defaults to 1 | result = //Optional, defaults to name (which itself defaults to BASEPAGENAME) | resultAmount = //Optional, defaults to 1 }}
- DO NOT PUT LINKS IN THE ITEMS (or result). The template will link and generate images automatically:
- item1 = [[Wood]] :
- item1 = Wood :
- The "Tool" field will automatically generate links and images to know workbenches. The bench is unknown, it will simply put in the field unformated. This is useful for objects like goggles:
- tool = [[Workbench]] :
- tool = Workbench:
- tool = [[File:Wooden Chair.png|link=Chair]] [[Chair]] + [[File:Work Bench.png|link=Work Bench]] [[Work Bench]] : (gives Chair + Work Bench)