Difference between revisions of "Template:InfoBox UO Recipe"

m
m
 
(54 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 19: Line 78:
 
,Blight,
 
,Blight,
 
,Blood Moss,
 
,Blood Moss,
 +
,Blood Of The Dark Father,
 
,Blue Corn,
 
,Blue Corn,
 
,Blue Diamond,
 
,Blue Diamond,
 
,Blue Lobster Meat,
 
,Blue Lobster Meat,
 
,Boards,
 
,Boards,
 +
,Bolt Of Cloth,
 
,Bone,
 
,Bone,
 
,Bottle of Ichor,
 
,Bottle of Ichor,
Line 28: 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 38: Line 100:
 
,Chaga Mushroom,
 
,Chaga Mushroom,
 
,Charcoal,
 
,Charcoal,
,Wheel Of Cheese,
+
,Cloth,
 
,Cocoa Butter,
 
,Cocoa Butter,
 
,Cocoa Liquor,
 
,Cocoa Liquor,
Line 50: Line 112:
 
,Crystalline Blackrock,
 
,Crystalline Blackrock,
 
,Crystal Shards,
 
,Crystal Shards,
 +
,Cure,
 +
,Cut Cloth,
 
,Cut Of Raw Ribs,
 
,Cut Of Raw Ribs,
 
,Daemon Blood,
 
,Daemon Blood,
Line 62: Line 126:
 
,Dragon's Blood,
 
,Dragon's Blood,
 
,Dragon Scale,
 
,Dragon Scale,
 +
,Dragon Turtle Scute,
 
,Dread Horn Mane,
 
,Dread Horn Mane,
 
,Dry Reeds,
 
,Dry Reeds,
 +
,Dyes,
 
,Ear Of Corn,
 
,Ear Of Corn,
 
,Ecru Citrine,
 
,Ecru Citrine,
Line 90: 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 98: Line 173:
 
,Goblin Blood,
 
,Goblin Blood,
 
,Gold Coin,
 
,Gold Coin,
 +
,Gold Dust,
 
,Gorgon Lens,
 
,Gorgon Lens,
 
,Grapes,
 
,Grapes,
Line 108: Line 184:
 
,Head Of Lettuce,
 
,Head Of Lettuce,
 
,Hollow Prism,
 
,Hollow Prism,
,Holy Mackeral Steak,
+
,Holy Mackerel Steak,
 +
,Ingots
 
,Jar Of Honey,
 
,Jar Of Honey,
 
,Lard of Paroxysmus,
 
,Lard of Paroxysmus,
Line 114: Line 191:
 
,Lava Fish Steak,
 
,Lava Fish Steak,
 
,Lava Serpent Crust,
 
,Lava Serpent Crust,
 +
,Leather,
 +
,Leather Braid,
 
,Lodestone,
 
,Lodestone,
 
,Luminescent Fungi,
 
,Luminescent Fungi,
Line 119: Line 198:
 
,Mandrake Root,
 
,Mandrake Root,
 
,Medusa Blood,
 
,Medusa Blood,
 +
,Dried Herbs,
 +
,Ham,
 
,Mento Seasoning,
 
,Mento Seasoning,
 +
,Midnight Bracers,
 
,Moonstone Crystal Shards,
 
,Moonstone Crystal Shards,
 
,Mortar And Pestle,
 
,Mortar And Pestle,
Line 169: Line 251:
 
,Spider Crab Meat,
 
,Spider Crab Meat,
 
,Spiders' Silk,
 
,Spiders' Silk,
 +
,Spool Of Thread,
 
,Squash,
 
,Squash,
 
,Stone Crab Meat,
 
,Stone Crab Meat,
Line 197: Line 280:
 
,Void Essence,
 
,Void Essence,
 
,Void Orb,
 
,Void Orb,
 +
,Wash,
 
,Water,
 
,Water,
 
,Wheat Sheaf,
 
,Wheat Sheaf,
 +
,Wheel Of Cheese,
 
,White Pearl,
 
,White Pearl,
 
,Wilted Soul Fragments,
 
,Wilted Soul Fragments,
Line 205: Line 290:
 
,Yellowtail Barracuda Steak,
 
,Yellowtail Barracuda Steak,
 
,Zoogi Fungus,
 
,Zoogi Fungus,
}}{{#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 215: Line 300:
 
|-
 
|-
 
|Skill(s) Required
 
|Skill(s) Required
|{{#arrayprint:skills| |@@@@|{{#if:{{{@@@@|}}}|{{#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 223: Line 309:
 
|{{#if:{{{mana|}}}|Mana Cost}}
 
|{{#if:{{{mana|}}}|Mana Cost}}
 
|{{#if:{{{mana|}}}|{{{mana|}}} mana}}
 
|{{#if:{{{mana|}}}|{{{mana|}}} mana}}
 +
|-
 +
|Can be exceptional
 +
|{{#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}}
Line 235: Line 332:
 
| param = {{{stackable}}}
 
| param = {{{stackable}}}
 
}}
 
}}
 +
|-
 +
|{{#if:{{{deeded|}}}|colspan=2{{!}}<br>''This item is created in deed form.''}}
 
|-
 
|-
 
| &nbsp;
 
| &nbsp;
Line 240: 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