Template:MonsterInfoBox: Difference between revisions

From Ymirheim Wiki
(Marked this version for translation)
No edit summary
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Template:MonsterInfoBox/styles.css"/>
<includeonly><templatestyles src="Template:InfoBox/styles.css"/><templatestyles src="Template:MonsterInfoBox/styles.css"/>
<div class="monster-infobox-wrapper">
<div class="infobox-wrapper">
<div class="monster-infobox">
<div class="infobox monster-infobox">
<div class="heading">{{#yh_data:npc_prototypes|{{{1}}}|GroupName}}</div>
<div class="heading">{{#yh_data:npc_prototypes|{{{1}}}|GroupName}}</div>
<div class="heading">{{#yh_data:npc_prototypes|{{{1}}}|Name}}</div>
<div class="heading">{{#yh_data:npc_prototypes|{{{1}}}|Name}}</div>
{{#if:{{{image|}}}|<div class="monster-info-image">[[File:{{{image|}}}|280px]]</div>|}}
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image|}}}|280px]]</div>|}}
<table class="monster-info-table">
<table class="infobox-table">
<tr>
<tr>
<th scope="row"><translate nowrap><!--T:1--> Level range</translate></th>
<th scope="row"><translate nowrap><!--T:1--> Level range</translate></th>
Line 63: Line 63:
</table>
</table>
</div>
</div>
<div class="monster-infobox-card">
{{#if:{{{cardId|}}}| {{ItemInfoBox|{{{cardId|}}}|hint=[[Special:MyLanguage/Card|<translate nowrap><!--T:26--> (what is a card?)</translate>]]}} |}}
{{#if:{{{cardId|}}}| {{ItemInfoBox|{{{cardId|}}}}} |}}
</div>
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Game Data Templates]]
This template can be used to display an information box about a specific monster on a page.  
This template can be used to display an information box about a specific monster on a page.  


Line 97: Line 94:
{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}
{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}
  <nowiki>{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}</nowiki>
  <nowiki>{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}</nowiki>
[[Category:Game Data Templates{{#translation:}}]]


</noinclude>
</noinclude>

Latest revision as of 08:04, 12 July 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.

How to find NPC ID

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 monsters 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).

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
  • Ground
Experience Base: 125~136
Class: 50~54
Weapon: 10~11
Features
{{MonsterInfoBox|10071}}
Unripe Pukui
Unripe Pukui.png
Level range 1~2
Type Plant
Race Pukui
Size Medium
Role Monster
Movement
  • Ground
Experience Base: 0~4
Class: 0~1
Weapon: 0~1
Features
  • Coward
icon
Unripe Pukui Card
Card
Armor
Weight: 0.001
Max stack: 20
This item can't be sold.

A magic card enchanted with Unripe Pukui Spirit.
By casting the spell written on this card you can transfer the spirit into a piece of equipment.

When enchanted:
Maximum Health +100
Health Recovery Rate +25%
{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}