Difference between revisions of "Template:PersonalCollectionIcon"
Jump to navigation
Jump to search
>FlareKyn (Oops, forgot to remove this) |
>FlareKyn |
||
| Line 12: | Line 12: | ||
{{#vardefine:MaxLimitBreakCount|{{#cargo_query:tables=Adventurers | {{#vardefine:MaxLimitBreakCount|{{#cargo_query:tables=Adventurers | ||
|where=FullName="{{#titleparts:{{{2}}}}}" | |where=FullName="{{#titleparts:{{{2}}}}}" | ||
| + | {{#vardefine:derivedRarity|{{{Rarity|{{#cargo_query:tables=Adventurers | ||
| + | |where=FullName="{{#titleparts:{{{2}}}}}" | ||
| + | |fields=Rarity|group by=_pageName|no html}}}}}}} | ||
|fields=MaxLimitBreakCount|group by=_pageName|no html}}}} | |fields=MaxLimitBreakCount|group by=_pageName|no html}}}} | ||
| − | {{#vardefine:HardMaxNodes|{{#ifexpr:{{#var:MaxLimitBreakCount}} = 5|70|50}}}} | + | {{#vardefine:HardMaxNodes|{{#ifexpr:{{#var:MaxLimitBreakCount}} = 5|{{#ifeq:{{{3|}}}|Spiral|70|99}}|50}}}} |
| − | {{#vardefine:SoftMaxNodes|{{#ifeq:{{{3|}}}|Spiral|70|{{#expr: | + | {{#vardefine:SoftMaxNodes|{{#ifeq:{{{3|}}}|Spiral|70|{{#expr:{{#var:derivedRarity}}*10}}}}}} |
| − | + | {{#vardefine:HardMaxLevel|{{#ifexpr:{{#var:MaxLimitBreakCount}} = 5|{{#ifeq:{{{3|}}}|Spiral|100|999}}|80}}}} | |
| − | |||
| − | {{#vardefine:HardMaxLevel|{{#ifexpr:{{#var:MaxLimitBreakCount}} = 5|100|80}}}} | ||
{{#vardefine:SoftMaxLevel|{{#ifeq:{{{3|}}}|Spiral|{{#switch: {{{Nodes|}}} | {{#vardefine:SoftMaxLevel|{{#ifeq:{{{3|}}}|Spiral|{{#switch: {{{Nodes|}}} | ||
| 50 = 85 | | 50 = 85 | ||
| #default = {{#invoke:Adventurer|effectiveMaxLevel|{{{2}}}|{{{Nodes|0}}}|{{{Rarity|}}}}} | | #default = {{#invoke:Adventurer|effectiveMaxLevel|{{{2}}}|{{{Nodes|0}}}|{{{Rarity|}}}}} | ||
| − | }}|{{#expr: | + | }}|{{#expr:{{#var:derivedRarity}}*10+30}}}}}} |
| − | |||
| − | |||
{{#vardefine:nodeColor|{{#switch: {{{Nodes|}}} | {{#vardefine:nodeColor|{{#switch: {{{Nodes|}}} | ||
| {{#var:HardMaxNodes}} = {{#var:cyan}} | | {{#var:HardMaxNodes}} = {{#var:cyan}} | ||
Revision as of 14:53, 13 April 2020
Details
A template to create icons for personal collections. Still a work in progress, but it's usable as it is.
Text will be colored like how it is in game.
Level and Nodes: Blue if hard capped, orange if soft capped, white otherwise.
Augments: Blue if capped, orange otherwise.
Examples
{{PersonalCollectionIcon|Adventurer|Elisanne}}
[[File:
0
Error: Table Adventurers not found.
.png|link=Elisanne]]Lv. 0
{{PersonalCollectionIcon|Adventurer|Laxi|Rarity=5|Level=80|Nodes=50|Augments=3}}
[[File:
50
Error: Table Adventurers not found.
.png|link=Laxi]]Lv. 80
+3
{{PersonalCollectionIcon|Adventurer|Cleo|Rarity=5|Level=80|Nodes=50|Augments=18|Size=Normal}}
[[File:
50
Error: Table Adventurers not found.
.png|link=Cleo]]Lv. 80
+18
{{PersonalCollectionIcon|Adventurer|Su Fang|Rarity=5|Level=80|Nodes=50|Spiral|Size=Big}}
[[File:
50
Error: Table Adventurers not found.
.png|link=Su Fang]]Lv. 80
{{PersonalCollectionIcon|Adventurer|The Prince|Rarity=5|Level=95|Nodes=64|Spiral|Augments=200|Size=Giant}}
[[File:
64
Error: Table Adventurers not found.
.png|link=The Prince]]Lv. 95
+200
{{PersonalCollectionIcon|Weapon|Absolute Crimson|Level=95|Unbind=3|Augments=52|Size=Large}}
{{PersonalCollectionIcon|Wyrmprint|Valiant Crown|Level=9|Unbind=1|Augments=1|Size=Medium}}
{{PersonalCollectionIcon|Wyrmprint|Valiant Crown|Level=100|Unbind=4|Augments=122}}
{{PersonalCollectionIcon|Dragon|Cerberus|Level=100|Unbind=4|Augments=200}}