Difference between revisions of "Template:InfoBox UO Recipe"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#arraydefine:graphic_is_wearable|{{UOGraphicList_wearable}}}}{{#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, | ,Unabridged Atlas Of Eodon, | ||
,Level 1 Treasure Map, | ,Level 1 Treasure Map, | ||
Line 269: | Line 269: | ||
|- | |- | ||
| Wearable Slot | | Wearable Slot | ||
− | | {{# | + | | {{#if: {{#var: wearSlot}} |{{#var: wearSlot}}[[Category:UO {{#var: wearSlot}}-Slot Items]]|None}} |
|- | |- | ||
| Wieldable | | Wieldable | ||
Line 295: | Line 295: | ||
|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> | </includeonly> |