Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!
Template:Salvagebox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 34: | Line 34: | ||
|salvage= 1 15 Metal Scrap | |salvage= 1 15 Metal Scrap | ||
}} | }} | ||
{{ | {{Resourceboxbottom}} | ||
|} | |} | ||
[[Category: | [[Category:Misc templates| 2]]</noinclude><includeonly>|- | ||
| style="vertical-align:middle; | | style="vertical-align:middle;" | {{#arraymap:{{{salvage|}}}|;|y|{{#vardefine:pagename|{{#sub:y|{{#pos:y| |3}}}}}}{{#vardefine:minquan|{{#explode:y| |0}}}}{{#vardefine:maxquan|{{#explode:y| |1}}}} {{#ifeq:{{#show: {{#var:pagename}}|?has icon}}||[[File:Wiki_image_needed_logo.png|20px|link={{#var:pagename}}|alt={{#var:pagename}}]]|[[{{#show: {{#var:pagename}} | ?has icon|link=none}}|20px|link={{#var:pagename}}|alt={{#var:pagename}}]]}}[[{{#var:pagename}}]] ({{#var:minquan}}{{#ifexpr:({{#var:maxquan}} > 0)|-{{#var:maxquan}}|}})|, }}[[{{lc:{{#var:pagename}}}} loot::{{PAGENAME}}| ]][[{{lc:{{PAGENAME}}}} salvage::{{#var:pagename}}| ]]{{#ifexist:{{#var:pagename}}| | [[Category:Salvage item missing]]}}</includeonly> | ||
Latest revision as of 16:29, 3 January 2022
Purpose
This template may be used to display what can be salvaged from an item.
Usage[edit]
{{Salvagebox
|salvage=
}}
|
Parameters[edit]
| Parameter | Explanation |
|---|---|
| salvage | List each item that can be salvaged from the item. Enter each item in a colon-separated list preceeded by the minimum and maximum number possible for that item (e.g., "1 15 Metal Scrap" for "Metal Scrap (1-15)") |
Examples[edit]
{{Salvagebox
|salvage= 1 15 Metal Scrap
}}
| ||
SalvageBy destroying this item using a Blacksmithing Station and the Salvage Item recipe, you have a chance to obtain the following. If an item states specifically it has a pattern in the item description, the stated pattern will always be obtained:
|