Difference between revisions of "Template:InfoBox UO Recipe"

m
m
Line 312: Line 312:
 
|style="white-space: nowrap;"| {{#if:{{{recipe|}}}|{{UO_Image|image|Recipe|no}} [[UO:{{{recipe_name|{{{name}}}}}} Recipe]][[Category:UO Items that require Recipes]]|None}}
 
|style="white-space: nowrap;"| {{#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>|@@@@|<div style="white-space: nowrap;padding-right: 0.75rem;">{{UO_Image|image|@@@@}}</div>}}}}
+
| Tool Required|| {{#ifeq:{{lc:{{{tool|none}}}}}|none|None|{{#arraydefine:tools|{{{tool}}}}}{{#arraysort:tools|asc}}
 +
{{#ifexpr: {{#arraysize:tools}} > 1|''Any of:''<br>|}}{{#arrayprint:tools|<br>|@@@@|<div style="white-space: nowrap;padding-right: 0.75rem;">{{UO_Image|image|@@@@}}</div>}}}}
 
|-
 
|-
 
|{{#if:{{{proximity|}}}|Must Be Near}}
 
|{{#if:{{{proximity|}}}|Must Be Near}}

Revision as of 06:18, 29 January 2020