Template:Craft: Difference between revisions
From The Blockheads Wiki
>Abcboy mNo edit summary |
>Abcboy (Adding a "rush cost" parameter) |
||
| Line 24: | Line 24: | ||
| {{#if: {{{Output|}}}|[[File:{{{ImageOutput|{{{Output}}} Icon.png}}}|40px]]}} | | {{#if: {{{Output|}}}|[[File:{{{ImageOutput|{{{Output}}} Icon.png}}}|40px]]}} | ||
|- | |- | ||
| | | | ||
| [[{{{Name1|}}}]] | | [[{{{Name1|}}}]] | ||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | | {{#if:{{{Name2|}}}||style="display:none;"}} | | ||
| Line 35: | Line 35: | ||
| [[{{{Output|}}}]] | | [[{{{Output|}}}]] | ||
|- | |- | ||
! Quantity | |||
| {{{Qty1}}} | | {{{Qty1}}} | ||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | | {{#if:{{{Name2|}}}||style="display:none;"}} | | ||
| Line 45: | Line 45: | ||
| | | | ||
| {{{QtyOutput}}} | | {{{QtyOutput}}} | ||
|- | |||
! Rush Cost | |||
| {{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|<includeonly>[[Category:Articles with crafting tables missing rush cost]]</includeonly>?}}}} TCs | |||
| | |||
| | |||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name3|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name3|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name4|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name4|}}}||style="display:none;"}} | | |||
|- | |||
! Double-Time | |||
| {{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TCs | |||
| | |||
| | |||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name2|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name3|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name3|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name4|}}}||style="display:none;"}} | | |||
| {{#if:{{{Name4|}}}||style="display:none;"}} | | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
| Line 80: | Line 102: | ||
* '''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 third 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> | ||
Revision as of 00:00, 1 December 2013
| Location | Input Item 1 | Crafted Output | |
|---|---|---|---|
| = | |||
| [[]] | [[]] | ||
| Quantity | {{{Qty1}}} | {{{QtyOutput}}} | |
| Rush Cost | ? TCs | ||
| Double-Time | ? TCs |
{{Craft
|Output=
|Bench=
|Name1=
|Name2=
|Name3=
|Name4
|Qty1=
|Qty2=
|Qty3=
|Qty4=
|QtyOutput=
}}
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.
