Difference between revisions of "Template:RareItem.dpl9"

m
m
 
(13 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]]}} }}
{{!!}}{{#if: {{{year|}}} |{{{year|}}}|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<br>|}}
+
{{!}}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<br>|}}
+
| 111111111111111000000000000
{{#if: {{{Atlantic|}}}|Atlantic<br>|}}
+
| 111111111111111000000000001
{{#if: {{{Baja|}}}|Baja<br>|}}
+
| 111111111111111000000000010
{{#if: {{{Balhae|}}}|Balhae<br>|}}
+
| 111111111111111000000000011 = All Western Shards
{{#if: {{{Catskills|}}}|Catskills<br>|}}
+
| 000000000000000111111110000
{{#if: {{{Chesapeake|}}}|Chesapeake<br>|}}
+
| 000000000000000111111110001
{{#if: {{{Drachenfels|}}}|Drachenfels<br>|}}
+
| 000000000000000111111110010
{{#if: {{{Europa|}}}|Europa<br>|}}
+
| 000000000000000111111110011 = All Japanese Shards
{{#if: {{{Formosa|}}}|Formosa<br>|}}
+
| 000000000000000000000001100
{{#if: {{{GL|}}}|GL<br>|}}
+
| 000000000000000000000001101
{{#if: {{{Hokuto|}}}|Hokuto<br>|}}
+
| 000000000000000000000001110
{{#if: {{{Izumo|}}}|Izumo<br>|}}
+
| 000000000000000000000001111 = All Korean Shards
{{#if: {{{LA|}}}|LA<br>|}}
+
| 111111111111111111111111111 = All Shards
{{#if: {{{Legends|}}}|Legends<br>|}}
+
| #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<br>|}}
+
|{{{quantity|?}}}
{{#if: {{{Mizuho|}}}|Mizuho<br>|}}
 
{{#if: {{{Mugen|}}}|Mugen<br>|}}
 
{{#if: {{{Napa|}}}|Napa<br>|}}
 
{{#if: {{{Oceania|}}}|Oceania<br>|}}
 
{{#if: {{{Origin|}}}|Origin<br>|}}
 
{{#if: {{{Pacific|}}}|Pacific<br>|}}
 
{{#if: {{{Sakura|}}}|Sakura<br>|}}
 
{{#if: {{{Sonoma|}}}|Sonoma<br>|}}
 
{{#if: {{{SP|}}}|SP<br>|}}
 
{{#if: {{{Wakoku|}}}|Wakoku<br>|}}
 
{{#if: {{{Yamato|}}}|Yamato<br>|}}
 

Latest revision as of 01:32, 20 April 2020

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