Difference between revisions of "Template:PersonalCollectionIcon"
Jump to navigation
Jump to search




>FlareKyn |
>FlareKyn |
||
| Line 1: | Line 1: | ||
| − | + | <!-- | |
| − | + | -->{{#switch: {{{1|}}} | |
| − | |||
| − | |||
| − | |||
| − | --> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|Adventurer= | |Adventurer= | ||
| + | {{#vardefine:c1|{{#cargo_query:tables=Adventurers|where=FullName='{{{2|}}}'|fields=CONCAT('[[File:', Id, ' 0', VariationId, ' r0', {{{Rarity|Rarity}}}, '.png|link=',{{{link|_pageName}}},']]')|group by=_pageName}}}} | ||
| + | {{#vardefine:c5|{{{Nodes|}}}}} | ||
|Weapon= | |Weapon= | ||
| + | {{#vardefine:c1|{{#cargo_query:tables=Weapons|where=WeaponName='{{{2|}}}'|fields=CONCAT('[[File:', BaseId, ' 01 ', FormId, '.png|link=',{{{link|_pageName}}},']]')|group by=_pageName}}}} | ||
| + | {{#vardefine:c5|[[File:{{{Unbinds|}}} Unbind.png]]}} | ||
|Wyrmprint= | |Wyrmprint= | ||
| + | {{#vardefine:c1|{{#cargo_query:tables=Wyrmprints|where=Name='{{{2|}}}'|fields=CONCAT('[[File:', BaseId, ' 01.png|link=',{{{link|_pageName}}},']]')|group by=_pageName}}}} | ||
| + | {{#vardefine:c5|[[File:{{{Unbinds|}}} Unbind.png]]}} | ||
|Dragon= | |Dragon= | ||
| − | }}}}<!-- | + | {{#vardefine:c1|{{#cargo_query:tables=Dragons|where=FullName='{{{2|}}}'|fields=CONCAT('[[File:', BaseId, ' 01.png|link=',{{{link|_pageName}}},']]')|group by=_pageName}}}} |
| + | {{#vardefine:c5|[[File:{{{Unbinds|}}} Unbind.png]]}} | ||
| + | }}<!-- | ||
| − | + | -->{{#ifeq:{{{1|}}}|Dragon| | |
| − | -->{{#invoke:Superimpose|main | + | {{#invoke:Superimpose|main |
| − | | c1={{#var: | + | | c1={{#var:c1}} |
| − | | c2=<div style="background-color: rgba(0, 0, 0, 0.6); width: 140px; text-align: center; | + | | c2=<div style="background-color: rgba(0, 0, 0, 0.6); width: 140px; ; height: 16px; text-align: center"><p style="opacity: 1; color: #000000; font-weight:bold;">​</p></div> |
| + | | x2=10 | ||
| + | | y2=121 | ||
| + | | c3=<div style="background-color: rgba(0, 0, 0, 0.6); width: 128px; height: 6px; text-align: center"><p style="opacity: 1; color: #000000; font-weight:bold;">​</p></div> | ||
| + | | x3=16 | ||
| + | | y3=137 | ||
| + | | c4=<p style="opacity: 1; color: #ffffff; font-weight:bold">Lv. {{{Level|}}}</p> | ||
| + | | x4=35 | ||
| + | | y4=121 | ||
| + | | c5=<p style="opacity: 1; color: #ffffff; font-weight:bold">{{#var:c5}}</p> | ||
| + | | x5=88 | ||
| + | | y5=119 | ||
| + | | c6=<p style="opacity: 1; color: {{#ifexpr:{{{Augments|}}}>199|#3de1e0|#f5c831}}; font-weight:bold; -webkit-text-stroke: 1px black; position: absolute; right:0;"><big>+{{{Augments|}}}</big></p> | ||
| + | | x6=143 | ||
| + | | y6=100}} | ||
| + | |{{#invoke:Superimpose|main | ||
| + | | c1={{#var:c1}} | ||
| + | | c2=<div style="background-color: rgba(0, 0, 0, 0.6); width: 140px; text-align: center; {{#ifeq:{{{1|}}}|Adventurer||border-radius: 0px 0px 7px 7px;}}"><p style="opacity: 1; color: #ffffff; font-weight:bold; >​</p></div> | ||
| x2=10 | | x2=10 | ||
| y2=121 | | y2=121 | ||
| − | {{# | + | | c3={{#ifeq:{{{1|}}}|Adventurer|[[File:Icon CircleRelease 02.png|22x23px]]}} |
| − | }}</ | + | | x3=95 |
| + | | y3=127 | ||
| + | | c4=<p style="opacity: 1; color: #ffffff; font-weight:bold">Lv. {{{Level|}}}</p> | ||
| + | | x4=35 | ||
| + | | y4=121 | ||
| + | | c5=<p style="opacity: 1; color: #ffffff; font-weight:bold">{{#var:c5}}</p> | ||
| + | | x5={{#ifeq:{{{1|}}}|Adventurer|117|88}} | ||
| + | | y5={{#ifeq:{{{1|}}}|Adventurer|121|119}} | ||
| + | | c6=<p style="opacity: 1; color: {{#ifexpr:{{{Augments|}}}>199|#3de1e0|#f5c831}}; font-weight:bold; -webkit-text-stroke: 1px black; position: absolute; right:0;"><big>+{{{Augments|}}}</big></p> | ||
| + | | x6=143 | ||
| + | | y6=100}} | ||
| + | }}<!-- | ||
| + | --> | ||
| + | <noinclude>{{doc}}</noinclude> | ||
Revision as of 07:57, 7 April 2020
Lv.
<p style="opacity: 1; color: Expression error: Unexpected > operator.; font-weight:bold; -webkit-text-stroke: 1px black; position: absolute; right:0;">+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}}
Lv.
<p style="opacity: 1; color: Expression error: Unexpected > operator.; font-weight:bold; -webkit-text-stroke: 1px black; position: absolute; right:0;">+Error: Table Adventurers not found.
{{PersonalCollectionIcon|Adventurer|Laxi|Rarity=5|Level=80|Nodes=50|Augments=3}}
Lv. 80
50
+3
Error: Table Adventurers not found.
{{PersonalCollectionIcon|Adventurer|Cleo|Rarity=5|Level=80|Nodes=50|Augments=18|Size=Normal}}
Lv. 80
50
+18
Error: Table Adventurers not found.
{{PersonalCollectionIcon|Adventurer|Su Fang|Rarity=5|Level=80|Nodes=50|Spiral|Size=Big}}
Lv. 80
50
<p style="opacity: 1; color: Expression error: Unexpected > operator.; font-weight:bold; -webkit-text-stroke: 1px black; position: absolute; right:0;">+Error: Table Adventurers not found.
{{PersonalCollectionIcon|Adventurer|The Prince|Rarity=5|Level=95|Nodes=64|Spiral|Augments=200|Size=Giant}}
Lv. 95
64
+200
Error: Table Adventurers not found.
{{PersonalCollectionIcon|Weapon|Absolute Crimson|Level=95|Unbind=3|Augments=52|Size=Large}}
Lv. 95
+52
Error: Table Weapons not found.
{{PersonalCollectionIcon|Wyrmprint|Valiant Crown|Level=9|Unbind=1|Augments=1|Size=Medium}}
Lv. 9
+1
Error: Table Wyrmprints not found.
{{PersonalCollectionIcon|Wyrmprint|Valiant Crown|Level=100|Unbind=4|Augments=122}}
Lv. 100
+122
Error: Table Wyrmprints not found.
{{PersonalCollectionIcon|Dragon|Cerberus|Level=100|Unbind=4|Augments=200}}
Lv. 100
+200
Error: Table Dragons not found.