Difference between revisions of "Template:ST"
Jump to navigation
Jump to search
>Mornsta-gpuser |
>Mornsta-gpuser |
||
| (46 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude>Generates | + | <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. | |
| − | + | ||
| − | {{ST| | + | For the replacement template, see [[Template:NPCIcon]]. |
| − | {{ST| | + | {{ST|Shishimai}} Dragon |
| − | {{ST| | + | {{ST|Mym}} NPC |
| − | {{ST| | + | {{ST|Elisanne}} Adventurer |
| − | {{ST| | + | {{ST|???}} Non-existent Adventurer, Dragon, NPC |
| − | {{ST| | + | {{ST|Mym}} |
| − | {{ST| | + | {{ST|Aurelius}} |
| − | {{ST| | + | {{ST|Chelle}} |
| + | {{ST|Phares}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
| − | </noinclude><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.