Template:Craft: Difference between revisions

From The Blockheads Wiki
>Abcboy
mNo edit summary
(Replace TC text with TC icon)
 
(12 intermediate revisions by 3 users not shown)
Line 10: Line 10:
! {{#if:{{{Name4|}}}|scope="col"|style="display:none;"}} |  
! {{#if:{{{Name4|}}}|scope="col"|style="display:none;"}} |  
! {{#if:{{{Name4|}}}|scope="col"|style="display:none;"}} | Input Item 4
! {{#if:{{{Name4|}}}|scope="col"|style="display:none;"}} | Input Item 4
! {{#if:{{{Name5|}}}|scope="col"|style="display:none;"}} |
! {{#if:{{{Name5|}}}|scope="col"|style="display:none;"}} | Input Item 5
! scope="col" |  
! scope="col" |  
! scope="col" | Crafted Output
! scope="col" | Crafted Output
Line 21: Line 23:
| {{#if:{{{Name4|}}}||style="display:none;"}} | '''+'''
| {{#if:{{{Name4|}}}||style="display:none;"}} | '''+'''
| {{#if:{{{Name4|}}}||style="display:none;"}} | {{#if: {{{Name4|}}}|[[File:{{{Image4|{{{Name4}}} Icon.png}}}|40px]]}}
| {{#if:{{{Name4|}}}||style="display:none;"}} | {{#if: {{{Name4|}}}|[[File:{{{Image4|{{{Name4}}} Icon.png}}}|40px]]}}
| {{#if:{{{Name5|}}}||style="display:none;"}} | '''+'''
| {{#if:{{{Name5|}}}||style="display:none;"}} | {{#if: {{{Name5|}}}|[[File:{{{Image5|{{{Name5}}} Icon.png}}}|40px]]}}
| '''='''  
| '''='''  
| {{#if: {{{Output|}}}|[[File:{{{ImageOutput|{{{Output}}} Icon.png}}}|40px]]}}
| {{#if: {{{Output|}}}|[[File:{{{ImageOutput|{{{Output}}} Icon.png}}}|40px]]}}
Line 32: Line 36:
| {{#if:{{{Name4|}}}||style="display:none;"}} |
| {{#if:{{{Name4|}}}||style="display:none;"}} |
| {{#if:{{{Name4|}}}||style="display:none;"}} | [[{{{Name4|}}}]]
| {{#if:{{{Name4|}}}||style="display:none;"}} | [[{{{Name4|}}}]]
| {{#if:{{{Name5|}}}||style="display:none;"}} |
| {{#if:{{{Name5|}}}||style="display:none;"}} | [[{{{Name5|}}}]]
|  
|  
| [[{{{Output|}}}]]
| [[{{{Output|}}}]]
Line 43: Line 49:
| {{#if:{{{Name4|}}}||style="display:none;"}} |
| {{#if:{{{Name4|}}}||style="display:none;"}} |
| {{#if:{{{Name4|}}}||style="display:none;"}} | {{{Qty4}}}
| {{#if:{{{Name4|}}}||style="display:none;"}} | {{{Qty4}}}
| {{#if:{{{Name5|}}}||style="display:none;"}} |
| {{#if:{{{Name5|}}}||style="display:none;"}} | {{{Qty5}}}
|
|
| {{{QtyOutput}}}
| {{{QtyOutput}}}
Line 50: Line 58:
! Rush Cost
! Rush Cost
|-
|-
| {{#if: {{{Rush1|{{#expr: {{{Time1|}}} / 2}}}}} | {{{Rush1}}} | {{#if: {{{Rush2|{{#expr: {{{Time2|}}} / 2}}}}} |{{#expr: {{{Rush2}}} * 2 }}|<includeonly>[[Category:Articles with crafting tables missing rush cost]]</includeonly>?}}}} TC
| {{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|<includeonly>[[Category:Articles with crafting tables missing rush cost]]</includeonly>?}}}} [[File:Time Crystal Icon.png|40x40px]]
|-
|-
! Double-Time
! Double-Time
|-
|-
| {{#if: {{{Rush2|{{#expr: {{{Time2|}}} / 2}}}}} | {{{Rush2}}} | {{#if: {{{Rush1|{{#expr: {{{Time1|}}} / 2}}}}} |{{#expr: {{{Rush1}}} / 2 }}|?}}}} TC
| {{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} [[File:Time Crystal Icon.png|40x40px]]
|}
|}
|}<noinclude>
|}<noinclude>
{{cleanup
| reason = This template desperately needs a cleanup, its severely outdated and can be done in a much more efficient and easy to edit manor.
}}
<pre>
<pre>
{{Craft
{{Craft
Line 64: Line 76:
|Name2=
|Name2=
|Name3=
|Name3=
|Name4
|Name4=
|Name5=
|Qty1=
|Qty1=
|Qty2=
|Qty2=
|Qty3=
|Qty3=
|Qty4=
|Qty4=
|Qty5=
|QtyOutput=
|QtyOutput=
|Rush1=
|Time1=
|Rush2=
|Time2=
}}
}}
</pre>
</pre>
Line 83: Line 97:
* '''''Image3''''' - Small icon image if default image code doesn't work. Do not include if no third item is needed.
* '''''Image3''''' - Small icon image if default image code doesn't work. Do not include if no third item is needed.
* '''''Image4''''' - Small icon image if default image code doesn't work. Do not include if no fourth item is needed.
* '''''Image4''''' - Small icon image if default image code doesn't work. Do not include if no fourth item is needed.
* '''''Image5''''' - Small icon image if default image code doesn't work. Do not include if no fifth item is needed.
* '''''ImageOutput''''' - Small icon image if default image code doesn't work.
* '''''ImageOutput''''' - Small icon image if default image code doesn't work.
* '''''Level''''' - Level of bench.
* '''''Level''''' - Level of bench.
Line 91: Line 106:
* '''''Name2''''' - Name of second required item needed for crafting of item. Do not include if no second item is needed.
* '''''Name2''''' - Name of second required item needed for crafting of item. Do not include if no second item is needed.
* '''''Name3''''' - Name of third required item needed for crafting of item. Do not include if no third item is needed.
* '''''Name3''''' - Name of third required item needed for crafting of item. Do not include if no third item is needed.
* '''''Name4''''' - Name of third required item needed for crafting of item. Do not include if no fourth item is needed.
* '''''Name4''''' - Name of fourth required item needed for crafting of item. Do not include if no fourth item is needed.
* '''''Name5''''' - Name of fifth required item needed for crafting of item. Do not include if no fifth item is needed.
* '''Qty1''' - Required quantity of item 1 needed to craft item.
* '''Qty1''' - Required quantity of item 1 needed to craft item.
* '''''Qty2''''' - Required quantity of item 2 needed to craft item. Do not include if no second item is needed.
* '''''Qty2''''' - Required quantity of item 2 needed to craft item. Do not include if no second item is needed.
* '''''Qty3''''' - Required quantity of item 3 needed to craft item. Do not include if no third item is needed.
* '''''Qty3''''' - Required quantity of item 3 needed to craft item. Do not include if no third item is needed.
* '''''Qty4''''' - Required quantity of item 4 needed to craft item. Do not include if no third item is needed.
* '''''Qty4''''' - Required quantity of item 4 needed to craft item. Do not include if no fourth item is needed.
* '''''Qty5''''' - Required quantity of item 5 needed to craft item. Do not include if no fifth item is needed.
* '''QtyOutput''' - The quantity of the item that is created when crafting is complete.
* '''QtyOutput''' - The quantity of the item that is created when crafting is complete.
* '''Rush1''' - Rush cost without double-time.
* '''Time1''' - Rush cost without double-time.
* '''Rush2''' - Rush cost with double-time.
* '''Time2''' - Rush cost with double-time.
 
The Time1 and Time2 parameters are being phased out for the Rush1 and Rush2 parameters.
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 11:01, 23 October 2024

Location Input Item 1 Input Item 2 Input Item 3 Input Item 4 Input Item 5 Crafted Output
+ + + + =
[[]] [[]] [[]] [[]] [[]] [[]] [[]]
Quantity {{{Qty1}}} {{{Qty2}}} {{{Qty3}}} {{{Qty4}}} {{{Qty5}}} {{{QtyOutput}}}
Rush Cost
?
Double-Time
?
This template needs cleanup. You can learn how at the how to help page. [discuss]
Please help improve this page. The talk page may contain suggestions.
Reason: This template desperately needs a cleanup, its severely outdated and can be done in a much more efficient and easy to edit manor.
{{Craft
|Output=
|Bench=
|Name1=
|Name2=
|Name3=
|Name4=
|Name5=
|Qty1=
|Qty2=
|Qty3=
|Qty4=
|Qty5=
|QtyOutput=
|Time1=
|Time2=
}}

Parameters

Optional parameters are in italics.

  • Output - Crafted item name as it appears in game
  • ImageBench - Small icon image if default image code doesn't work.
  • Image1 - Small icon image if default image code doesn't work.
  • Image2 - Small icon image if default image code doesn't work. Do not include if no second item is needed.
  • Image3 - Small icon image if default image code doesn't work. Do not include if no third item is needed.
  • Image4 - Small icon image if default image code doesn't work. Do not include if no fourth item is needed.
  • Image5 - Small icon image if default image code doesn't work. Do not include if no fifth item is needed.
  • ImageOutput - Small icon image if default image code doesn't work.
  • Level - Level of bench.
  • Bench - Bench where item is crafted.
  • Level2 - Level of second bench.
  • Bench2 - Second bench where item is crafted.
  • Name1 - Name of first required item needed for crafting of item.
  • Name2 - Name of second required item needed for crafting of item. Do not include if no second item is needed.
  • Name3 - Name of third required item needed for crafting of item. Do not include if no third item is needed.
  • Name4 - Name of fourth required item needed for crafting of item. Do not include if no fourth item is needed.
  • Name5 - Name of fifth required item needed for crafting of item. Do not include if no fifth item is needed.
  • Qty1 - Required quantity of item 1 needed to craft item.
  • Qty2 - Required quantity of item 2 needed to craft item. Do not include if no second item is needed.
  • Qty3 - Required quantity of item 3 needed to craft item. Do not include if no third item is needed.
  • Qty4 - Required quantity of item 4 needed to craft item. Do not include if no fourth item is needed.
  • Qty5 - Required quantity of item 5 needed to craft item. Do not include if no fifth item is needed.
  • QtyOutput - The quantity of the item that is created when crafting is complete.
  • Time1 - Rush cost without double-time.
  • Time2 - Rush cost with double-time.