Difference between revisions of "Template:PersonalCollectionIcon"
Jump to navigation
Jump to search
>Eave (remove all newlines) |
>Eave (example of how to use template=vardefine) |
||
| Line 20: | Line 20: | ||
-->{{#switch: {{{1|}}} | -->{{#switch: {{{1|}}} | ||
|Adventurer= | |Adventurer= | ||
| − | {{# | + | {{#invoke:CargoQuery|main |
| − | |where=FullName="{{#titleparts:{{{2}}}}}" | + | |q?tables=Adventurers |
| − | |fields=CONCAT(Id, ' 0', VariationId, ' r0', {{{Rarity|Rarity}}}) | + | |q?where=FullName="{{#titleparts:{{{2}}}}}" |
| − | | | + | |q?fields=MaxLimitBreakCount,CONCAT(Id, ' 0', VariationId, ' r0', {{{Rarity|Rarity}}})=bgIcon |
| + | |?groupBy=_pageName|template=vardefine}}<!-- | ||
-->{{#vardefine:overlayStyles|}}<!-- | -->{{#vardefine:overlayStyles|}}<!-- | ||
| − | |||
| − | |||
| − | |||
-->{{#vardefine:derivedRarity|{{{Rarity|{{#cargo_query:tables=Adventurers | -->{{#vardefine:derivedRarity|{{{Rarity|{{#cargo_query:tables=Adventurers | ||
|where=FullName="{{#titleparts:{{{2}}}}}" | |where=FullName="{{#titleparts:{{{2}}}}}" | ||
Revision as of 04:25, 5 May 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}}
Lua error: Error: Table Adventurers not found..80px
Expression error: Unexpected < operator.
Lv. Expression error: Unexpected < operator.
{{PersonalCollectionIcon|Adventurer|Laxi|Rarity=5|Level=80|Nodes=50|Augments=3}}
Lua error: Error: Table Adventurers not found..80px
50
Lv. 80
+3
{{PersonalCollectionIcon|Adventurer|Cleo|Rarity=5|Level=80|Nodes=50|Augments=18|Size=Normal}}
Lua error: Error: Table Adventurers not found..160px
50
Lv. 80
+18
{{PersonalCollectionIcon|Adventurer|Su Fang|Rarity=5|Level=80|Nodes=50|Spiral|Size=Big}}
Lua error: Error: Table Adventurers not found..240px
50
Lv. 80
{{PersonalCollectionIcon|Adventurer|The Prince|Rarity=5|Level=95|Nodes=64|Spiral|Augments=200|Size=Giant}}
Lua error: Error: Table Adventurers not found..320px
64
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}}