Actions

Template

Template:Crafting

From Mike Beane's Blog

{{{result}}}

[[File:{{{1:1}}}.png|64px|center]]{{{QTY1:1}}} [[File:{{{1:2}}}.png|64px|center]]{{{QTY1:2}}} [[File:{{{1:3}}}.png|64px|center]]{{{QTY1:3}}} [[File:{{{result}}}.png|64px|center]]{{{total}}}
[[File:{{{2:1}}}.png|64px|center]]{{{QTY2:1}}} [[File:{{{2:2}}}.png|64px|center]]{{{QTY2:2}}} [[File:{{{2:3}}}.png|64px|center]]{{{QTY2:3}}}
[[File:{{{3:1}}}.png|64px|center]]{{{QTY3:1}}} [[File:{{{3:2}}}.png|64px|center]]{{{QTY3:2}}} [[File:{{{3:3}}}.png|64px|center]]{{{QTY3:3}}}



Usage

  • Assumes that *.png files exist and are explicitly named what the user will name them in the template usage
    • Example: an entry of 'Stone' will translate into 'Stone.png'. 'stone' will not work.
    • An image file of Stone.jpg will fail.
{{Crafting
|1:1=Stone|QTY1:1=1
|1:2=Stone|QTY1:2=1
|1:3=Stone|QTY1:3=1
|2:1=Stone|QTY2:1=1
|2:2=Stone|QTY2:2=1
|2:3=Stone|QTY2:3=1
|3:1=Stone|QTY3:1=1
|3:2=Stone|QTY3:2=1
|3:3=Stone|QTY3:3=1
|result=Wood|total=4}}

Wood

Stone.png
1
Stone.png
1
Stone.png
1
Wood.png
4
Stone.png
1
Stone.png
1
Stone.png
1
Stone.png
1
Stone.png
1
Stone.png
1