Difference between revisions of "Template:ST"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
>Mornsta-gpuser
(Undo revision 32489 by Mornsta (talk))
Line 1: Line 1:
<noinclude>(Story) - Generates story portrait icons with no spacing or alignment, used in dialogue pages. First checks if a dragon by the name exists. If yes, parse into [[Template:STD]] and display dragon icon. If no, parse into [[Template:STC]] and display adventurer icon or NPC icon, or no result.<br>
+
<noinclude>(Story) - Generates adventurer story portrait icons with no spacing or alignment, used in dialogue pages.<br>
 
For the replacement template, see [[Template:NPCIcon]].
 
For the replacement template, see [[Template:NPCIcon]].
 
{{ST|Elisanne}} Really?
 
{{ST|Elisanne}} Really?
{{ST|I don't exist}}
+
{{ST|Halloween Elisanne}} There's more to this costume than meets the eye!
{{ST|Mym}}  
+
{{ST|???}} Turn back...You're making a terrible mistake...
{{ST|High Brunhilda}}
+
{{ST|Euden}} Huh? Who said that?!
{{ST|Midgardsormr}}
+
{{ST|Ranzal & Zace}} Right!
 +
{{ST|Aurelius}}
 +
{{ST|Chelle‎‎}}
 +
{{ST|Emile}}
 +
{{ST|Emperor}}
 +
{{ST|Empress Zethia}}
 +
{{ST|Fiend}}
 +
{{ST|Harle}}
 +
{{ST|Leif}}
 +
{{ST|Leonidas‎‎}}
 +
{{ST|Mym}}
 +
{{ST|Notte}}
 +
{{ST|Phares‎}}
 +
{{ST|Sarisse}}
 +
{{ST|Valyx}}
 +
{{ST|Zacharias}}
 +
{{ST|Zethia}}
 
[[Category:Templates]]
 
[[Category:Templates]]
</noinclude><includeonly>{{#ifexist:{{#cargo_query:tables=Dragons|where=_pageName="{{{1}}}"|group by=_pageName|default= ''''''}}|{{STD|{{{1}}}}}|{{STC|{{{1}}}}}}}</includeonly>
+
</noinclude><includeonly>
 +
{{#switch:{{{1}}}
 +
|Aurelius=<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:-167px; top:-55px">[[File:100012 02 base portrait.png|400px|link=Aurelius]]</span></span>
 +
|Chelle‎‎=<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:-130px; top:-58px">[[File:100015 01 base portrait.png|300px|link=Chelle‎‎]]</span></span>
 +
|Emile=<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:-125px; top:-45px">[[File:100017 01 base portrait.png|300px|link=Emile]]</span></span>
 +
|Emperor=<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:-167px; top:-55px">[[File:100012 01 base portrait.png|400px|Emperor|link=Aurelius]]</span></span>
 +
|Empress Zethia=<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:-172px; top:-88px">[[File:100009 06 base portrait.png|400px|Empress Zethia|link=Zethia]]</span></span>
 +
|Fiend=<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:-155px; top:-150px">[[File:120007 01 base portrait.png|400px|link=Fiend]]</span></span>
 +
|Harle=<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:-168px; top:-80px">[[File:100019 01 base portrait.png|400px|link=Harle]]</span></span>
 +
|Leif=<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:-122px; top:-41px">[[File:100018 03 base portrait.png|300px|link=Leif]]</span></span>
 +
|Leonidas‎‎=<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:-125px; top:-44px">[[File:100013 01 base portrait.png|300px|link=Leonidas‎‎]]</span></span>
 +
|Mym=<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:-122px; top:-50px">[[File:100010 05 base portrait.png|300px|link=Mym]]</span></span>
 +
|Notte=<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:-160px; top:-80px">[[File:100007 01 base portrait.png|400px|link=Notte]]</span></span>
 +
|Phares‎=<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:-123px; top:-42px">[[File:100014 01 base portrait.png|300px|link=Phares‎]]</span></span>
 +
|Sarisse=<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:-127px; top:-67px">[[File:100029 01 base portrait.png|300px|link=Sarisse]]</span></span>
 +
|Valyx=<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:-177px; top:-52px">[[File:100016 01 base portrait.png|400px|link=Valyx]]</span></span>
 +
|Zacharias=<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:-127px; top:-40px">[[File:100023 01 base portrait.png|300px|link=Zacharias]]</span></span>
 +
|Zethia=<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:-127px; top:-60px">[[File:100009 01 base portrait.png|300px|link=Zethia]]</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= '''{{{1}}}:'''}}}}</includeonly>

Revision as of 06:01, 1 January 2019

(Story) - Generates adventurer story portrait icons with no spacing or alignment, used in 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!

Error: Table Adventurers not found.

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

Error: Table Adventurers not found.

Huh? Who said that?!

Error: Table Adventurers not found.

Right!

100012 02 base portrait.png

100015 01 base portrait.png

100017 01 base portrait.png

Emperor

Empress Zethia

120007 01 base portrait.png

100019 01 base portrait.png

100018 03 base portrait.png

100013 01 base portrait.png

100010 05 base portrait.png

100007 01 base portrait.png

100014 01 base portrait.png

100029 01 base portrait.png

100016 01 base portrait.png

100023 01 base portrait.png

100009 01 base portrait.png