Difference between revisions of "Template:PersonalCollectionIcon"
Jump to navigation
Jump to search
>FlareKyn |
>FlareKyn |
||
| Line 14: | Line 14: | ||
|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|70|50}}}} | ||
| − | {{#vardefine:SoftMaxNodes|{{#ifeq:{{{3|}}}|Spiral|70|{{# | + | {{#vardefine:SoftMaxNodes|{{#ifeq:{{{3|}}}|Spiral|70|{{#expr:{{{Rarity|{{#cargo_query:tables=Adventurers |
| + | |where=FullName="{{#titleparts:{{{2}}}}}" | ||
| + | |fields=Rarity|group by=_pageName|no html}}}}}*10}}}}}} | ||
{{#vardefine:HardMaxLevel|{{#ifexpr:{{#var:MaxLimitBreakCount}} = 5|100|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:{{{Rarity|{{#cargo_query:tables=Adventurers | |
| + | |where=FullName="{{#titleparts:{{{2}}}}}" | ||
| + | |fields=Rarity|group by=_pageName|no html}}}}}*10+30}}}}}} | ||
{{#vardefine:nodeColor|{{#switch: {{{Nodes|}}} | {{#vardefine:nodeColor|{{#switch: {{{Nodes|}}} | ||
| {{#var:HardMaxNodes}} = {{#var:cyan}} | | {{#var:HardMaxNodes}} = {{#var:cyan}} | ||
| Line 99: | Line 103: | ||
</div><!-- | </div><!-- | ||
--></includeonly> | --></includeonly> | ||
| − | <noinclude>{{doc}}</noinclude> | + | <noinclude>{{doc}}{{PersonalCollectionIcon|Adventurer|Su Fang|Level=70|Nodes=40}}</noinclude> |
Revision as of 21:13, 11 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}}
[[File:
40
Error: Table Adventurers not found.
.png|link=Su Fang]]Lv. 70