Template:Bench: Difference between revisions

Updated for version 1.7
>Abcboy
mNo edit summary
>McClaw
(Updated for version 1.7)
Line 8: Line 8:
! scope="col" {{!}} Item 3
! scope="col" {{!}} Item 3
! scope="col" {{!}} Item 4
! scope="col" {{!}} Item 4
! scope="col" {{!}} Item 5
! scope="col" {{!}} Rush Cost
! scope="col" {{!}} Rush Cost
! scope="col" {{!}} Double-Time
! scope="col" {{!}} Double-Time
Line 43: Line 44:
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|{{{p4|{{{9}}}}}}|link={{{p4|{{{9}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|{{{p4|{{{9}}}}}}|link={{{p4|{{{9}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|{{{p5|{{{11}}}}}}|link={{{p5|{{{11}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|{{{p5|{{{11}}}}}}|link={{{p5|{{{11}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{12|}}}|{{{12}}} x [[File:{{{image6|{{{13}}} Icon.png}}}|25px|{{{p6|{{{13}}}}}}|link={{{p6|{{{13}}}}}}]]}}
{{!}}{{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|[[Category:Articles with bench lists missing rush cost]]?}}}} TC
{{!}}{{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|[[Category:Articles with bench lists missing rush cost]]?}}}} TC
{{!}}{{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TC
{{!}}{{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TC
Line 53: Line 55:
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|{{{p4|{{{9}}}}}}|link={{{p4|{{{9}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|{{{p4|{{{9}}}}}}|link={{{p4|{{{9}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|{{{p5|{{{11}}}}}}|link={{{p5|{{{11}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|{{{p5|{{{11}}}}}}|link={{{p5|{{{11}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{12|}}}|{{{12}}} x [[File:{{{image6|{{{11}}} Icon.png}}}|25px|{{{p6|{{{13}}}}}}|link={{{p6|{{{13}}}}}}]]}}
{{!}}{{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|[[Category:Articles with bench lists missing rush cost]]?}}}} TC
{{!}}{{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|[[Category:Articles with bench lists missing rush cost]]?}}}} TC
{{!}}{{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TC}}<noinclude>
{{!}}{{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TC}}<noinclude>
Line 58: Line 61:


  <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''|Time1=''rush cost''|Time2=''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''|''qty. fifth''|''fifth''|Time1=''rush cost''|Time2=''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''|Time1=''rush cost''|Time2=''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''|''qty. fifth''|''fifth''|Time1=''rush cost''|Time2=''rush cost with double-time''}}
  <nowiki>{{Bench|entry|...}}</nowiki>
  <nowiki>{{Bench|entry|...}}</nowiki>
  ...
  ...
Line 77: Line 80:
*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)
*12th: quantity of fifth item needed (if needed)
*13th: name of fifth item needed (if needed)
*Time1: rush cost w/o double-time
*Time1: rush cost w/o double-time
*Time2: rush cost w/ double-time
*Time2: rush cost w/ double-time
Line 86: Line 91:
*image4: image file name for third item needed if not at File:(item name) Icon.png
*image4: image file name for third item needed if not at File:(item name) Icon.png
*image5: image file name for fourth item needed if not at File:(item name) Icon.png
*image5: image file name for fourth item needed if not at File:(item name) Icon.png
*image6: image file name for fifth item needed if not at File:(item name) Icon. png
*qo: quantity of output if greater than 1
*qo: quantity of output if greater than 1
*pl: plural form of item name
*pl: plural form of item name
Line 93: Line 99:
*p4: page for item third item needed if not at item name
*p4: page for item third item needed if not at item name
*p5: page for item fourth item needed if not at item name
*p5: page for item fourth item needed if not at item name
*p6: page for item fifth item needed if not at item name


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)...(13), (image1),  (image2)...(image5)


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
Anonymous user