Difference between revisions of "Template:STC"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Yvsdrop
m (add inline-block styling to the default span display, otherwise the min-width has no effect)
>Eave
(adding scylla and carmen)
 
(67 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude>{{doc}}  
 
<noinclude>{{doc}}  
{{ST|Theo}}
+
{{ST|Scylla}}
{{ST|Lathna}}
 
 
{{ST|Alex}}
 
{{ST|Alex}}
 
[[Category:Templates]]</noinclude><includeonly>
 
[[Category:Templates]]</noinclude><includeonly>
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
 +
|Scylla=<span
 +
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-170px; top:-60px">[[File:120200 01 base portrait.png|400px|link=Scylla]]</span></span>
 +
 +
|Carmen=<span
 +
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-70px; top:-35px">[[File:120177 01 base portrait.png|200px|link=Scylla]]</span></span>
 +
 
|Aurelius=<span
 
|Aurelius=<span
 
style="width:50px;
 
style="width:50px;
Line 157: Line 162:
 
left:-172px;
 
left:-172px;
 
top:-88px">[[File:100009 06 base portrait.png|400px|Empress Zethia|link=Zethia]]</span></span>
 
top:-88px">[[File:100009 06 base portrait.png|400px|Empress Zethia|link=Zethia]]</span></span>
 +
|Father Nikolai=<span
 +
style="width:50px;
 +
height:50px;
 +
overflow:hidden;
 +
display:inline-block;
 +
border-style: solid;
 +
border-width: 5px;
 +
border-color:transparent;
 +
vertical-align:middle;"><span
 +
style="position: relative;
 +
left:-93px;
 +
top:-48px">[[File:120063 01 base portrait.png|240px|link=Father Nikolai]]</span></span>
 
|Fiend=<span
 
|Fiend=<span
 
style="width:50px;
 
style="width:50px;
Line 672: Line 689:
 
style="position: relative;
 
style="position: relative;
 
left:-170px;
 
left:-170px;
top:-128px">[[File:120050_01_base_portrait.png|300px|link=Phraeganoth]]</span></span>
+
top:-128px">[[File:120050_01_base_portrait.png|300px|link=Phraeganoth (NPC)]]</span></span>
 
|King Archeole=<span
 
|King Archeole=<span
 
style="width:50px;
 
style="width:50px;
Line 684: Line 701:
 
style="position: relative;
 
style="position: relative;
 
left:-126px;
 
left:-126px;
top:-42px">[[File:120065_01_base_portrait.png|300px|link=King Archeole]]</span></span>
+
top:-42px">[[File:120065_01_base_portrait.png|300px|link=King Archeole (NPC)]]</span></span>
 
|Hypnos=<span
 
|Hypnos=<span
 
style="width:50px;
 
style="width:50px;
Line 696: Line 713:
 
style="position: relative;
 
style="position: relative;
 
left:-120px;
 
left:-120px;
top:-50px">[[File:120051_01_base_portrait.png|300px|link=Hypnos]]</span></span>
+
top:-50px">[[File:120051_01_base_portrait.png|300px|link=Hypnos (NPC)]]</span></span>
 
|Storm Sentinel=<span
 
|Storm Sentinel=<span
 
style="width:50px;
 
style="width:50px;
Line 720: Line 737:
 
style="position: relative;
 
style="position: relative;
 
left:-123px;
 
left:-123px;
top:-35px">[[File:120094_01_base_portrait.png|300px|link=Sabnock]]</span></span>
+
top:-35px">[[File:120094_01_base_portrait.png|300px|link=Sabnock (NPC)]]</span></span>
 
|Valfarre=<span
 
|Valfarre=<span
 
style="width:50px;
 
style="width:50px;
Line 732: Line 749:
 
style="position: relative;
 
style="position: relative;
 
left:-115px;
 
left:-115px;
top:-65px">[[File:120112_01_base_portrait.png|300px|link=Valfarre]]</span></span>
+
top:-65px">[[File:120112_01_base_portrait.png|300px|link=Valfarre (NPC)]]</span></span>
 
|Thanatos=<span
 
|Thanatos=<span
 
style="width:50px;
 
style="width:50px;
Line 744: Line 761:
 
style="position: relative;
 
style="position: relative;
 
left:-123px;
 
left:-123px;
top:-50px">[[File:120053 _01_base_portrait.png|300px|link=Thanatos]]</span></span>
+
top:-50px">[[File:120053 _01_base_portrait.png|300px|link=Thanatos (NPC)]]</span></span>
 
|Theo=<span
 
|Theo=<span
 
style="width:50px;
 
style="width:50px;
Line 757: Line 774:
 
left:-126px;
 
left:-126px;
 
top:-55px">[[File:120019_01_base_portrait.png|300px|Theo|link=Village Boy]]</span></span>
 
top:-55px">[[File:120019_01_base_portrait.png|300px|Theo|link=Village Boy]]</span></span>
|Lathna=<span
 
style="width:50px;
 
height:50px;
 
overflow:hidden;
 
display:inline-block;
 
border-style: solid;
 
border-width: 5px;
 
border-color:transparent;
 
vertical-align:middle;"><span
 
style="position: relative;
 
left:-128px;
 
top:-85px">[[File:120067_01_base_portrait.png|300px|link=Lathna]]</span></span>
 
 
|Loki=<span
 
|Loki=<span
 
style="width:50px;
 
style="width:50px;
Line 829: Line 834:
 
left:-85px;
 
left:-85px;
 
top:-33px">[[File: 120139_01_base_portrait.png|220px|link=Chronos (Small)]]</span></span>
 
top:-33px">[[File: 120139_01_base_portrait.png|220px|link=Chronos (Small)]]</span></span>
|Wu Kong=<span
 
style="width:50px;
 
height:50px;
 
overflow:hidden;
 
display:inline-block;
 
border-style: solid;
 
border-width: 5px;
 
border-color:transparent;
 
vertical-align:middle;"><span
 
style="position: relative;
 
left:-115px;
 
top:-60px">[[File: 120076_01_base_portrait.png|275px|link=Wu Kong]]</span></span>
 
  
 
|Cardinal=<span
 
|Cardinal=<span
 
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-115px; top:-45px">[[File:120118_01_base_portrait.png|275px|link=Cardinal]]</span></span>
 
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-115px; top:-45px">[[File:120118_01_base_portrait.png|275px|link=Cardinal]]</span></span>
 
|Tobias=<span
 
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-124px; top:-45px">[[File:120142 01 base portrait.png|300px|link=Tobias]]</span></span>
 
  
 
|Pope=<span
 
|Pope=<span
 
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-127px; top:-55px">[[File:120143 01 base portrait.png|300px|link=Pope]]</span></span>
 
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-127px; top:-55px">[[File:120143 01 base portrait.png|300px|link=Pope]]</span></span>
  
|Boy=<span
+
|Elder=<span
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-125px; top:-80px">[[File:120017 01 base portrait.png|300px|link=Boy]]</span></span>
+
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-125px; top:-60px">[[File:120021 01 base portrait.png|300px|link=Elder]]</span></span>
 +
 
 +
|Volk=<span
 +
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-98px; top:-70px">[[File:100033 01 base portrait.png|300px|link=Volk (NPC)]]</span></span>
  
|Girl=<span
+
|Cat Sìth=<span
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-125px; top:-80px">[[File:120016 01 base portrait.png|300px|link=Girl]]</span></span>
+
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-55px; top:-15px">[[File:200013 01 base portrait.png|170px|link=Cat Sìth]]</span></span>
 +
 
 +
|Picaro=<span
 +
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-60px; top:-27px">[[File:120111 01 base portrait.png|170px|link=Picaro]]</span></span>
 +
 
 +
|Rolf=<span
 +
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-150px; top:-92px">[[File:120116 01 base portrait.png|300px|link=Rolf]]</span></span>
  
|Elder=<span
 
style="width:50px;height:50px;overflow:hidden;display:inline-block;border:5px solid transparent;vertical-align:middle"><span style="position:relative; left:-125px; top:-60px">[[File:120021 01 base portrait.png|300px|link=Elder]]</span></span>
 
 
|???=<span
 
|???=<span
 
style="width:50px;
 
style="width:50px;
Line 869: Line 866:
 
vertical-align:middle;"><span
 
vertical-align:middle;"><span
 
style="position: relative">[[File:Unknown.png|50px|link=]]</span></span>
 
style="position: relative">[[File:Unknown.png|50px|link=]]</span></span>
|{{{1}}}={{#cargo_query:tables=Adventurers|fields=CONCAT('[[File:',Id,' 0',VariationId,' r0',Rarity,'.png|60px|link=',_pageName,']]')|where=_pageName="{{{1}}}"|group by=_pageName|default=<span style="display:inline-block;min-width:50px;border:5px solid transparent">'''{{{1}}}:'''</span>}}}}</includeonly>
+
|{{{1}}}={{#cargo_query:tables=Adventurers|fields=CONCAT('[[File:',Id,' 0',VariationId,' r0',Rarity,'.png|60px|link=',_pageName,']]')|where=FullName="{{{1}}}"|group by=_pageName|default=<span style="display:inline-block;min-width:50px;border:5px solid transparent">'''{{{1}}}:'''</span>}}}}</includeonly>

Latest revision as of 19:11, 28 July 2020

50px Documentation

(Story Character) - Generates adventurer/NPC story portrait icons with no spacing or alignment, used on dialogue pages.

For the replacement template, see Template:NPCIcon.

Error: Table Adventurers not found.
Really?
Error: Table Adventurers not found.
There's more to this costume than meets the eye!

120028 01 base portrait.png

Unknown.png Turn back...You're making a terrible mistake...

Error: Table Dragons not found.
Error: Table Dragons not found.