Difference between revisions of "Template:InfoBox UO Recipe"

m
m
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#arraydefine:ingreds| <!--The extra commas here are to allow clean newlines between different items. -->
+
<includeonly>{{#arraydefine:graphic_is_wearable|{{UOGraphicList_wearable}}}}{{#vardefine: wearSlot|{{#explode:{{#arrayindex:graphic_is_wearable|{{#arraysearch:graphic_is_wearable|/{{{graphic}}};\w?/|0}}|-1}}|;|1}} }}{{#arraydefine:ingreds| <!--The extra commas here are to allow clean newlines between different items. -->
 +
,Unabridged Atlas Of Eodon,
 +
,Level 1 Treasure Map,
 +
,Level 3 Treasure Map,
 +
,Level 4 Treasure Map,
 +
,Resolve's Bridle,
 +
,Ring Of The Elements,
 +
,Leggings Of Bane,
 +
,Black Moonstone,
 +
,Hat Of The Magi,
 +
,Level 5 Treasure Map,
 +
,Blow Pipe,
 +
,Fresh Seasoning,
 +
,Raw Serpent Steak,
 +
,Salt,
 +
,Dried Herbs,
 +
,Cure Of Defense,
 +
,Cure Of Fortification,
 +
,Cure Of Hardening,
 +
,Cure Of Invulnerability,
 +
,Raw Dino Ribs,
 +
,Cure Of Protection,
 +
,Gloss Of Defense,
 +
,Gloss Of Fortification,
 +
,Gloss Of Hardening,
 +
,Quicksilver,
 +
,Gloss Of Invulnerability,
 +
,Gloss Of Protection,
 +
,Polish Of Defense,
 +
,Polish Of Fortification,
 +
,Polish Of Hardening,
 +
,Polish Of Invulnerability,
 +
,Polish Of Protection,
 +
,Scour Of Defense,
 +
,Scour Of Fortification,
 +
,Scour Of Hardening,
 +
,Scour Of Invulnerability,
 +
,Scour Of Protection,
 +
,Varnish Of Defense,
 +
,Varnish Of Fortification,
 +
,Varnish Of Hardening,
 +
,Varnish Of Invulnerability,
 +
,Varnish Of Protection,
 +
,Wash Of Defense,
 +
,Wash Of Fortification,
 +
,Wash Of Hardening,
 +
,Wash Of Invulnerability,
 +
,Wash Of Protection,
 +
,Sand,
 +
,Academic Books,
 +
,Mallet And Chisel,
 +
,Map,
 +
,Granite,
 
,Abyssal Cloth,
 
,Abyssal Cloth,
 
,Acid Sac,
 
,Acid Sac,
 
,Ancient Parchment,
 
,Ancient Parchment,
 +
,Crystal Granules,
 +
,Gauntlets Of Nobility,
 
,Antique Documents Kit,
 
,Antique Documents Kit,
 
,Apple,
 
,Apple,
 +
,Logs,
 
,Arcanic Rune Stone,
 
,Arcanic Rune Stone,
 
,A Small Piece Of Blackrock,
 
,A Small Piece Of Blackrock,
 
,Autumn Dragonfish Steak,
 
,Autumn Dragonfish Steak,
 
,Ball Of Yarn,
 
,Ball Of Yarn,
 +
,Animal Pheromone,
 +
,Hitching Rope,
 +
,Rope,
 +
,Phillip's Wooden Steed,
 
,Bananas,
 
,Bananas,
 
,Bark Fragment,
 
,Bark Fragment,
Line 30: Line 89:
 
,Bottle Of Wine,
 
,Bottle Of Wine,
 
,Boura Pelt,
 
,Boura Pelt,
 +
,Bread Loaf,
 
,Bowl Of Peas,
 
,Bowl Of Peas,
 
,Bowl Of Rotworm Stew,
 
,Bowl Of Rotworm Stew,
Line 96: Line 156:
 
,Fire Fish Steak,
 
,Fire Fish Steak,
 
,Fire Ruby,
 
,Fire Ruby,
 +
,Amber
 +
,Amethyst
 +
,Citrine
 +
,Diamond
 +
,Emerald
 +
,Ruby
 +
,Sapphire
 +
,Star Sapphire
 +
,Tourmaline
 
,Foil Sheet,
 
,Foil Sheet,
 
,Fresh Ginger,
 
,Fresh Ginger,
Line 116: Line 185:
 
,Hollow Prism,
 
,Hollow Prism,
 
,Holy Mackerel Steak,
 
,Holy Mackerel Steak,
 +
,Ingots
 
,Jar Of Honey,
 
,Jar Of Honey,
 
,Lard of Paroxysmus,
 
,Lard of Paroxysmus,
Line 128: Line 198:
 
,Mandrake Root,
 
,Mandrake Root,
 
,Medusa Blood,
 
,Medusa Blood,
 +
,Dried Herbs,
 +
,Ham,
 
,Mento Seasoning,
 
,Mento Seasoning,
 
,Midnight Bracers,
 
,Midnight Bracers,
Line 218: Line 290:
 
,Yellowtail Barracuda Steak,
 
,Yellowtail Barracuda Steak,
 
,Zoogi Fungus,
 
,Zoogi Fungus,
}}{{#arrayunique:ingreds}}{{#arraysort:ingreds|asc}}{{#arraydefine:skills|Alchemy,Anatomy,Animal Lore,Animal Taming,Archery,Arms Lore,Basket Weaving,Begging,Blacksmithing,Bushido,Camping,Carpentry,Cartography,Chivalry,Cooking,Detecting Hidden,Discordance,Evaluating Intelligence,Fencing,Fishing,Fletching,Focus,Forensic Evaluation,Glassblowing,Healing,Herding,Hiding,Imbuing,Inscription,Item Identification,Lock Picking,Lumberjacking,Mace Fighting,Magery,Masonry,Meditation,Mining,Musicianship,Mysticism,Necromancy,Ninjitsu,Parrying,Peacemaking,Poisoning,Provocation,Remove Trap,Resisting Spells,Snooping,Spellweaving,Spirit Speak,Stealing,Stealth,Swordsmanship,Tactics,Tailoring,Taste Identification,Throwing,Tinkering,Tracking,Veterinary,Wrestling}}
+
}}{{#arrayunique:ingreds}}{{#arraysort:ingreds|asc}}{{#arraydefine:skills|Alchemy,Anatomy,Animal Lore,Animal Taming,Archery,Arms Lore,Basket Weaving,Begging,Blacksmithing,Bushido,Camping,Carpentry,Cartography,Chivalry,Cooking,Detecting Hidden,Discordance,Evaluating Intelligence,Fencing,Fishing,Fletching,Focus,Forensic Evaluation,Glassblowing,Healing,Herding,Hiding,Imbuing,Inscription,Item Identification,Lock Picking,Lumberjacking,Mace Fighting,Magery,Meditation,Mining,Musicianship,Mysticism,Necromancy,Ninjitsu,Parrying,Peacemaking,Poisoning,Provocation,Remove Trap,Resisting Spells,Snooping,Spellweaving,Spirit Speak,Stealing,Stealth,Stone Crafting,Swordsmanship,Tactics,Tailoring,Taste Identification,Throwing,Tinkering,Tracking,Veterinary,Wrestling}}
{| class=infobox style="clear: right;"
+
{| class=infobox style="clear: right;max-width: 55%;"
 
|class=titlecell colspan="2"|Craftable {{ucfirst:{{{type|Item}}}}}
 
|class=titlecell colspan="2"|Craftable {{ucfirst:{{{type|Item}}}}}
 
|-
 
|-
Line 230: Line 302:
 
|{{#arrayprint:skills| |@@@@|{{#if:{{{@@@@|}}}|{{#ifeq:{{PAGEID}}|187693||[[Category:UO @@@@]]}}{{#switch: @@@@
 
|{{#arrayprint:skills| |@@@@|{{#if:{{{@@@@|}}}|{{#ifeq:{{PAGEID}}|187693||[[Category:UO @@@@]]}}{{#switch: @@@@
 
| Basket Weaving
 
| Basket Weaving
 +
| Stone Crafting
 
| Glassblowing = [[UO:@@@@]]
 
| Glassblowing = [[UO:@@@@]]
 
| #default = {{{@@@@|}}} [[UO:@@@@]]
 
| #default = {{{@@@@|}}} [[UO:@@@@]]
Line 237: Line 310:
 
|{{#if:{{{mana|}}}|{{{mana|}}} mana}}
 
|{{#if:{{{mana|}}}|{{{mana|}}} mana}}
 
|-
 
|-
|Can be exceptionally crafted
+
|Can be exceptional
 
|{{#if:{{{exceptional|}}}|Yes|No}}
 
|{{#if:{{{exceptional|}}}|Yes|No}}
 +
|-
 +
| Wearable Slot
 +
| {{#if: {{#var: wearSlot}} |{{#var: wearSlot}}[[Category:UO {{#var: wearSlot}}-Slot Items]]|None}}
 +
|-
 +
| Wieldable
 +
| {{#arraydefine:graphic_is_wieldable|{{UOGraphicList_wieldable}}}}{{#ifeq:{{#explode:{{#arrayindex:graphic_is_wieldable|{{#arraysearch:graphic_is_wieldable|/{{{graphic}}};\w?/|0}}|-1}}|;|0}}|{{{graphic}}}|Yes|No}}
 
|-
 
|-
 
| Required Recipe
 
| Required Recipe
|style="white-space: nowrap;"| {{#if:{{{recipe|}}}|{{UO_Image|image|Recipe|no}} [[UO:{{{name}}} Recipe]]|None}}
+
|style="white-space: nowrap;padding-right: 1rem;"| {{#if:{{{recipe|}}}|{{UO_Image|image|Recipe|no}} [[UO:{{{recipe_name|{{{name}}}}}} Recipe]][[Category:UO Items that require Recipes]]|None}}
 
|-
 
|-
| Tool Required|| {{#ifeq:{{lc:{{{tool|none}}}}}|none|None|{{#arraydefine:tools|{{{tool}}}}}{{#arraysort:tools|asc}}{{#arrayprint:tools|&nbsp;''or''<br>|@@@@|{{UO_Image|image|@@@@}}}}}}
+
| Tool Required
 +
|style="padding-right: 1rem;"| {{#ifeq:{{lc:{{{tool|none}}}}}|none|None|{{#arraydefine:tools|{{{tool}}}}}{{#arraysort:tools|asc}}
 +
{{#ifexpr: {{#arraysize:tools}} > 1|''Any of:''<br>|}}{{#arrayprint:tools||@@@@|<div style="white-space: nowrap;padding-right: 0.75rem;height:2.5rem;">{{UO_Image|image|@@@@}}</div>}}}}
 
|-
 
|-
 
|{{#if:{{{proximity|}}}|Must Be Near}}
 
|{{#if:{{{proximity|}}}|Must Be Near}}
 
|{{#if:{{{proximity|}}}|[[UO:{{{proximity|}}}]]}}
 
|{{#if:{{{proximity|}}}|[[UO:{{{proximity|}}}]]}}
|-
 
|{{#if:{{{deeded|}}}|colspan=2{{!}}This item is created in deed form.}}
 
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Stackable
 
| field = Stackable
 
| param = {{{stackable}}}
 
| param = {{{stackable}}}
 
}}
 
}}
 +
|-
 +
|{{#if:{{{deeded|}}}|colspan=2{{!}}<br>''This item is created in deed form.''}}
 
|-
 
|-
 
| &nbsp;
 
| &nbsp;
Line 258: Line 339:
 
|class=titlecell colspan="2"|Ingredients
 
|class=titlecell colspan="2"|Ingredients
 
|-
 
|-
|
 
 
|style="white-space: nowrap;"|{{#arrayprint:ingreds| |@@@@|{{#if:{{{@@@@|}}}|{{{@@@@|}}} {{UO_Image|image|@@@@}}{{#ifeq:{{PAGEID}}|187693||[[Category:UO Craftable Items Using @@@@]]}}<br> }} }}
 
|style="white-space: nowrap;"|{{#arrayprint:ingreds| |@@@@|{{#if:{{{@@@@|}}}|{{{@@@@|}}} {{UO_Image|image|@@@@}}{{#ifeq:{{PAGEID}}|187693||[[Category:UO Craftable Items Using @@@@]]}}<br> }} }}
|}</includeonly><noinclude>
+
|}
{{InfoBox_UO_Recipe
+
</includeonly>
| name = Test Item
 
| Alchemy = 100.0
 
| Magery = 69.4
 
| Dark Sapphire = 1
 
| Diseased Bark = 5
 
| Dread Horn Mane = 10
 
| Ecru Citrine = 100
 
| recipe = Test Item
 
| tool = Sewing Kit
 
| stackable = no
 
}}
 
 
 
{{InfoBox_UO_Recipe
 
| name = Test Item 2
 
| Basket Weaving = 1
 
| Arms Lore = 99.5
 
| Scourge = 1
 
| Dread Horn Mane = 10
 
| Luminescent Fungi = 50
 
| Parasitic Plant = 1
 
| tool = none
 
| type = potion
 
| stackable = yes
 
| weight = 1
 
}}
 
 
 
{{InfoBox_UO_Recipe
 
| name = Test Item 3
 
| Arms Lore = 12
 
| Bark Fragment = 1
 
| Blight = 1
 
| Blue Diamond = 1
 
| Brilliant Amber = 1
 
| Captured Essence = 1
 
| Corruption = 1
 
| Dark Sapphire = 1
 
| Diseased Bark = 1
 
| Dread Horn Mane = 1
 
| Ecru Citrine = 1
 
| Eye Of The Travesty = 1
 
| Fire Ruby = 1
 
| Grizzled Bones = 1
 
| Lard of Paroxysmus = 1
 
| Luminescent Fungi = 1
 
| Muculent = 1
 
| Parasitic Plant = 1
 
| Perfect Emerald = 1
 
| Putrefaction = 1
 
| Scourge = 1
 
| Taint = 1
 
| Turquoise = 1
 
| White Pearl|
 
| category = Explosive
 
| proximity = Oven
 
}}
 
<noinclude>
 

Latest revision as of 23:22, 21 June 2020