Difference between revisions of "Template:ST"
Jump to navigation
Jump to search
>Mornsta-gpuser |
>Mornsta-gpuser |
||
| Line 1: | Line 1: | ||
| − | <noinclude>(Story) - Generates | + | <noinclude>(Story) - Generates story portrait icons with no spacing or alignment, used in 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| | + | |
| − | {{ST| | + | {{ST|Shishimai}} Dragon |
| − | {{ST| | + | {{ST|Mym}} NPC |
| − | {{ST| | + | {{ST|Elisanne}} Adventurer |
| − | + | {{ST|???}} Non-existent Adventurer, Dragon, NPC | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
[[Category:Templates]] | [[Category:Templates]] | ||
| − | </noinclude><includeonly> | + | </noinclude> |
| − | {{# | + | <includeonly>{{#ifexist:{{#cargo_query:tables=Dragons|fields=CONCAT('File:',BaseId,' 0',VariationId,'.png')|where=_pageName="{{{1}}}"|limit=1|more results text=|no html}}| |
| − | + | {{STD|{{{1}}}}}| | |
| − | + | {{STC|{{{1}}}}}}}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 06:47, 1 January 2019
(Story) - Generates story portrait icons with no spacing or alignment, used in 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 Adventurers not found.
Dragon
NPC
Error: Table Adventurers not found.
Adventurer
Non-existent Adventurer, Dragon, NPC