Template:Craft: Difference between revisions

Adding a "rush cost" parameter
>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|}}}]]
|-
|-
| '''Qty'''
! 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>
Anonymous user