Difference between revisions of "Template:RareItem.dpl9"

m
m
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#if: {{{name|}}}|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]
 
{{#if: {{{name|}}}|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]
 +
{{!!}}{{#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}}
+
{{!!}}{{#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:UO:Items of unknown origin|unknown]]}} }}
[[:Category:UO:{{#var:itemtype}}s|{{#var:itemtype}}]] }}|[[:Category:Items of unknown origin|unknown]]}} }}{{!!}}
+
{{!!}}{{#if: {{{year|}}} |{{{year}}}|{{#if:{{{season|}}}|20{{padleft:{{#expr: 2+{{{season}}} }}|2}}|unknown}} }}
{{!!}}{{#if: {{{Arirang|}}} |{{{Arirang|}}}|}}
+
{{!}}style="white-space:nowrap;"{{!}}{{#switch:{{{Atlantic|0}}}{{{Baja|0}}}{{{Catskills|0}}}{{{Chesapeake|0}}}{{{Drachenfels|0}}}{{{Europa|0}}}{{{GL|0}}}{{{LA|0}}}{{{Legends|0}}}{{{LS|0}}}{{{Napa|0}}}{{{Origin|0}}}{{{Pacific|0}}}{{{Sonoma|0}}}{{{SP|0}}}{{{Asuka|0}}}{{{Hokuto|0}}}{{{Izumo|0}}}{{{Mizuho|0}}}{{{Mugen|0}}}{{{Sakura|0}}}{{{Wakoku|0}}}{{{Yamato|0}}}{{{Arirang|0}}}{{{Balhae|0}}}{{{Formosa|0}}}{{{Oceania|0}}}
{{#if: {{{Asuka|}}} |{{{Asuka|}}}|}}
+
| 111111111111111000000000000
{{#if: {{{Atlantic|}}} |{{{Atlantic|}}}|}}
+
| 111111111111111000000000001
{{#if: {{{Baja|}}} |{{{Baja|}}}|}}
+
| 111111111111111000000000010
{{#if: {{{Balhae|}}} |{{{Balhae|}}}|}}
+
| 111111111111111000000000011 = All Western Shards
{{#if: {{{Catskills|}}} |{{{Catskills|}}}|}}
+
| 000000000000000111111110000
{{#if: {{{Chesapeake|}}} |{{{Chesapeake|}}}|}}
+
| 000000000000000111111110001
{{#if: {{{Drachenfels|}}} |{{{Drachenfels|}}}|}}
+
| 000000000000000111111110010
{{#if: {{{Europa|}}} |{{{Europa|}}}|}}
+
| 000000000000000111111110011 = All Japanese Shards
{{#if: {{{Formosa|}}} |{{{Formosa|}}}|}}
+
| 000000000000000000000001100
{{#if: {{{GL|}}} |{{{GL|}}}|}}
+
| 000000000000000000000001101
{{#if: {{{Hokuto|}}} |{{{Hokuto|}}}|}}
+
| 000000000000000000000001110
{{#if: {{{Izumo|}}} |{{{Izumo|}}}|}}
+
| 000000000000000000000001111 = All Korean Shards
{{#if: {{{LA|}}} |{{{LA|}}}|}}
+
| 111111111111111111111111111 = All Shards
{{#if: {{{Legends|}}} |{{{Legends|}}}|}}
+
| #default = {{#if: {{{Atlantic|}}}|Atlantic}}{{#if: {{{Baja|}}}|Baja}}{{#if: {{{Catskills|}}}|Catskills}}{{#if: {{{Chesapeake|}}}|Chesapeake}}{{#if: {{{Drachenfels|}}}|Drachenfels}}{{#if: {{{Europa|}}}|Europa}}{{#if: {{{GL|}}}|Great Lakes}}{{#if: {{{LA|}}}|Lake Austin}}{{#if: {{{Legends|}}}|Legends}}{{#if: {{{LS|}}}|Lake Superior}}{{#if: {{{Napa|}}}|Napa Valley}}{{#if: {{{Origin|}}}|Origin}}{{#if: {{{Pacific|}}}|Pacific}}{{#if: {{{Sonoma|}}}|Sonoma}}{{#if: {{{SP|}}}|Siege Perilous}}{{#if: {{{Asuka|}}}|Asuka}}{{#if: {{{Hokuto|}}}|Hokuto}}{{#if: {{{Izumo|}}}|Izumo}}{{#if: {{{Mizuho|}}}|Mizuho}}{{#if: {{{Mugen|}}}|Mugen}}{{#if: {{{Sakura|}}}|Sakura}}{{#if: {{{Wakoku|}}}|Wakoku}}{{#if: {{{Yamato|}}}|Yamato}}{{#if: {{{Arirang|}}}|Arirang}}{{#if: {{{Balhae|}}}|Balhae}}{{#if: {{{Formosa|}}}|Formosa}}{{#if: {{{Oceania|}}}|Oceania}} }}
{{#if: {{{LS|}}} |{{{LS|}}}|}}
+
|{{{quantity|?}}}
{{#if: {{{Mizuho|}}} |{{{Mizuho|}}}|}}
 
{{#if: {{{Mugen|}}} |{{{Mugen|}}}|}}
 
{{#if: {{{Napa|}}} |{{{Napa|}}}|}}
 
{{#if: {{{Oceania|}}} |{{{Oceania|}}}|}}
 
{{#if: {{{Origin|}}} |{{{Origin|}}}|}}
 
{{#if: {{{Pacific|}}} |{{{Pacific|}}}|}}
 
{{#if: {{{Sakura|}}} |{{{Sakura|}}}|}}
 
{{#if: {{{Sonoma|}}} |{{{Sonoma|}}}|}}
 
{{#if: {{{SP|}}} |{{{SP|}}}|}}
 
{{#if: {{{Wakoku|}}} |{{{Wakoku|}}}|}}
 
{{#if: {{{Yamato|}}} |{{{Yamato|}}}|}}
 
{{!!}}{{#if: {{{year|}}} |{{{year|}}}|unknown}}
 

Latest revision as of 01:32, 20 April 2020

||unknown |style="white-space:nowrap;"| |?