Changes

Jump to navigation Jump to search

Template:Item

838 bytes added, 10:20, 22 April 2021
adding disclaimer
<includeonly>
{| class="wikitable" style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|-
|
<!-- 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}}}}}]]
}}
}}
 
|-
! style="background-color:#3c5;" | Creation
|
<!-- creation attribute overrides showing creation steps, displaying the text below instead -->
{{#if:{{{creation|}}}| |{{#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]]. | fish = Obtained through [[fishing]]. | mine = Obtained through [[mining]]. | wood = Obtained through [[woodcutting]]. | dig = Obtained through [[digging]]. | 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>}} | {{#if:{{{groupM|}}} |<li>Open submenu > {{{groupM}}}</li>}} | {{#if:{{{TopMost|}}} |<li>Open [[Context menu|menu]] > {{{TopMost}}}</li>}} | {{#if:{{{assemble|}}} |<li>{{{assemble}}}</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 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>'''This template is unused and will likely be deleted in the future. Please use [[Template:ItemBox]] instead.''' 
General item template.
|name=Felled Tree
|active=[[Hatchet]]
|passive=[[Tree Tile Border]]
|TopMost=Cut down *** Menu option where its on the top most parent menu.***
|materials=no
}}
</pre>
 
[[Category:Template]]
</noinclude>

Navigation menu