Difference between revisions of "Template:RareItem.dpl"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#vardefine: imagename|File:UO-Item-{{{graphic}}}-{{{hue}}}.png}}{{#if: {{{image|}}} | {{#vardefine: imagename|File:{{{image}}} }} }}<span style="padding-right: 1em;" class="verticalcenterimg">[[{{#var: imagename}}]]</span>||[[{{{%PAGE%}}}|{{{name}}} {{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]] | + | {{#vardefine: imagename|File:UO-Item-{{{graphic}}}-{{{hue}}}.png}}{{#if: {{{image|}}} | {{#vardefine: imagename|File:{{{image}}} }} }}<span style="padding-right: 1em;" class="verticalcenterimg">[[{{#var: imagename}}]]</span>||[[{{{%PAGE%}}}|{{{name}}} {{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]||{{{graphic}}}||{{{hue}}}||{{#if:{{{type|}}}|{{#arraydefine:types|{{{type}}} }}{{#arraysort:types|asc}}{{#arrayprint:types |, |@@@@ | {{#vardefine: itemtype |{{#replace: {{#replace: {{#replace: @@@@|Em|EM}}|Gm|GM}}|Igm|IGM}}{{#ifeq: {{Boolean|{{{crafted}}} }} | true |-crafted|}} Item}}[[Category:{{#var:itemtype}}s]][[:Category:{{#var:itemtype}}s|{{#var:itemtype}}]] }}|[[:Category:Items of unknown origin|unknown]]}} |
Revision as of 10:44, 15 August 2016
[[File:UO-Item-{{{graphic}}}-{{{hue}}}.png]]||[[{{{%PAGE%}}}|{{{name}}} ]]||{{{graphic}}}||{{{hue}}}||unknown