Difference between revisions of "Template:UOSuit"

m
m
 
(69 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|
+
<includeonly>{{#ifeq:{{{no_top|}}}|1||{{UOSuit Top
|+style="background: white;color: black;text-align: center;"|{{{title}}} Suit{{#dpl: title={{{suit1}}}
+
|title = {{{title|}}}
|includepage={RareItem}.dpl14
+
|suit1 = {{{suit1|}}}
|namespace = UO
+
|suit2 = {{{suit2|}}}
|ordermethod = title
+
|suit3 = {{{suit3|}}}
}}
+
|suit4 = {{{suit4|}}}
|-
+
|suit5 = {{{suit5|}}}
|style="padding: 2%;vertical-align:top;"|[[Image:UO-suitimage-{{{title}}}.png|215x306px]]
+
|suit6 = {{{suit6|}}}
|
+
|suit7 = {{{suit7|}}}
{|class=wikitable
+
|suit8 = {{{suit8|}}}
{{#forargs: suit
+
|suit9 = {{{suit9|}}}
| key
+
|suit10 = {{{suit10|}}}
| value
+
|suit11 = {{{suit11|}}}
|{{#dpl: title={{#var: value}}
+
|suit12 = {{{suit12|}}}
|includepage={RareItem}.dpl12
+
|suit13 = {{{suit13|}}}
|namespace = UO
+
|suit14 = {{{suit14|}}}
|ordermethod = title
+
|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
 
{{#dpl: title={{{weapon}}}
 
|includepage={RareItem}.dpl13
 
|namespace = UO
 
|ordermethod = title
 
}}
 
}}
 
{{#if:{{{shield|}}}|
 
{{!}}-
 
{{!}}Shield
 
{{#dpl: title={{{shield}}}
 
|includepage={RareItem}.dpl13
 
|namespace = UO
 
|ordermethod = title
 
}}
 
}}
 
{{#if:{{{alt1|}}}|
 
{{!}}-
 
{{!}}colspan="2" style="border:none;padding-top:1em;"{{!}}'''''Alternative pieces:'''''
 
{{!}}-
 
{{#forargs: alt
 
| key
 
| value
 
|{{#dpl: title={{#var: value}}
 
|includepage={RareItem}.dpl12
 
|namespace = UO
 
|ordermethod = title
 
}} }} }}
 
|}
 
|}
 
<br><br><br><br>
 
 
{{Navbox
 
{{Navbox
 
| name    = {{PAGENAME}}
 
| name    = {{PAGENAME}}
 
| title  = [[UO:Suits|'''Suits''']]
 
| title  = [[UO:Suits|'''Suits''']]
 
| state = plain
 
| state = plain
| group1  = Spawning Suits
+
| group1  = [[:Category:UO:Spawning Rare Suits|Spawning Suits]]
| state1 = {{#if: {{Boolean: {{{spawning}}} }}|uncollapsed|collapsed}}
 
 
| list1  =
 
| list1  =
* [[UO:Atlas/Eodon/Barako Tribe|Barako Tribe]]
+
{{#dpl:  
| group2  = Rare Suits
+
|categorymatch = UO%Spawning Rare Suits
| state2 = {{#if: {{Boolean: {{{spawning}}} }}|collapsed|uncollapsed}}
+
|ordermethod = titlewithoutnamespace
 +
|order=ascending
 +
|skipthispage=no
 +
|suppresserrors = true
 +
|distinct=true
 +
}}
 +
| group2  = [[:Category:UO:Rare Suits|Rare Suits]]
 
| list2  =
 
| list2  =
* [[UO:Atlas/Eodon/Zipactriotl's Chamber|Zipactriotl's Chamber]]
+
{{#dpl:
}}[[Category:UO:Suits]][[Category:UO:{{#if: {{Boolean: {{{spawning}}} }}|Spawning }}Rare Suits]]
+
|categorymatch = UO%Rare Suits
</includeonly>
+
|notcategorymatch = UO%Spawning Rare Suits
 +
|ordermethod = titlewithoutnamespace
 +
|order=ascending
 +
|skipthispage=no
 +
|suppresserrors = true
 +
|distinct=true
 +
}}
 +
}}{{#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>

Latest revision as of 12:33, 24 May 2020