Difference between revisions of "Template:RareItem.dpl2"

m
m
 
(5 intermediate revisions by the same user not shown)
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}}|link={{{%PAGE%}}}]]</span>
+
{{#if: {{{name|}}}|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|{{{%PAGE%}}}}}
||[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#if: {{{crafter|}}}| {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]
+
{{!!}}[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]
||[[:Category:UO:Items_using_graphic_{{{graphic}}}|{{{graphic}}}]]
+
{{!!}}{{#if: {{{graphic|}}} |[[:Category:UO:Items_using_graphic_{{{graphic}}}|{{{graphic}}}]]|unknown}}
||[[:Category:UO:Items_using_hue_{{{hue}}}|{{{hue}}}]]
+
{{!!}}{{#if: {{{hue|}}} |[[:Category:UO:Items_using_hue_{{{hue}}}|{{{hue}}}]]|unknown}}
||{{#if:{{{type|}}}|{{#arraydefine:types|{{{type}}} }}{{#arraysort:types|asc}}{{#arrayprint:types |,&nbsp; |@@@@  | {{#vardefine: itemtype |{{#replace: {{#replace: {{#replace: @@@@|Em|EM}}|Gm|GM}}|Igm|IGM}}{{#if: {{{crafter|}}}|-crafted|}} Item}}[[:Category:{{#var:itemtype}}s|{{#var:itemtype}}]] }}|[[:Category:Items of unknown origin|unknown]]}}
+
{{!!}}{{#if:{{{type|}}}|{{#arraydefine:types|{{{type}}} }}{{#arraysort:types|asc}}{{#arrayprint:types |,&nbsp; |@@@@  | {{#vardefine: itemtype |{{#replace: {{#replace: {{#replace: @@@@|Em|EM}}|Gm|GM}}|Igm|IGM}}{{#if: {{{crafter|}}}|-crafted|}} Item}}[[:Category:UO:{{#var:itemtype}}s|{{#var:itemtype}}]] }}|[[:Category:Items of unknown origin|unknown]]}} }}

Latest revision as of 06:05, 28 August 2016