Template:Craft: Difference between revisions
From The Blockheads Wiki
>Abcboy (Adding a "rush cost" parameter) |
>Abcboy mNo edit summary |
||
Line 1: | Line 1: | ||
{| | |||
| | |||
{| class="wikitable" border="1" style="text-align:center;" | {| class="wikitable" border="1" style="text-align:center;" | ||
|+{{{Output|}}} | |+{{{Output|}}} | ||
Line 45: | Line 47: | ||
| | | | ||
| {{{QtyOutput}}} | | {{{QtyOutput}}} | ||
|- | |} | ||
{| class="wikitable" border="1" style="text-align:center; width: 100%;" | |||
! Rush Cost | ! Rush Cost | ||
| {{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|<includeonly>[[Category:Articles with crafting tables missing rush cost]]</includeonly>?}}}} TCs | | {{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|<includeonly>[[Category:Articles with crafting tables missing rush cost]]</includeonly>?}}}} TCs | ||
! Double-Time | ! Double-Time | ||
| {{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TCs | | {{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TCs | ||
|} | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
Line 82: | Line 70: | ||
|Qty4= | |Qty4= | ||
|QtyOutput= | |QtyOutput= | ||
|Time1= | |||
|Time2= | |||
}} | }} | ||
</pre> | </pre> |
Revision as of 00:03, 1 December 2013
|
{{Craft |Output= |Bench= |Name1= |Name2= |Name3= |Name4 |Qty1= |Qty2= |Qty3= |Qty4= |QtyOutput= |Time1= |Time2= }}
Parameters
- Output - Crafted item name as it appears in game
- 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.
- Bench - 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.
- Time1 - Rush cost without double-time.
- Time2 - Rush cost with double-time.