Difference between revisions of "Template:InfoBox UO Recipe"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) 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}}{{# | + | | 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}} |