Difference between revisions of "Template:RareItem.dpl2"

m
m
Line 1: Line 1:
{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}
+
{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|{{{%PAGE%}}}}}
 
||[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]
 
||[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]
 
||[[:Category:UO:Items_using_graphic_{{{graphic}}}|{{{graphic}}}]]
 
||[[:Category:UO:Items_using_graphic_{{{graphic}}}|{{{graphic}}}]]
 
||[[:Category:UO:Items_using_hue_{{{hue}}}|{{{hue}}}]]
 
||[[:Category:UO:Items_using_hue_{{{hue}}}|{{{hue}}}]]
 
||{{#if:{{{type|}}}|{{#arraydefine:types|{{{type}}} }}{{#arraysort:types|asc}}{{#arrayprint:types |,  |@@@@  | {{#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 |,  |@@@@  | {{#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]]}}

Revision as of 11:01, 25 August 2016

ImageNotAvailable.png ||[[{{{%PAGE%}}}|{{{name}}} ]] ||[[:Category:UO:Items_using_graphic_{{{graphic}}}|{{{graphic}}}]] ||[[:Category:UO:Items_using_hue_{{{hue}}}|{{{hue}}}]] ||unknown