Difference between revisions of "Template:ST"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
>Mornsta-gpuser
 
(25 intermediate revisions by the same user not shown)
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 story portrait icons with no spacing or alignment, used on dialogue pages.  
 +
 
 +
First checks if a dragon's portrait exists. If yes, parse into [[Template:STD]] and display dragon icon. If no, parse into [[Template:STC]] and display NPC icon, Adventurer icon, or default.
 +
 
 
For the replacement template, see [[Template:NPCIcon]].
 
For the replacement template, see [[Template:NPCIcon]].
{{ST|Elisanne}} Really?
+
{{ST|Shishimai}} Dragon
{{ST|I don't exist}}
+
{{ST|Mym}} NPC
{{ST|Mym}}  
+
{{ST|Elisanne}} Adventurer
{{ST|High Brunhilda}}
+
{{ST|???}} Non-existent Adventurer, Dragon, NPC
{{ST|Midgardsormr}}
+
{{ST|Mym}}
 +
{{ST|Aurelius}}
 +
{{ST|Chelle}}
 +
{{ST|Phares}}
 
[[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>{{#if:{{#cargo_query:tables=Dragons|fields=FullName|where=FullName="{{{1}}}"|limit=1|more results text=|no html|default=}}|{{STD|{{{1}}}}}|{{STC|{{{1}}}}}}}</includeonly>

Latest revision as of 12:33, 4 March 2019

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

First checks if a dragon's portrait exists. If yes, parse into Template:STD and display dragon icon. If no, parse into Template:STC and display NPC icon, Adventurer icon, or default.

For the replacement template, see Template:NPCIcon.

Error: Table Dragons not found.

Dragon

Error: Table Dragons not found.

NPC

Error: Table Dragons not found.

Adventurer

Error: Table Dragons not found.

Non-existent Adventurer, Dragon, NPC

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