Template:Bench: Difference between revisions

m
Adding page parameters
>Abcboy
mNo edit summary
>Abcboy
m (Adding page parameters)
Line 21: Line 21:
{{!}} height="27px" {{!}} {{{4}}}
{{!}} height="27px" {{!}} {{{4}}}
{{!}} style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px]]
{{!}} style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px]]
{{!}} {{{qo|}}} [[{{{2}}}|{{{pl|{{{2|}}}}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
| iap =  
| iap =  
{{!}}-
{{!}}-
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px]]
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px]]
{{!}} {{{qo|}}} [[{{{2}}}|{{{pl|{{{2|}}}}}}]]
{{!}} {{{qo|}}} [[{{{p1|{{{2}}}}}}|{{{pl|{{{2|}}}}}}]]
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
{{!}} colspan="6" {{!}} {{{4}}}
{{!}} colspan="6" {{!}} {{{4}}}
Line 34: Line 34:
{{!}} {{{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={{{5}}}]]
{{!}} 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;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{7}}}]]}}
{{!}} 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: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|link={{{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={{{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: {{{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 45: Line 45:
{{!}} {{{qo|}}} {{{pl|{{{2}}}}}}
{{!}} {{{qo|}}} {{{pl|{{{2}}}}}}
{{!}} ''{{{3}}}''
{{!}} ''{{{3}}}''
{{!}} style="text-align:right; min-width:50px;" {{!}} {{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|link={{{5}}}]]
{{!}} 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;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{7}}}]]}}
{{!}} 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: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|link={{{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={{{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: {{{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 54: Line 54:
{{!}}-
{{!}}-
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px]]
{{!}} height="27px" style="text-align:center;" {{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px]]
{{!}} {{{qo|}}} [[{{{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={{{5}}}]]
{{!}} 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;" {{!}} {{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{7}}}]]}}
{{!}} 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: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|link={{{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={{{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: {{{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 93: Line 93:
*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
*qo: quantity of out put if greater than 1
*qo: quantity of output if greater than 1
*pl: plural form of item name or name of item if page is not at item name
*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:
Parameters should be called in this order:
1, (qo), 2, (pl), 3, 4, 5...(11), (image1), (image2)...(image5)
1, (qo), 2, (pl), (p1), 3, 4, 5, (p2)...(11), (image1), (image2)...(image5)


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