Changes

Jump to navigation Jump to search

Template:Item

455 bytes added, 11:22, 22 September 2014
edits to create and incomplete item template
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
|+ style="font-weight: bold" | {{{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 [[Farming|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>
{{#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>
{{#ifeq:{{{materials}}}|no||
{{!}}-
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
[[Category:Items]]
<!-- If (1 creation and (2 anyone from the create group - active and pasive 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.
|name=Felled Tree
|active=[[Hatchet]]
|passive=[[Tree Tile Border]]
|TopMost=Cut down *** Menu option where its on the top most parent menu.***
|materials=no
380

edits

Navigation menu