Template:MonsterInfoBox: Difference between revisions
From Ymirheim Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Template:MonsterInfoBox/styles.css"/> | <includeonly><templatestyles src="Template:MonsterInfoBox/styles.css"/> | ||
<div class="monster-infobox-wrapper"> | <div class="monster-infobox-wrapper"> | ||
<div class="monster-infobox"> | <div class="monster-infobox"> | ||
Line 66: | Line 66: | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly><noinclude> | |||
[[Category:Game Data Templates]] | |||
This template can be used to display an information box about a specific monster on a page. | |||
== Usage == | |||
<nowiki>{{MonsterInfoBox|NPC_ID}}</nowiki> | |||
<nowiki>{{MonsterInfoBox|NPC_ID|cardId=ITEM_ID|image=IMAGE_LINK}}</nowiki> | |||
You have to supply the specific NPC ID, not the monster name. | |||
[[File:NPC ID Search On Ymirheim Translate.png|thumb|How to find NPC ID]] | |||
You can find the NPC ID by searching the NPC prototype in [https://translate.ymirheim.org/browse/ymirheim/npc_prototypes/en/ '''Ymirheim Translate'''] (npc_prototypes component). | |||
The NPC ID is contained in the string key. | |||
For example, if you look up [https://translate.ymirheim.org/browse/ymirheim/npc_prototypes/en/?q=Poporing&sort_by=source&checksum= "Poporing"] in Ymirheim Translate, you will see the NPC ID in the "Key" column (the portion before the forward slash). | |||
Optionally, you can supply the card item ID and the image as additional arguments of the template (see examples below). | |||
== Examples == | |||
{{MonsterInfoBox|10071}} | |||
<nowiki>{{MonsterInfoBox|10071}}</nowiki> | |||
{{Clear}} | |||
{{MonsterInfoBox|10000|cardId=1601000001|image=[[File:Unripe Pukui.png|280x280px]]}} | |||
<nowiki>{{MonsterInfoBox|10000|cardId=1601000001|image=[[File:Unripe Pukui.png|280x280px]]}}</nowiki> | |||
</noinclude> |
Revision as of 11:15, 30 June 2024
This template can be used to display an information box about a specific monster on a page.
Usage
{{MonsterInfoBox|NPC_ID}}
{{MonsterInfoBox|NPC_ID|cardId=ITEM_ID|image=IMAGE_LINK}}
You have to supply the specific NPC ID, not the monster 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.
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).
Optionally, you can supply the card item ID and the image as additional arguments of the template (see examples below).
Examples
Poporing
Level range | 20~21 |
---|---|
Type | Formless |
Race | Poring |
Size | Medium |
Role | Monster |
Movement |
|
Experience | Base: 125~136 Class: 50~54 Weapon: 10~11 |
Features |
|
{{MonsterInfoBox|10071}}
Unripe Pukui
Level range | 1~2 |
---|---|
Type | Plant |
Race | Pukui |
Size | Medium |
Role | Monster |
Movement |
|
Experience | Base: 0~4 Class: 0~1 Weapon: 0~1 |
Features |
|
{{MonsterInfoBox|10000|cardId=1601000001|image=[[File:Unripe Pukui.png|280x280px]]}}