Difference between revisions of "Template:RareItem.dpl2detailed"

m (WordSmith moved page RareItem.dpl2.detailed to RareItem.dpl2detailed)
Line 1: Line 1:
 
{{#if:
 
{{#if:
{{{name|}}}|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}
+
    {{{name|}}}|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}
{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|{{{%PAGE%}}} }}
+
    {{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|{{{%PAGE%}}} }}
{{!!}}[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]
+
    {{!!}}[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]
{{!!}}{{#if: {{{graphic|}}} |[[:Category:UO:Items_using_graphic_{{{graphic}}}|{{{graphic}}}]]|unknown}}
+
    {{!!}}{{#if: {{{graphic|}}} |[[:Category:UO:Items_using_graphic_{{{graphic}}}|{{{graphic}}}]]|unknown}}
{{!!}}{{#if: {{{hue|}}} |[[:Category:UO:Items_using_hue_{{{hue}}}|{{{hue}}}]]|unknown}}
+
    {{!!}}{{#if: {{{hue|}}} |[[:Category:UO:Items_using_hue_{{{hue}}}|{{{hue}}}]]|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:UO:{{#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:UO:{{#var:itemtype}}s|{{#var:itemtype}}]] }}|[[:Category:Items of unknown origin|unknown]]}}
{{!!}}
+
    {{!!}}
{{!!}}{{#if: {{{quantity|}}} |{{#replace: {{{quantity}}}|*|∗}}|unknown[[Category:UO:Rares of unknown quantity]]}}
+
    {{!!}}{{#if: {{{quantity|}}} |{{#replace: {{{quantity}}}|*|∗}}|unknown[[Category:UO:Rares of unknown quantity]]}}
 
}}
 
}}

Revision as of 07:01, 2 October 2018