Template:Bench: Difference between revisions
From The Blockheads Wiki
>Abcboy (Created page with "{{#switch: {{{1|}}} | header = {{{!}} class="wikitable" border="1" align="center" ! Icon ! Name ! Slogan ! Item 1 ! Item 2 ! Item 3 ! Item 4 | entry = {{!}}- {{!}} height="...") |
>Abcboy mNo edit summary |
||
Line 9: | Line 9: | ||
! Item 3 | ! Item 3 | ||
! Item 4 | ! Item 4 | ||
| depheader = | |||
{{{!}} class="wikitable" border="1" align="center" | |||
! Versions | |||
! Icon | |||
! Name | |||
! Slogan | |||
! Item 1 | |||
! Item 2 | |||
! Item 3 | |||
! Item 4 | |||
| dep = | |||
{{!}}- | |||
{{!}} height="27px" {{!}} {{{12}}} | |||
{{!}} [[File:{{{image1|{{{2}}} Icon.png}}}|25px]] | |||
{{!}} [[{{{2}}}]] | |||
{{!}} ''{{{3}}}'' | |||
{{!}}{{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|link={{{5}}}]] | |||
{{!}}{{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{7}}}]]}} | |||
{{!}}{{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|link={{{9}}}]]}} | |||
{{!}}{{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|link={{{11}}}]]}}}} | |||
| entry = | | entry = | ||
{{!}}- | {{!}}- | ||
Line 16: | Line 36: | ||
{{!}}{{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|link={{{5}}}]] | {{!}}{{{4}}} x [[File:{{{image2|{{{5}}} Icon.png}}}|25px|link={{{5}}}]] | ||
{{!}}{{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{7}}}]]}} | {{!}}{{#if: {{{6|}}}|{{{6}}} x [[File:{{{image3|{{{7}}} Icon.png}}}|25px|link={{{7}}}]]}} | ||
{{!}}{{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{ | {{!}}{{#if: {{{8|}}}|{{{8}}} x [[File:{{{image4|{{{9}}} Icon.png}}}|25px|link={{{9}}}]]}} | ||
{{!}}{{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{ | {{!}}{{#if: {{{10|}}}|{{{10}}} x [[File:{{{image5|{{{11}}} Icon.png}}}|25px|link={{{11}}}]]}}}}<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''}} | ||
<nowiki>{{Bench|entry|</nowiki>''crafted item name''|''slogan''|''qty. first''|''first''|''qty. second''|''second''|''qty. third''|''third''|''qty. fourth''|''fourth''}} | |||
<nowiki>{{Bench|entry|...}}</nowiki> | |||
... | |||
<nowiki>{{Bench|entry|...}}</nowiki> | |||
|} | |||
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) | |||
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 | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 09:48, 13 October 2013
| entry = |- | height="27px" | [[File:{{{2}}} Icon.png|25px]] | [[{{{2}}}]] | {{{3}}} |{{{4}}} x [[File:{{{5}}} Icon.png|25px|link={{{5}}}]] | | |}} How to use:
{{Bench|header}} {{Bench|entry|crafted item name|slogan|qty. first|first|qty. second|second|qty. third|third|qty. fourth|fourth}} {{Bench|entry|crafted item name|slogan|qty. first|first|qty. second|second|qty. third|third|qty. fourth|fourth}} {{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)
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