Difference between revisions of "Template:ST"
Jump to navigation
Jump to search
>@DeletedUser41383047 |
>Mornsta-gpuser |
||
| (69 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude>Generates | + | <noinclude>(Story) - Generates story portrait icons with no spacing or alignment, used on dialogue pages. |
| − | {{ST| | + | |
| − | {{ST| | + | 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. |
| − | {{ST|Elisanne}} | + | |
| − | {{ST| | + | For the replacement template, see [[Template:NPCIcon]]. |
| − | {{ST| | + | {{ST|Shishimai}} Dragon |
| − | {{ST| | + | {{ST|Mym}} NPC |
| − | {{ST| | + | {{ST|Elisanne}} Adventurer |
| + | {{ST|???}} Non-existent Adventurer, Dragon, NPC | ||
| + | {{ST|Mym}} | ||
| + | {{ST|Aurelius}} | ||
| + | {{ST|Chelle}} | ||
| + | {{ST|Phares}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
| − | <includeonly>{{#cargo_query:tables= | + | <includeonly>{{#if:{{#cargo_query:tables=Dragons|fields=FullName|where=FullName="{{{1}}}"|limit=1|more results text=|no html|default=}}|{{STD|{{{1}}}}}|{{STC|{{{1}}}}}}}</includeonly> |
| − | |fields= | ||
| − | |where= | ||
| − | | | ||
| − | |default= | ||
| − | | | ||
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.