Difference between revisions of "Template:RareItem.dpl2detailed"

Line 46: Line 46:
 
}}
 
}}
 
}}<!--
 
}}<!--
-->{{#ifexpr: {{#var:exist}}| {{#vardefine:n|{{#expr:{{#var:n}}+1}}}}[[UO:{{#var:shardname}} Rares|{{#var:shardname}}]]<br/>|}}
+
-->{{#ifexpr: {{#var:exist}}| {{#vardefine:n|{{#expr:{{#var:n}}+1}}}}[[:UO:{{#var:shardname}} Rares|{{#var:shardname}}]]<br/>|}}
 
}}<!--
 
}}<!--
-->{{#ifexpr: {{#var:n}} = 0 and {{#var:allwestern}} = 0 and {{#var:allasia}} = 0 and {{#var:alljapan}} = 0|[[UO:Rares from unknown shards|unknown]]|}}
+
-->{{#ifexpr: {{#var:n}} = 0 and {{#var:allwestern}} = 0 and {{#var:allasia}} = 0 and {{#var:alljapan}} = 0|[[:UO:Rares from unknown shards|unknown]]|}}
 
{{!!}}<!--
 
{{!!}}<!--
 
-->{{#arraydefine: seasons | {{{season|}}}|,}}{{#vardefine: firstseason | {{#arrayindex:seasons|0}} }}<!--
 
-->{{#arraydefine: seasons | {{{season|}}}|,}}{{#vardefine: firstseason | {{#arrayindex:seasons|0}} }}<!--
 
-->{{#if: {{{year|}}}
 
-->{{#if: {{{year|}}}
| [[UO:Rares From {{{year}}}|{{{year}}}]]
+
| [[:UO:Rares From {{{year}}}|{{{year}}}]]
 
| {{#if: {{{season|}}}
 
| {{#if: {{{season|}}}
| {{#vardefine: year |20{{padleft:{{#expr: 2+{{#var:firstseason}} }}|2}} }}[[UO:Rares From {{#var:year}}|{{#var:year}}]]
+
| {{#vardefine: year |20{{padleft:{{#expr: 2+{{#var:firstseason}} }}|2}} }}[[:UO:Rares From {{#var:year}}|{{#var:year}}]]
 
| [[UO:Rares with unknown year|unknown]]
 
| [[UO:Rares with unknown year|unknown]]
 
}}
 
}}

Revision as of 04:30, 10 January 2022