Difference between revisions of "Template:RareItem.dpl9"

m
m
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{{!!}}{{#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:{{{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}}}|{{#if:{{{season|}}}|20{{padleft:{{#expr: 2+{{{season}}} }}|2}}|unknown}} }}
 
{{!!}}{{#if: {{{year|}}} |{{{year}}}|{{#if:{{{season|}}}|20{{padleft:{{#expr: 2+{{{season}}} }}|2}}|unknown}} }}
{{!}}style="white-space:nowrap;"{{!}}{{#if: {{{Atlantic|}}}|{{#if: {{{Baja|}}}|{{#if: {{{Catskills|}}}|{{#if: {{{Chesapeake|}}}|{{#if: {{{Drachenfels|}}}|{{#if: {{{Europa|}}}|{{#if: {{{GL|}}}|{{#if: {{{LA|}}}|{{#if: {{{Legends|}}}|{{#if: {{{LS|}}}|{{#if: {{{Napa|}}}|{{#if: {{{Origin|}}}|{{#if: {{{Pacific|}}}|{{#if: {{{Sonoma|}}}|{{#if: {{{SP|}}}|{{#if: {{{Asuka|}}}|{{#if: {{{Hokuto|}}}|{{#if: {{{Izumo|}}}|{{#if: {{{Mizuho|}}}|{{#if: {{{Mugen|}}}|{{#if: {{{Sakura|}}}|{{#if: {{{Wakoku|}}}|{{#if: {{{Yamato|}}}|{{#if: {{{Arirang|}}}|{{#if: {{{Balhae|}}}|{{#if: {{{Formosa|}}}|{{#if: {{{Oceania|}}}|All shards}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|{{#if: {{{Atlantic|}}}|{{#if: {{{Baja|}}}|{{#if: {{{Catskills|}}}|{{#if: {{{Chesapeake|}}}|{{#if: {{{Drachenfels|}}}|{{#if: {{{Europa|}}}|{{#if: {{{GL|}}}|{{#if: {{{LA|}}}|{{#if: {{{Legends|}}}|{{#if: {{{LS|}}}|{{#if: {{{Napa|}}}|{{#if: {{{Origin|}}}|{{#if: {{{Pacific|}}}|{{#if: {{{Sonoma|}}}|{{#if: {{{SP|}}}|All western shards<br>}}}}}}}}}}}}}}}}}}}}}}}}}}}}|{{#if: {{{Atlantic|}}}|Atlantic<br>|}}{{#if: {{{Baja|}}}|Baja<br>|}}{{#if: {{{Catskills|}}}|Catskills<br>|}}{{#if: {{{Chesapeake|}}}|Chesapeake<br>|}}{{#if: {{{Drachenfels|}}}|Drachenfels<br>|}}{{#if: {{{Europa|}}}|Europa<br>|}}{{#if: {{{GL|}}}|Great Lakes<br>|}}{{#if: {{{LA|}}}|Lake Austin<br>|}}{{#if: {{{Legends|}}}|Legends<br>|}}{{#if: {{{LS|}}}|Lake Superior<br>|}}{{#if: {{{Napa|}}}|Napa Valley<br>|}}{{#if: {{{Origin|}}}|Origin<br>|}}{{#if: {{{Pacific|}}}|Pacific<br>|}}{{#if: {{{Sonoma|}}}|Sonoma<br>|}}{{#if: {{{SP|}}}|Siege Perilous<br>|}}}}{{#if: {{{Asuka|}}}|{{#if: {{{Hokuto|}}}|{{#if: {{{Izumo|}}}|{{#if: {{{Mizuho|}}}|{{#if: {{{Mugen|}}}|{{#if: {{{Sakura|}}}|{{#if: {{{Wakoku|}}}|{{#if: {{{Yamato|}}}|All Japanese shards<br>}}}}}}}}}}}}}}|{{#if: {{{Asuka|}}}|Asuka<br>|}}{{#if: {{{Hokuto|}}}|Hokuto<br>|}}{{#if: {{{Izumo|}}}|Izumo<br>|}}{{#if: {{{Mizuho|}}}|Mizuho<br>|}}{{#if: {{{Mugen|}}}|Mugen<br>|}}{{#if: {{{Sakura|}}}|Sakura<br>|}}{{#if: {{{Wakoku|}}}|Wakoku<br>|}}{{#if: {{{Yamato|}}}|Yamato<br>|}}}}{{#if: {{{Arirang|}}}|{{#if: {{{Balhae|}}}|Both Korean shards<br>}}|{{#if: {{{Arirang|}}}|Arirang<br>|}}{{#if: {{{Balhae|}}}|Balhae<br>|}}}}{{#if: {{{Formosa|}}}|Formosa<br>|}}{{#if: {{{Oceania|}}}|Oceania<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}}}
 +
| 111111111111111000000000000
 +
| 111111111111111000000000001
 +
| 111111111111111000000000010
 +
| 111111111111111000000000011 = All Western Shards
 +
| 000000000000000111111110000
 +
| 000000000000000111111110001
 +
| 000000000000000111111110010
 +
| 000000000000000111111110011 = All Japanese Shards
 +
| 000000000000000000000001100
 +
| 000000000000000000000001101
 +
| 000000000000000000000001110
 +
| 000000000000000000000001111 = All Korean Shards
 +
| 111111111111111111111111111 = All Shards
 +
| #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}} }}
 +
|{{{quantity|?}}}

Latest revision as of 01:32, 20 April 2020

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