Template:Craft: Difference between revisions

m
no edit summary
>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
|
|
| {{#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
! Double-Time
| {{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TCs
| {{#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 82: Line 70:
|Qty4=
|Qty4=
|QtyOutput=
|QtyOutput=
|Time1=
|Time2=
}}
}}
</pre>
</pre>
Anonymous user