Template:Bench: Difference between revisions
>Abcboy mNo edit summary |
>Abcboy mNo edit summary |
||
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
| header = | | header = | ||
{{!}} class="wikitable" border="1" align="center" | |||
! scope="col" {{!}} Icon | ! scope="col" {{!}} Icon | ||
! scope="col" {{!}} Name | ! scope="col" {{!}} Name | ||
Line 12: | Line 12: | ||
! scope="col" {{!}} Double-Time | ! scope="col" {{!}} Double-Time | ||
| depheader = | | depheader = | ||
{{!}} class="wikitable" border="1" align="center" | |||
! scope="col" {{!}} Versions | ! scope="col" {{!}} Versions | ||
! scope="col" {{!}} Icon | ! scope="col" {{!}} Icon | ||
Line 61: | Line 61: | ||
{{!}} 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: {{{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 crafting tables missing rush cost]]</includeonly>?}}}} 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 crafting tables missing rush cost]]</includeonly>?}}}} TC | ||
{{!}}{{#if: {{{Rush2|{{{Time2|}}}}}} | {{{Rush2|{{#if: {{{Time2|}}} | {{#expr: {{{Time2}}} / 2 }}}}}}} | {{#if: {{{Rush2|{{{Time1|}}}}}} |{{#expr: {{{Rush2|{{#if: {{{Time1|}}} | {{#expr: {{{Time1}}} / 2 }} / 2 }}|?}}}}}} TC<noinclude> | {{!}}{{#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:''' | ||
Revision as of 22:37, 19 November 2014
{{#switch: | header = | class="wikitable" border="1" align="center" ! scope="col" | Icon ! scope="col" | Name ! scope="col" | Slogan ! scope="col" | Item 1 ! scope="col" | Item 2 ! scope="col" | Item 3 ! scope="col" | Item 4 ! scope="col" | Rush Cost ! scope="col" | Double-Time | depheader = | class="wikitable" border="1" align="center" ! scope="col" | Versions ! scope="col" | Icon ! scope="col" | Name ! scope="col" | Slogan | dep = |- | height="27px" | {{{4}}} | style="text-align:center;" | [[File:{{{2}}} Icon.png|25px|{{{2}}}]] | [[{{{2}}}|]] | {{{3}}} | iap = |- | height="27px" style="text-align:center;" | [[File:{{{2}}} Icon.png|25px|{{{2}}}]] | [[{{{2}}}|]] | {{{3}}} | colspan="6" | {{{4}}} | up = |- | height="27px" style="text-align:center;" | [[File:Bench up{{{2}}} Icon.png|25px|Level {{{2}}} Upgrade]] | Level {{{2}}} Upgrade | {{{3}}} | style="text-align:right; min-width:50px;" | {{{4}}} x [[File:{{{5}}} Icon.png|25px|link={{{5}}}]] | style="text-align:right; min-width:50px;" | | style="text-align:right; min-width:50px;" | | style="text-align:right; min-width:50px;" | |? TC |? TC | entryno = |- | height="27px" style="text-align:center;" | [[File:{{{2}}} Icon.png|25px|{{{2}}}]] | {{{2}}} | {{{3}}} | style="text-align:right; min-width:50px;" | {{{4}}} x [[File:{{{5}}} Icon.png|25px|link={{{5}}}]] | style="text-align:right; min-width:50px;" | | style="text-align:right; min-width:50px;" | | style="text-align:right; min-width:50px;" | |? TC |? TC | entry = |- | height="27px" style="text-align:center;" | [[File:{{{2}}} Icon.png|25px|{{{2}}}]] | [[{{{2}}}|]] | {{{3}}} | style="text-align:right; min-width:50px;" | {{{4}}} x [[File:{{{5}}} Icon.png|25px|link={{{5}}}]] | style="text-align:right; min-width:50px;" | | style="text-align:right; min-width:50px;" | | style="text-align:right; min-width:50px;" | |TC |How to use:
{{Bench|header}} {{Bench|entry|crafted item name {{Bench|entry|crafted item name {{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)
- Rush1: rush cost w/o double-time
- Rush2: 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
- 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
Parameters should be called in this order: 1, (qo), 2, (pl), (p1), 3, 4, 5, (p2)...(11), (image1), (image2)...(image5), Rush1, Rush2
The Time1
and Time2
parameters are being phased out with the 1.6 update to become the Rush1
and Rush2
parameters.