Template:Craft: Difference between revisions
From The Blockheads Wiki
>Abcboy m (→Parameters) |
>Abcboy mNo edit summary |
||
Line 50: | Line 50: | ||
! Rush Cost | ! Rush Cost | ||
|- | |- | ||
| {{#if: {{{Rush1|{{{Time1|}}}}}} | {{{Rush1|{{#if: {{{Time1|}}} | {{#expr: {{{Time1}}} / 2 }}}}<includeonly>[[Category:Articles with outdated rush costs]]</includeonly>}}} | {{#if: {{{Rush2|{{{Time2|}}}}}} |{{#expr: {{{Rush2|{{#if: {{{Time2|}}} | {{#expr: {{{Time2}}} / 2 | | {{#if: {{{Rush1|{{{Time1|}}}}}} | {{{Rush1|{{#if: {{{Time1|}}} | {{#expr: {{{Time1}}} / 2 }}}}<includeonly>[[Category:Articles with outdated rush costs]]</includeonly>}}} | {{#if: {{{Rush2|{{{Time2|}}}}}} |{{#expr: {{{Rush2|{{#if: {{{Time2|}}} | {{#expr: {{{Time2}}} / 2 }}}} * 2 }}|<includeonly>[[Category:Articles with crafting tables missing rush cost]]</includeonly>?}}}} TC | ||
|- | |- | ||
! Double-Time | ! Double-Time | ||
|- | |- | ||
| {{#if: {{{Rush2|{{{Time2|}}}}}} | {{{Rush2|{{#if: {{{Time2|}}} | {{#expr: {{{Time2}}} / 2 }}}}}}} | {{#if: {{{Rush2|{{{Time1|}}}}}} |{{#expr: {{{Rush2|{{#if: {{{Time1|}}} | {{#expr: {{{Time1}}} / 2 | | {{#if: {{{Rush2|{{{Time2|}}}}}} | {{{Rush2|{{#if: {{{Time2|}}} | {{#expr: {{{Time2}}} / 2 }}}}}}} | {{#if: {{{Rush2|{{{Time1|}}}}}} |{{#expr: {{{Rush2|{{#if: {{{Time1|}}} | {{#expr: {{{Time1}}} / 2 }} / 2 }}|?}}}}}} TC | ||
|} | |} | ||
|}<noinclude> | |}<noinclude> |
Revision as of 22:34, 19 November 2014
|
|
{{Craft |Output= |Bench= |Name1= |Name2= |Name3= |Name4 |Qty1= |Qty2= |Qty3= |Qty4= |QtyOutput= |Rush1= |Rush2= }}
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.
- 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 third required item needed for crafting of item. Do not include if no fourth 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 third item is needed.
- QtyOutput - The quantity of the item that is created when crafting is complete.
- Rush1 - Rush cost without double-time.
- Rush2 - Rush cost with double-time.
The Time1
and Time2
parameters are being phased out with the 1.6 update to become the Rush1
and Rush2
parameters.