Template:MonsterInfoBox/pt-br: Difference between revisions

From Ymirheim Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Tag: Manual revert
Line 61: Line 61:
</td>
</td>
</tr>
</tr>
{{#if:{{{elements|}}}|
<tr>
<th scope="row">Elements</th>
<td>{{{elements|}}}</tr>
</tr>
}}
{{#if:{{{respawnTime|}}}|
<tr>
<th scope="row">Respawn time</th>
<td>{{{respawnTime|}}}</tr>
</tr>
}}
</table>
</table>
</div>
</div>
Line 85: Line 73:
  <nowiki>{{MonsterInfoBox|NPC_ID}}</nowiki>
  <nowiki>{{MonsterInfoBox|NPC_ID}}</nowiki>


<pre><nowiki>{{MonsterInfoBox|NPC_ID
<nowiki>{{MonsterInfoBox|NPC_ID|cardId=ITEM_ID|image=IMAGE_LINK}}</nowiki>
| cardId = ITEM_ID
| image = IMAGE_LINK
| elements = TEXT
| respawnTime = TEXT
}}</nowiki></pre>


You have to supply the specific NPC ID, not the monster name.
You have to supply the specific NPC ID, not the monster name.
Line 109: Line 92:


{{Clear}}
{{Clear}}
{{MonsterInfoBox|10000
{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}
| cardId = 1601000001
<nowiki>{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}</nowiki>
| image = Unripe Pukui.png
| elements = Water, Light
| respawnTime = ~30 min
}}
<pre><nowiki>{{MonsterInfoBox|10000
| cardId = 1601000001
| image = Unripe Pukui.png
| elements = <translate>Water, Light</translate>
| respawnTime = <translate>~30 min</translate>
}}</nowiki></pre>


[[Category:Game Data Templates{{#translation:}}]]
[[Category:Game Data Templates{{#translation:}}]]


</noinclude>
</noinclude>

Revision as of 08:05, 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
Faixa de Nível 20~21
Tipo Sem forma
Raça Poring
Tamanho Médio
Papel Monstro
Movimento
  • Chão
Experiência Base: 125~136
Classe: 50~54
Arma: 10~11
Características
{{MonsterInfoBox|10071}}
Pukui Bebê
Unripe Pukui.png
Faixa de Nível 1~2
Tipo Planta
Raça Pukui
Tamanho Médio
Papel Monstro
Movimento
  • Chão
Experiência Base: 0~4
Classe: 0~1
Arma: 0~1
Características
  • Covarde
icon
Carta Pukui Verde
Carta
Armadura
Peso: 0.001
Pilha máxima: 20
Este item não pode ser vendido.

Uma carta mágica encantada com o Espírito Pukui Verde.
Ao lançar o feitiço escrito nesta carta, você pode transferir o espírito para um equipamento.

Quando encantado:
Saúde máxima +100
Taxa de recuperação de saúde +25%
{{MonsterInfoBox|10000|cardId=1601000001|image=Unripe Pukui.png}}