Template:Bench: Difference between revisions

From The Blockheads Wiki
>Abcboy
mNo edit summary
m (Use TC icon)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
| header =  
| header = {{{!}} class="wikitable" border="1" align="center"
{{{!}} class="wikitable" border="1" align="center"
! scope="col" {{!}} Icon  
! scope="col" {{!}} Icon  
! scope="col" {{!}} Name
! scope="col" {{!}} Name
Line 9: 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
| depheader =
| depheader = {{{!}} class="wikitable" border="1" align="center"
{{{!}} class="wikitable" border="1" align="center"
! scope="col" {{!}} Versions
! scope="col" {{!}} Versions
! scope="col" {{!}} Icon  
! scope="col" {{!}} Icon  
! scope="col" {{!}} Name
! scope="col" {{!}} Name
! scope="col" {{!}} Slogan
! scope="col" {{!}} Slogan
| dep =  
| dep = {{!}}-
{{!}}-
{{!}} height="27px" {{!}} {{{4}}}
{{!}} height="27px" {{!}} {{{4}}}
{{!}} style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
| iap =  
| iap = {{!}}-
{{!}}-
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
{{!}} colspan="6" {{!}} {{{4}}}
{{!}} colspan="6" {{!}} {{{4}}}
| up =  
| up = {{!}}-
{{!}}-
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{PAGENAME}} up{{{2}}} Icon.png}}}|25px|{{{pl|Level {{{2}}} Upgrade}}}]]
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{PAGENAME}} up{{{2}}} Icon.png}}}|25px|{{{pl|Level {{{2}}} Upgrade}}}]]
{{!}} {{{qo|}}} '''{{{pl|Level {{{2}}} Upgrade}}}'''
{{!}} {{{qo|}}} '''{{{pl|Level {{{2}}} Upgrade}}}'''
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
{{!}} style="text-align:right; min-width:50px;" {{!}} {{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|link={{{p2|{{{5}}}}}}]]
{{!}} style="text-align:right; min-width:50px;" {{!}} {{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|{{{p2|{{{5}}}}}}|link={{{p2|{{{5}}}}}}]]
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{p3|{{{7}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|{{{p3|{{{7}}}}}}|link={{{p3|{{{7}}}}}}]]}}
{{!}} 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|{{{p4|{{{9}}}}}}|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|{{{p5|{{{11}}}}}}|link={{{p5|{{{11}}}}}}]]}}
{{!}}{{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|[[Category:Articles with bench lists missing rush cost]]?}}}} TC
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{12|}}}|{{{12}}} x [[File:{{{image6|{{{13}}} Icon.png}}}|25px|{{{p6|{{{13}}}}}}|link={{{p6|{{{13}}}}}}]]}}
{{!}}{{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} TC
{{!}}{{#if: {{{Time1|}}} | {{{Time1}}} | {{#if: {{{Time2|}}} |{{#expr: {{{Time2}}} * 2 }}|[[Category:Articles with bench lists missing rush cost]]?}}}} [[File:Time Crystal Icon.png|40x40px]]
| entryno =  
{{!}}{{#if: {{{Time2|}}} | {{{Time2}}} | {{#if: {{{Time1|}}} |{{#expr: {{{Time1}}} / 2 }}|?}}}} [[File:Time Crystal Icon.png|40x40px]]
{{!}}-
| entryno = {{!}}-
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} {{{qo|}}} {{{pl|{{{2}}}}}}
{{!}} {{{qo|}}} {{{pl|{{{2}}}}}}
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
{{!}} style="text-align:right; min-width:50px;" {{!}} {{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|link={{{p2|{{{5}}}}}}]]
{{!}} style="text-align:right; min-width:50px;" {{!}} {{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|{{{p2|{{{5}}}}}}|link={{{p2|{{{5}}}}}}]]
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{p3|{{{7}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|{{{p3|{{{7}}}}}}|link={{{p3|{{{7}}}}}}]]}}
{{!}} 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|{{{p4|{{{9}}}}}}|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|{{{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 }}|?}}}} [[File:Time Crystal Icon.png|40x40px]]
| entry =  
| entry = {{!}}-
{{!}}-
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px|{{{2}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
{{!}} style="text-align:right; min-width:50px;" {{!}} {{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|link={{{p2|{{{5}}}}}}]]
{{!}} style="text-align:right; min-width:50px;" {{!}} {{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|{{{p2|{{{5}}}}}}|link={{{p2|{{{5}}}}}}]]
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{p3|{{{7}}}}}}]]}}
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|{{{p3|{{{7}}}}}}|link={{{p3|{{{7}}}}}}]]}}
{{!}} 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|{{{p4|{{{9}}}}}}|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|{{{p5|{{{11}}}}}}|link={{{p5|{{{11}}}}}}]]}}
{{!}}{{#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
{{!}} style="text-align:right; min-width:50px;" {{!}} {{#if: {{{12|}}}|{{{12}}} x [[File:{{{image6|{{{13}}} Icon.png}}}|25px|{{{p6|{{{13}}}}}}|link={{{p6|{{{13}}}}}}]]}}
{{!}}{{#if: {{{Rush2|{{{Time2|}}}}}} | {{{Rush2|{{#if: {{{Time2|}}} | {{#expr: {{{Time2}}} / 2 }}}}}}} | {{#if: {{{Rush1|{{{Time1|}}}}}} | {{#expr: {{{Rush1|{{#if: {{{Time1|}}} | {{#expr: {{{Time1}}} / 2 }}}}}}}/ 2}}|?}}}} TC}}<noinclude>
{{!}}{{#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 }}|?}}}} [[File:Time Crystal Icon.png|40x40px]]}}<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''|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''|''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''|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''|''qty. fifth''|''fifth''|Time1=''rush cost''|Time2=''rush cost with double-time''}}
  <nowiki>{{Bench|entry|...}}</nowiki>
  <nowiki>{{Bench|entry|...}}</nowiki>
  ...
  ...
Line 84: Line 81:
*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
*12th: quantity of fifth item needed (if needed)
*Rush2: rush cost w/ double-time
*13th: name of fifth item needed (if needed)
*Time1: rush cost w/o double-time
*Time2: rush cost w/ double-time


'''Additional parameters:'''
'''Additional parameters:'''
Line 93: Line 92:
*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 100: Line 100:
*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), Rush1, Rush2
1, (qo), 2, (pl), (p1), 3, 4, 5, (p2)...(13), (image1),  (image2)...(image6)


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>

Latest revision as of 12:14, 24 October 2024

How to use:

{{Bench|header}}
{{Bench|entry|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}}
{{Bench|entry|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}}
{{Bench|entry|...}}
...
{{Bench|entry|...}}
|}

Parameters:

  • 1st: header or entry; defines what part
  • 2nd: name of the item being crafted
  • 3rd: slogan of item being crafted
  • 4th: quantity of first item needed
  • 5th: name of first item needed
  • 6th: quantity of second item needed (if needed)
  • 7th: name of second item needed (if needed)
  • 8th: quantity of third item needed (if needed)
  • 9th: name of third item needed (if needed)
  • 10th: quantity 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
  • Time2: rush cost w/ double-time

Additional parameters:

  • image1: image file name for item being crafted if not at File:(item name) Icon.png
  • image2: image file name for first item needed if not at File:(item name) Icon.png
  • image3: image file name for second 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
  • image6: image file name for fifth item needed if not at File:(item name) Icon. png
  • qo: quantity of output if greater than 1
  • pl: plural form of item name
  • p1: page for item being crafted if not at item name
  • p2: page for item first item needed if not at item name
  • p3: page for item second 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
  • p6: page for item fifth item needed if not at item name

Parameters should be called in this order: 1, (qo), 2, (pl), (p1), 3, 4, 5, (p2)...(13), (image1), (image2)...(image6)