Template:NpcInfoBox/uk: Difference between revisions
From Ymirheim Wiki
(Created page with "Місцезнаходження") |
(Updating to match new version of source page) |
||
Line 22: | Line 22: | ||
<td><!-- | <td><!-- | ||
-->{{#if:{{{zone|}}}| | -->{{#if:{{{zone|}}}|{{{zone|}}}|}}<!-- | ||
-->{{#if:{{{location|}}}|{{#if:{{{zone|}}}|<br/>|}}{{{location|}}}|}}{{#if:{{{coordinates|}}}| ({{{coordinates|}}})|}}<!-- | -->{{#if:{{{location|}}}|{{#if:{{{zone|}}}|<br/>|}}{{{location|}}}|}}{{#if:{{{coordinates|}}}| ({{{coordinates|}}})|}}<!-- | ||
Line 59: | Line 59: | ||
| 1001 | | 1001 | ||
| image = Natali Klaret.png | | image = Natali Klaret.png | ||
| zone = Hoddmimis | | zone = [[Special:MyLanguage/Hoddmimis|Hoddmimis]] | ||
| location = Magic Shop | | location = Magic Shop | ||
| coordinates = D5 | | coordinates = D5 | ||
Line 68: | Line 68: | ||
| 1001 | | 1001 | ||
| image = Natali Klaret.png | | image = Natali Klaret.png | ||
| zone = Hoddmimis | | zone = [[Special:MyLanguage/Hoddmimis|Hoddmimis]] | ||
| location = Magic Shop | | location = Magic Shop | ||
| coordinates = D5 | | coordinates = D5 |
Revision as of 18:21, 7 July 2024
This template can be used to display an information box about a specific NPC on a page.
Usage
{{NpcInfoBox|NPC_ID}}
{{NpcInfoBox|NPC_ID|image=IMAGE_LINK}}
You have to supply the specific NPC ID, not the NPC name.
You can find the NPC ID by searching the NPC prototype in Ymirheim Translate (npc_prototypes component).
The NPC ID is contained in the string key. There can be multiple NPCs with the same name, those are variations. Please pick the first one.
For example, if you look up "Poporing" in Ymirheim Translate, you will see the NPC ID in the "Key" column (the portion before the forward slash).
Examples
Наталі Кларет
Тип | Гуманоїд |
---|---|
Раса | Елльр |
Розмір | Середній |
Місцезна- ходження |
Hoddmimis Magic Shop (D5) |
Спеціалізація | Magic Shop Keeper |
{{NpcInfoBox | 1001 | image = Natali Klaret.png | zone = [[Special:MyLanguage/Hoddmimis|Hoddmimis]] | location = Magic Shop | coordinates = D5 | occupation = Magic Shop Keeper }}