Difference between revisions of "Template:UOSuit"

m
m
 
(114 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|class=wikitable
+
<includeonly>{{#ifeq:{{{no_top|}}}|1||{{UOSuit Top
{{#forargs: suit
+
|title = {{{title|}}}
| key
+
|suit1 = {{{suit1|}}}
| value
+
|suit2 = {{{suit2|}}}
|
+
|suit3 = {{{suit3|}}}
{{#dpl: title={{#var: value}}
+
|suit4 = {{{suit4|}}}
|includepage=¶,{RareItem}.dpl12
+
|suit5 = {{{suit5|}}}
|namespace = UO
+
|suit6 = {{{suit6|}}}
|ordermethod = title
+
|suit7 = {{{suit7|}}}
 +
|suit8 = {{{suit8|}}}
 +
|suit9 = {{{suit9|}}}
 +
|suit10 = {{{suit10|}}}
 +
|suit11 = {{{suit11|}}}
 +
|suit12 = {{{suit12|}}}
 +
|suit13 = {{{suit13|}}}
 +
|suit14 = {{{suit14|}}}
 +
|suit15 = {{{suit15|}}}
 +
|suit16 = {{{suit16|}}}
 +
|suit17 = {{{suit17|}}}
 +
|alt1 = {{{alt1|}}}
 +
|alt2 = {{{alt2|}}}
 +
|alt3 = {{{alt3|}}}
 +
|alt4 = {{{alt4|}}}
 +
|alt5 = {{{alt5|}}}
 +
|alt6 = {{{alt6|}}}
 +
|alt7 = {{{alt7|}}}
 +
|alt8 = {{{alt8|}}}
 +
|shield = {{{shield|}}}
 +
|weapon = {{{weapon|}}}
 +
|note = {{{note|}}}
 +
|template = {{#ifeq: {{Boolean|{{{spawning}}} }}|1|InfoBox_UOItem|RareItem}}
 
}} }}
 
}} }}
{{#if:{{{weapon|}}}|
+
{{#ifeq:{{{no_bottom|}}}|1||
{{!}}-
+
<br><br>
{{!}}Weapon
+
{{Navbox
{{#dpl: title={{{weapon}}}
+
| name    = {{PAGENAME}}
|includepage={RareItem}.dpl13
+
| title  = [[UO:Suits|'''Suits''']]
|namespace = UO
+
| state = plain
|ordermethod = title
+
| group1  = [[:Category:UO:Spawning Rare Suits|Spawning Suits]]
 +
| list1  =
 +
{{#dpl:  
 +
|categorymatch = UO%Spawning Rare Suits
 +
|ordermethod = titlewithoutnamespace
 +
|order=ascending
 +
|skipthispage=no
 +
|suppresserrors = true
 +
|distinct=true
 
}}
 
}}
 +
| group2  = [[:Category:UO:Rare Suits|Rare Suits]]
 +
| list2  =
 +
{{#dpl:
 +
|categorymatch = UO%Rare Suits
 +
|notcategorymatch = UO%Spawning Rare Suits
 +
|ordermethod = titlewithoutnamespace
 +
|order=ascending
 +
|skipthispage=no
 +
|suppresserrors = true
 +
|distinct=true
 
}}
 
}}
{{#if:{{{shield|}}}|
+
}}{{#ifexpr: {{#pos: {{PAGENAME}}| Suit|{{#expr: {{#len:{{PAGENAME}}}} - 5}}}}|[[Category:UO:Suits]][[Category:UO:{{#ifeq: {{Boolean|{{{spawning}}} }}|1|Spawning}} Rare Suits]]|[[Category:UO:Suit Pieces]]}}{{#ifexpr: {{#pos: {{PAGENAME}}| Set|{{#expr: {{#len:{{PAGENAME}}}} - 3}}}}|[[Category:UO:Suits]][[Category:UO:{{#ifeq: {{Boolean|{{{spawning}}} }}|1|Spawning}} Rare Suits]]|[[Category:UO:Suit Pieces]]}} }}</includeonly>
{{!}}-
 
{{!}}Shield
 
{{#dpl: title={{{shield}}}
 
|includepage={RareItem}.dpl13
 
|namespace = UO
 
|ordermethod = title
 
}}
 
}}
 
|}</includeonly>
 

Latest revision as of 11:33, 24 May 2020