Anonymous user
Template:Bench: Difference between revisions
m
no edit summary
>Abcboy mNo edit summary |
>Abcboy mNo edit summary |
||
Line 60: | Line 60: | ||
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|link={{{p4|{{{9}}}}}}]]}} | {{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|link={{{p4|{{{9}}}}}}]]}} | ||
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|link={{{p5|{{{11}}}}}}]]}} | {{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|link={{{p5|{{{11}}}}}}]]}} | ||
{{!}}{{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|[[Category:Articles with bench lists missing rush cost]]?}}}} TC | {{!}}{{#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 bench lists missing rush cost]]</includeonly>?}}}} TC | ||
{{!}}{{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TC | {{!}}{{#if: {{{Rush2|{{{Time2|}}}}}} | {{{Rush2|{{#if: {{{Time2|}}} | {{#expr: {{{Time2}}} / 2 }}}}}}} | {{#if: {{{Rush2|{{{Time1|}}}}}} |{{#expr: {{{Rush2|{{#if: {{{Time1|}}} | {{#expr: {{{Time1}}} / 2 }}}}}}} / 2 }}|?}}}} TC<noinclude> | ||
'''How to use:''' | '''How to use:''' | ||
<nowiki>{{Bench|header}}</nowiki> | <nowiki>{{Bench|header}}</nowiki> | ||
<nowiki>{{Bench|entry|</nowiki>''crafted item name''|''slogan''|''qty. first''|''first''|''qty. second''|''second''|''qty. third''|''third''|''qty. fourth''|''fourth''| | <nowiki>{{Bench|entry|</nowiki>''crafted item name''|''slogan''|''qty. first''|''first''|''qty. second''|''second''|''qty. third''|''third''|''qty. fourth''|''fourth''|Rush1=''rush cost''|Rush2=''rush cost with double-time''}} | ||
<nowiki>{{Bench|entry|</nowiki>''crafted item name''|''slogan''|''qty. first''|''first''|''qty. second''|''second''|''qty. third''|''third''|''qty. fourth''|''fourth''| | <nowiki>{{Bench|entry|</nowiki>''crafted item name''|''slogan''|''qty. first''|''first''|''qty. second''|''second''|''qty. third''|''third''|''qty. fourth''|''fourth''|Rush1=''rush cost''|Rush2=''rush cost with double-time''}} | ||
<nowiki>{{Bench|entry|...}}</nowiki> | <nowiki>{{Bench|entry|...}}</nowiki> | ||
... | ... | ||
Line 84: | Line 84: | ||
*10th: quantity of fourth item needed (if needed) | *10th: quantity of fourth item needed (if needed) | ||
*11th: name of fourth item needed (if needed) | *11th: name of fourth item needed (if needed) | ||
* | *Rush1: rush cost w/o double-time | ||
* | *Rush2: rush cost w/ double-time | ||
'''Additional parameters:''' | '''Additional parameters:''' | ||
Line 102: | Line 102: | ||
Parameters should be called in this order: | Parameters should be called in this order: | ||
1, (qo), 2, (pl), (p1), 3, 4, 5, (p2)...(11), (image1), (image2)...(image5) | 1, (qo), 2, (pl), (p1), 3, 4, 5, (p2)...(11), (image1), (image2)...(image5), Rush1, Rush2 | ||
The <code>Time1</code> and <code>Time2</code> parameters are being phased out with the 1.6 update to become the <code>Rush1</code> and <code>Rush2</code> parameters. | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |