Template:Craft: Difference between revisions
From The Blockheads Wiki
>Abcboy mNo edit summary |
FloofyPlasma (talk | contribs) (Replace TC text with TC icon) |
||
(37 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| | |||
| valign="top" style="vertical-align:top;" | | |||
{| class="wikitable" border="1" style="text-align:center;" | {| class="wikitable" border="1" style="text-align:center;" | ||
! scope="col" | Location | ! scope="col" | Location | ||
! scope="col" | Input Item 1 | ! scope="col" | Input Item 1 | ||
! {{#if:{{{Name2|}}}||style="display:none;"}} | ! {{#if:{{{Name2|}}}|scope="col"|style="display:none;"}} | | ||
! {{#if:{{{Name2|}}}||style="display:none;"}} | ! {{#if:{{{Name2|}}}|scope="col"|style="display:none;"}} | Input Item 2 | ||
! {{#if:{{{Name3|}}}||style="display:none;"}} | ! {{#if:{{{Name3|}}}|scope="col"|style="display:none;"}} | | ||
! {{#if:{{{Name3|}}}||style="display:none;"}} | ! {{#if:{{{Name3|}}}|scope="col"|style="display:none;"}} | Input Item 3 | ||
! {{#if:{{{Name4|}}}||style="display:none;"}} scope="col" | | ! {{#if:{{{Name4|}}}|scope="col"|style="display:none;"}} | | ||
! {{#if:{{{ | ! {{#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 | ||
|- | |- | ||
| {{{Bench|}}} | | {{#if:{{{Bench|}}}|[[File:{{{ImageBench|{{{Bench|}}} {{{Level|}}} Icon.png}}}|40px]]}}{{#if:{{{Bench2|}}}|[[File:{{{ImageBench2|{{{Bench2|}}} {{{Level2|}}} Icon.png}}}|40px]]}} | ||
| {{#if: {{{Name1|}}}|[[File:{{{Image1|{{{Name1}}} Icon.png}}}|40px]]}} | | {{#if:{{{Name1|}}}|[[File:{{{Image1|{{{Name1}}} Icon.png}}}|40px]]}} | ||
| {{#if:{{{Name2|}}}||style="display:none;"}} | '''+''' | | {{#if:{{{Name2|}}}||style="display:none;"}} | '''+''' | ||
| {{#if:{{{Name2|}}}||style="display:none;"}} | {{#if: {{{Name2|}}}|[[File:{{{Image2|{{{Name2}}} Icon.png}}}|40px]]}} | | {{#if:{{{Name2|}}}||style="display:none;"}} | {{#if: {{{Name2|}}}|[[File:{{{Image2|{{{Name2}}} Icon.png}}}|40px]]}} | ||
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]]}} | ||
|- | |- | ||
| | | style="max-width:165px;" | {{#if:{{{Level|}}}|Lvl.|}} {{{Level|}}} [[{{{Bench|}}}]] {{#if: {{{Bench2|}}}|or {{#if:{{{Level2|}}}|Lvl.|}} {{{Level2|}}} [[{{{Bench2|}}}]]}} | ||
| [[{{{Name1|}}}]] | | [[{{{Name1|}}}]] | ||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | | {{#if:{{{Name2|}}}||style="display:none;"}} | | ||
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|}}}]] | ||
|- | |- | ||
! Quantity | |||
| {{{Qty1}}} | | {{{Qty1}}} | ||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | | {{#if:{{{Name2|}}}||style="display:none;"}} | | ||
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}}} | ||
|} | |} | ||
<noinclude> | | valign="top" style="vertical-align:top;" | | ||
{| class="wikitable" border="1" style="text-align:center;" | |||
! Rush Cost | |||
|- | |||
| {{#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 | |||
|- | |||
| {{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} [[File:Time Crystal Icon.png|40x40px]] | |||
|} | |||
|}<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 54: | Line 76: | ||
|Name2= | |Name2= | ||
|Name3= | |Name3= | ||
|Name4 | |Name4= | ||
|Name5= | |||
|Qty1= | |Qty1= | ||
|Qty2= | |Qty2= | ||
|Qty3= | |Qty3= | ||
|Qty4= | |Qty4= | ||
|Qty5= | |||
|QtyOutput= | |QtyOutput= | ||
|Time1= | |||
|Time2= | |||
}} | }} | ||
</pre> | </pre> | ||
==Parameters== | ==Parameters== | ||
Optional parameters are in italics. | |||
* '''Output''' - Crafted item name as it appears in game | * '''Output''' - Crafted item name as it appears in game | ||
* '''Image1''' - Small icon image if default image code doesn't work. | * '''''ImageBench''''' - 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. | * '''''Image1''''' - Small icon image if default image code doesn't work. | ||
* '''Image3''' - Small icon image if default image code doesn't work. Do not include if no third item is needed. | * '''''Image2''''' - Small icon image if default image code doesn't work. Do not include if no second item is needed. | ||
* '''Image4''' - Small icon image if default image code doesn't work. Do not include if no fourth item is needed. | * '''''Image3''''' - Small icon image if default image code doesn't work. Do not include if no third item is needed. | ||
* '''ImageOutput''' - Small icon image if default image code doesn't work. | * '''''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. | * '''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. | * '''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. | * '''''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 | * '''''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 | * '''''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. | ||
* '''Time1''' - Rush cost without double-time. | |||
* '''Time2''' - Rush cost with double-time. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:01, 23 October 2024
|
|
This template needs cleanup. You can learn how at the how to help page. [discuss]
{{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.