Difference between revisions of "Template:ItemBoxMulti"
m |
m (Add Archaeology creation method) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
{{#if:{{{creation|}}} <!-- creation attribute overrides showing creation steps, displaying the text below instead --> | {{#if:{{{creation|}}} <!-- creation attribute overrides showing creation steps, displaying the text below instead --> | ||
|{{#switch: {{lc:{{{creation}}}}} | |{{#switch: {{lc:{{{creation}}}}} | ||
− | | no = * This item cannot be crafted | + | | no = * This item cannot be crafted |
− | | farm = * | + | | arch = * Restored through [[Archaeology]] |
− | | forage = * Found by [[Foraging]] | + | | archaeology = * Restored through [[Archaeology]] |
− | | botanize = * Found by [[Botanizing]] | + | | farm = * Collected by [[farming|harvesting]] |
− | | pick = * | + | | farming = * Collected by [[farming|harvesting]] |
− | | fish = * | + | | forage = * Found by [[Foraging]] |
− | | mine = * | + | | foraging = * Found by [[Foraging]] |
− | | wood = * Obtained through [[ | + | | botanize = * Found by [[Botanizing]] |
− | | | + | | botanizing = * Found by [[Botanizing]] |
− | | butchering = * | + | | pick = * Picked from a tree, bush, planter or trellis |
− | | cooking = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | + | | picking = * Picked from a tree, bush, planter or trellis |
− | * Cook in a [[:Category:Fire_sources|fire]] | + | | fish = * Caught by [[Fishing]] |
− | | unique = Obtained by being in [[local]] range | + | | fishing = * Caught by [[Fishing]] |
+ | | mine = * Extracted by [[Mining]] | ||
+ | | mining = * Extracted by [[Mining]] | ||
+ | | wood = * Created by [[Woodcutting]] | ||
+ | | woodcutting = * Created by [[Woodcutting]] | ||
+ | | dig = * Obtained through [[Digging]] | ||
+ | | digging = * Obtained through [[Digging]] | ||
+ | | butcher = * Extracted through [[Butchering]] | ||
+ | | butchering = * Extracted through [[Butchering]] | ||
+ | | cook = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | ||
+ | * Cook in a [[:Category:Fire_sources|fire]] | ||
+ | | cooking = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | ||
+ | * Cook in a [[:Category:Fire_sources|fire]] | ||
+ | | unique = * Obtained by being a [[premium]] player in [[local]] range of a [[unique]] creature slay | ||
+ | | slaying = * Obtained by being a [[premium]] player in [[local]] range of a [[unique]] creature slay | ||
+ | | treasure = * Can be found by [[Treasure hunt|digging up treasure]] | ||
| #default = * {{{creation}}} | | #default = * {{{creation}}} | ||
}}{{#if:{{{creation2|}}} | }}{{#if:{{{creation2|}}} | ||
|{{#switch: {{lc:{{{creation2}}}}} | |{{#switch: {{lc:{{{creation2}}}}} | ||
− | | | + | | arch = * Restored through [[Archaeology]] |
− | | farm = * | + | | archaeology = * Restored through [[Archaeology]] |
− | | forage = * Found by [[Foraging]] | + | | farm = * Collected by [[farming|harvesting]] |
− | | botanize = * Found by [[Botanizing]] | + | | farming = * Collected by [[farming|harvesting]] |
− | | pick = * | + | | forage = * Found by [[Foraging]] |
− | | fish = * | + | | foraging = * Found by [[Foraging]] |
− | | mine = * | + | | botanize = * Found by [[Botanizing]] |
− | | wood = * Obtained through [[ | + | | botanizing = * Found by [[Botanizing]] |
− | | | + | | pick = * Picked from a tree, bush, planter or trellis |
− | | butchering = * | + | | picking = * Picked from a tree, bush, planter or trellis |
− | | cooking = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | + | | fish = * Caught by [[Fishing]] |
− | * Cook in a [[:Category:Fire_sources|fire]] | + | | fishing = * Caught by [[Fishing]] |
− | | unique = Obtained by being in [[local]] range | + | | mine = * Extracted by [[Mining]] |
+ | | mining = * Extracted by [[Mining]] | ||
+ | | wood = * Created by [[Woodcutting]] | ||
+ | | woodcutting = * Created by [[Woodcutting]] | ||
+ | | dig = * Obtained through [[Digging]] | ||
+ | | digging = * Obtained through [[Digging]] | ||
+ | | butcher = * Extracted through [[Butchering]] | ||
+ | | butchering = * Extracted through [[Butchering]] | ||
+ | | cook = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | ||
+ | * Cook in a [[:Category:Fire_sources|fire]] | ||
+ | | cooking = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | ||
+ | * Cook in a [[:Category:Fire_sources|fire]] | ||
+ | | unique = * Obtained by being a [[premium]] player in [[local]] range of a [[unique]] creature slay | ||
+ | | slaying = * Obtained by being a [[premium]] player in [[local]] range of a [[unique]] creature slay | ||
+ | | treasure = * Can be found by [[Treasure hunt|digging up treasure]] | ||
| #default = * {{{creation2}}} | | #default = * {{{creation2}}} | ||
}}}}{{#if:{{{creation3|}}} | }}}}{{#if:{{{creation3|}}} | ||
|{{#switch: {{lc:{{{creation3}}}}} | |{{#switch: {{lc:{{{creation3}}}}} | ||
− | | | + | | arch = * Restored through [[Archaeology]] |
− | | farm = * | + | | archaeology = * Restored through [[Archaeology]] |
− | | forage = * Found by [[Foraging]] | + | | farm = * Collected by [[farming|harvesting]] |
− | | botanize = * Found by [[Botanizing]] | + | | farming = * Collected by [[farming|harvesting]] |
− | | pick = * | + | | forage = * Found by [[Foraging]] |
− | | fish = * | + | | foraging = * Found by [[Foraging]] |
− | | mine = * | + | | botanize = * Found by [[Botanizing]] |
− | | wood = * Obtained through [[ | + | | botanizing = * Found by [[Botanizing]] |
− | | | + | | pick = * Picked from a tree, bush, planter or trellis |
− | | butchering = * | + | | picking = * Picked from a tree, bush, planter or trellis |
− | | cooking = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | + | | fish = * Caught by [[Fishing]] |
− | * Cook in a [[:Category:Fire_sources|fire]] | + | | fishing = * Caught by [[Fishing]] |
− | | unique = Obtained by being in [[local]] range | + | | mine = * Extracted by [[Mining]] |
+ | | mining = * Extracted by [[Mining]] | ||
+ | | wood = * Created by [[Woodcutting]] | ||
+ | | woodcutting = * Created by [[Woodcutting]] | ||
+ | | dig = * Obtained through [[Digging]] | ||
+ | | digging = * Obtained through [[Digging]] | ||
+ | | butcher = * Extracted through [[Butchering]] | ||
+ | | butchering = * Extracted through [[Butchering]] | ||
+ | | cook = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | ||
+ | * Cook in a [[:Category:Fire_sources|fire]] | ||
+ | | cooking = * Put {{#if:{{{materials|}}}|{{{materials}}}|ingredients}} in a {{#if:{{{container|}}}|{{{container}}}|container}} | ||
+ | * Cook in a [[:Category:Fire_sources|fire]] | ||
+ | | unique = * Obtained by being a [[premium]] player in [[local]] range of a [[unique]] creature slay | ||
+ | | slaying = * Obtained by being a [[premium]] player in [[local]] range of a [[unique]] creature slay | ||
+ | | treasure = * Can be found by [[Treasure hunt|digging up treasure]] | ||
| #default = * {{{creation3}}} | | #default = * {{{creation3}}} | ||
}}}} | }}}} | ||
Line 104: | Line 147: | ||
|- | |- | ||
| | | | ||
− | * '''{{{result}}}''' | + | {{#if:{{#pos:{{{result}}}|*|}}|{{{result}}}|* '''{{{result}}}'''}} |
|- | |- | ||
! class="infobox-header-row" | {{#if:{{{skill2|}}}|Possible skills<br />and Improvement|Skill and improvement}} | ! class="infobox-header-row" | {{#if:{{{skill2|}}}|Possible skills<br />and Improvement|Skill and improvement}} | ||
Line 184: | Line 227: | ||
<!-- 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 templates --> | <!-- 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 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]]}}}}[[Category:Items]]</includeonly><noinclude> | {{#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]]}}}}[[Category:Items]]</includeonly><noinclude> | ||
− | General item template -- | + | General item template for items with multiple creation methods employing multiple skills -- Uses total items required, not additional. |
− | The template adds a box with an image of the item and the | + | The template adds a box with an image of the item and lists the possible creation methods, the result and the possible skills used. |
− | If | + | If '''creation=''' is set the box will display that instead of creation steps.<br /> |
+ | If '''creation2=''' is set it will be listed along with '''creation=''' as an additional method. '''Not required'''<br /> | ||
+ | If '''creation3=''' is set it will be listed along with '''creation=''' and '''creation2=''' as a third method. '''Not required'''<br /> | ||
− | + | * Creation options are: arch, archaeology, farm, farming, fish, fishing, forage, foraging, botanize, botanizing, mine, mining, dig, digging, butcher, butchering, cook, cooking, unique, slaying, treasure or '''whatever you type''' | |
− | <pre>{{ | + | If '''skill=''' is set it will be listed as the skill used when creating.<br /> |
− | |name= | + | If '''skill2''' is set, '''skill=''' will be listed as a possible skill used and '''skill2=''' will be listed as another possibility. '''Not required'''<br /> |
− | |image= | + | If '''skill3''' is set, it will be listed as another possibility. '''Not required''' |
− | |active=[[ | + | |
+ | <br /> | ||
+ | Example for items with multiple creation methods: | ||
+ | |||
+ | <pre>{{ItemBoxMulti | ||
+ | |name=Ivy seedling * will default to {{PAGENAME}} | ||
+ | |image=Sprout.png * will default to {{PAGENAME}}.png or {{PAGENAME}}.jpg | ||
+ | |creation=Pick from an ivy trellis * See above for full list of creation options - this example ignores options and uses free form text | ||
+ | * '=no' results in 'This item can not be crafted'. Omit or leave blank to show creation steps rather than method | ||
+ | |creation2=Forage * omit, leave blank or specify an alternative creation method here | ||
+ | |creation3=Botanize * omit, leave blank or specify an alternative creation method here | ||
+ | |result={{PAGENAME}} | ||
+ | |skill=Gardening * omit, leave blank or specify the skill used that corresponds to the 'creation=' method or the creation steps | ||
+ | |skill2=Foraging * omit, leave blank or specify the skill used that corresponds to the 'creation2' method | ||
+ | |skill3=Botanizing * omit, leave blank or specify the skill used that corresponds to the 'creation3' method | ||
+ | |improve=no * specify the skill used to improve the item, omit or leave blank to show nothing. '=no' results in "Cannot be improved" | ||
+ | |combinable=no * omit, leave blank or use =no to show nothing, other options are yes or hot | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Example for items with creation steps | ||
+ | |||
+ | <pre> | ||
+ | {{ItemBoxMulti | ||
+ | |name=Hammer * will default to {{PAGENAME}} | ||
+ | |image=Hammer.jpg * will default to {{PAGENAME}}.png or {{PAGENAME}}.jpg | ||
+ | |active=[[Hammer head]] (0.4 kg) | ||
|passive=[[shaft]] (1.0 kg) | |passive=[[shaft]] (1.0 kg) | ||
− | |group=Tools | + | |group=Tools * item can be found in the sub menu of the '''create''' menu |
|materials=no | |materials=no | ||
− | |result= | + | |result=Hammer - 1.4 kg |
− | |skill= | + | |skill=Blacksmithing * omit, leave blank or specify the skill used that corresponds to the creation steps |
− | |improve= | + | |improve=Smithing * specify the skill used to improve the item, omit or leave blank to show nothing. '=no' results in "Cannot be improved" |
− | |combinable=no | + | |combinable=no * omit, leave blank or use =no to show nothing, other options are yes or hot |
− | |storage= | + | |storage= * omit or leave blank to show nothing, other options are bsb or fsb |
− | |decoration=no | + | |decoration=no * omit or leave blank to show nothing, '=yes' results in 'Appears as decoration', '=no' results in 'Appears as item pile' |
− | |dyeamount= | + | |dyeable=yes * or '=no', or '=multi' for multiple dyeable areas, '=useless' for can dye but doesn't do anything or '=rune' for colorable only with rune |
− | |requiredskill= | + | |dyeamount= * omit unless item is dyeable, specify the amount (grams) of dye needed |
+ | |requiredskill= * omit unless there is a hard skill requirement, specify the skill required | ||
}} | }} | ||
</pre> | </pre> | ||
− | <pre>{{ | + | Example of a non-craftable item |
− | |name=Huge shod club | + | |
− | |result= | + | <pre> |
− | |creation=no | + | {{ItemBoxMulti |
− | + | |name=Huge shod club * will default to {{PAGENAME}} | |
− | + | |result=Huge shod club''' (15.00 kg) | |
− | | | + | |creation=no * '=no' results in 'This item can not be crafted'. Omit or leave blank to show creation steps rather than method. See complete option list above |
+ | |improve=no * specify the skill used to improve the item, omit or leave blank to show nothing. '=no' results in "Cannot be improved" | ||
+ | |dyeable=yes * or '=no', or '=multi' for multiple dyeable areas, '=useless' for can dye but doesn't do anything or '=rune' for colorable only with rune | ||
+ | |dyeamount= * omit unless item is dyeable, specify the amount (grams) of dye needed | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | Building example with materials list: | ||
<pre> | <pre> | ||
− | {{ | + | {{ItemBoxMulti |
|image=Iron fence.jpg | |image=Iron fence.jpg | ||
|name=Iron fence | |name=Iron fence | ||
|active=[[Mallet]] or [[Hammer]] | |active=[[Mallet]] or [[Hammer]] | ||
|passive=[[Tile Border]] | |passive=[[Tile Border]] | ||
− | |groupM=Fence > Iron > Build iron fence | + | |groupM=Fence > Iron > Build iron fence * item is in this menu when you right click the passive item (for items like fences where there is no create menu) |
− | |||
|materials=* 10x [[Stone brick]]s | |materials=* 10x [[Stone brick]]s | ||
* 1x [[Iron fence bars]] | * 1x [[Iron fence bars]] | ||
− | |result= | + | |result=Iron fence |
|skill=Masonry | |skill=Masonry | ||
− | |improveskill=Paving | + | |improveskill=Paving * to specify that improving gives another skill |
− | |improveItem=Stone bricks | + | |improveItem=Stone bricks * for items like fences and walls, improves using and item and not a set of tools |
|note=*You must have at least one stone brick in your [[inventory]] to start building it. | |note=*You must have at least one stone brick in your [[inventory]] to start building it. | ||
− | |dyeamount= | + | |dyeable=yes * or '=no', or '=multi' for multiple dyeable areas, '=useless' for can dye but doesn't do anything or '=rune' for colorable only with rune |
+ | |dyeamount=100 *specify amount of dye (grams) if dyeable | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | Example when action is on First right click menu: | ||
<pre> | <pre> | ||
− | {{ | + | {{ItemBoxMulti |
− | |image= | + | |image=Felled_Tree.png |
|name=Felled Tree | |name=Felled Tree | ||
|active=[[Hatchet]] | |active=[[Hatchet]] | ||
|passive=[[Tree Tile]] | |passive=[[Tree Tile]] | ||
− | |TopMost=Cut down | + | |TopMost=Cut down * Menu option where its on the top most parent menu.*** |
|materials=no | |materials=no | ||
|result=* 1 '''felled tree''' (up to 186.67 kg) | |result=* 1 '''felled tree''' (up to 186.67 kg) | ||
|skill=woodcutting | |skill=woodcutting | ||
− | |dyeable=yes | + | |dyeable=yes * or no, multi, useless or rune |
− | |||
}} | }} | ||
</pre> | </pre> | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:09, 8 December 2023
General item template for items with multiple creation methods employing multiple skills -- Uses total items required, not additional.
The template adds a box with an image of the item and lists the possible creation methods, the result and the possible skills used.
If creation= is set the box will display that instead of creation steps.
If creation2= is set it will be listed along with creation= as an additional method. Not required
If creation3= is set it will be listed along with creation= and creation2= as a third method. Not required
- Creation options are: arch, archaeology, farm, farming, fish, fishing, forage, foraging, botanize, botanizing, mine, mining, dig, digging, butcher, butchering, cook, cooking, unique, slaying, treasure or whatever you type
If skill= is set it will be listed as the skill used when creating.
If skill2 is set, skill= will be listed as a possible skill used and skill2= will be listed as another possibility. Not required
If skill3 is set, it will be listed as another possibility. Not required
Example for items with multiple creation methods:
{{ItemBoxMulti |name=Ivy seedling * will default to {{PAGENAME}} |image=Sprout.png * will default to {{PAGENAME}}.png or {{PAGENAME}}.jpg |creation=Pick from an ivy trellis * See above for full list of creation options - this example ignores options and uses free form text * '=no' results in 'This item can not be crafted'. Omit or leave blank to show creation steps rather than method |creation2=Forage * omit, leave blank or specify an alternative creation method here |creation3=Botanize * omit, leave blank or specify an alternative creation method here |result={{PAGENAME}} |skill=Gardening * omit, leave blank or specify the skill used that corresponds to the 'creation=' method or the creation steps |skill2=Foraging * omit, leave blank or specify the skill used that corresponds to the 'creation2' method |skill3=Botanizing * omit, leave blank or specify the skill used that corresponds to the 'creation3' method |improve=no * specify the skill used to improve the item, omit or leave blank to show nothing. '=no' results in "Cannot be improved" |combinable=no * omit, leave blank or use =no to show nothing, other options are yes or hot }}
Example for items with creation steps
{{ItemBoxMulti |name=Hammer * will default to {{PAGENAME}} |image=Hammer.jpg * will default to {{PAGENAME}}.png or {{PAGENAME}}.jpg |active=[[Hammer head]] (0.4 kg) |passive=[[shaft]] (1.0 kg) |group=Tools * item can be found in the sub menu of the '''create''' menu |materials=no |result=Hammer - 1.4 kg |skill=Blacksmithing * omit, leave blank or specify the skill used that corresponds to the creation steps |improve=Smithing * specify the skill used to improve the item, omit or leave blank to show nothing. '=no' results in "Cannot be improved" |combinable=no * omit, leave blank or use =no to show nothing, other options are yes or hot |storage= * omit or leave blank to show nothing, other options are bsb or fsb |decoration=no * omit or leave blank to show nothing, '=yes' results in 'Appears as decoration', '=no' results in 'Appears as item pile' |dyeable=yes * or '=no', or '=multi' for multiple dyeable areas, '=useless' for can dye but doesn't do anything or '=rune' for colorable only with rune |dyeamount= * omit unless item is dyeable, specify the amount (grams) of dye needed |requiredskill= * omit unless there is a hard skill requirement, specify the skill required }}
Example of a non-craftable item
{{ItemBoxMulti |name=Huge shod club * will default to {{PAGENAME}} |result=Huge shod club''' (15.00 kg) |creation=no * '=no' results in 'This item can not be crafted'. Omit or leave blank to show creation steps rather than method. See complete option list above |improve=no * specify the skill used to improve the item, omit or leave blank to show nothing. '=no' results in "Cannot be improved" |dyeable=yes * or '=no', or '=multi' for multiple dyeable areas, '=useless' for can dye but doesn't do anything or '=rune' for colorable only with rune |dyeamount= * omit unless item is dyeable, specify the amount (grams) of dye needed }}
Building example with materials list:
{{ItemBoxMulti |image=Iron fence.jpg |name=Iron fence |active=[[Mallet]] or [[Hammer]] |passive=[[Tile Border]] |groupM=Fence > Iron > Build iron fence * item is in this menu when you right click the passive item (for items like fences where there is no create menu) |materials=* 10x [[Stone brick]]s * 1x [[Iron fence bars]] |result=Iron fence |skill=Masonry |improveskill=Paving * to specify that improving gives another skill |improveItem=Stone bricks * for items like fences and walls, improves using and item and not a set of tools |note=*You must have at least one stone brick in your [[inventory]] to start building it. |dyeable=yes * or '=no', or '=multi' for multiple dyeable areas, '=useless' for can dye but doesn't do anything or '=rune' for colorable only with rune |dyeamount=100 *specify amount of dye (grams) if dyeable }}
Example when action is on First right click menu:
{{ItemBoxMulti |image=Felled_Tree.png |name=Felled Tree |active=[[Hatchet]] |passive=[[Tree Tile]] |TopMost=Cut down * Menu option where its on the top most parent menu.*** |materials=no |result=* 1 '''felled tree''' (up to 186.67 kg) |skill=woodcutting |dyeable=yes * or no, multi, useless or rune }}