|-
|
<!-- Check for image. If pagename.jpg doesn't exist use .png otherwise display "Needs Image" -->
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
| {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
| [[Needs Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
}}
}}
|{{#switch: {{lc:{{{creation}}}}}
| no = This item can not be created.
| farm = Obtained through [[Farmingfarming|harvesting]].
| forage = Obtained through [[forage|foraging]].
| botanize = Obtained through [[botanize|botanizing]].
| butchering = Obtained through [[butchering]].
| cooking = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}}.
* Cook in a [[:Category:Fire_sources|fire place]].
| #default = {{{creation}}}
}}
|<!-- if there is no creation attribute show steps for how to create -->
<ol><li>[[Activate]] {{{active}}}</li><li>Right-click {{{passive}}}</li><!-- Creation via right-click > group -->
{{#if:{{{group|}}}
| <li>Open submenu "Create > [[{{{group}}}]]"</li>
}}
</ol>
<!-- Additional Materials -->
<!-- If materials = 0, close the table header -->
{{#ifeq:{{{materials}}}|no||
{{!}}-
}}
}}
<!-- End of Creation Section -->
|-
! style="background-color:#3c5" | Result
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
[[Category:Items]]
<!-- If (1 creation and (2 anyone from the create group - active and pasive passive and [3)- at least one of group or groupM or TopMost or assemble must be NOT empty] and materials and result and skill - are empty add to Incomplete item templates -->
{{#if:{{{creation|}}}||{{#if:{{#if: {{{active|}}} |{{#if: {{{passive|}}} |{{#if:{{#if: {{{group|}}}|{{{group|}}}|{{#if: {{{groupM|}}}|{{{groupM|}}}|{{#if: {{{TopMost|}}}|{{{TopMost|}}}|{{#if:{{{assemble|}}}|{{{assemble|}}}|}}}}}}}}|{{#if: {{{materials|}}}|{{#if: {{{result|}}} | {{{skill|}}} }}}}}}}}}}||[[Category:Incomplete item templates]]}}}}
</includeonly> <noinclude>
General item template.
}}
</pre>
</noinclude>
[[Category:Template]]
</noinclude>