Template:MonsterInfoBox/pt-br: Difference between revisions

From Ymirheim Wiki
(Created page with "Faixa de Nível")
 
(Created page with "(O que é uma carta?)")
 
(15 intermediate revisions by 2 users 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">Faixa de Nível</th>
<th scope="row">Faixa de Nível</th>
Line 23: Line 23:
</tr>
</tr>
<tr>
<tr>
<th scope="row">Role</th>
<th scope="row">Papel</th>
<td>{{#yh_data:npc_roles|{{#yh_data:npc_prototypes|{{{1}}}|Role}}|Role}}</td>
<td>{{#yh_data:npc_roles|{{#yh_data:npc_prototypes|{{{1}}}|Role}}|Role}}</td>
</tr>
</tr>
<tr>
<tr>
<th scope="row">Movement</th>
<th scope="row">Movimento</th>
<td><ul>{{#switch: {{#yh_data:npc_prototypes|{{{1}}}|MoveType}}
<td><ul>{{#switch: {{#yh_data:npc_prototypes|{{{1}}}|MoveType}}
  | 1 = <li>Ground</li>
  | 1 = <li>Chão</li>
  | 2 = <li>Ground (flying)</li>
  | 2 = <li>Terrestre (voador)</li>
  | 3 = <li>Underwater (stationary)</li>
  | 3 = <li>Subaquático (estacionário)</li>
  | 4 = <li>Underwater (swimming freely)</li>
  | 4 = <li>Subaquático (nadando livremente)</li>
  | 5 = <li>Ground</li><li>Underwater (seabed only)</li>
  | 5 = <li>Chão</li><li>Subaquático (apenas fundo do mar)</li>
  | 6 = <li>Ground</li><li>Underwater (swimming freely)</li>
  | 6 = <li>Chão</li><li>Subaquático (nadando livremente)</li>
}}</ul></td>
}}</ul></td>
</tr>
</tr>
<tr>
<tr>
<th scope="row">Experience</th>
<th scope="row">Experiência</th>
<td><!--
<td><!--


--><strong>Base</strong>: {{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|BaseExp|min}}~{{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|BaseExp|max}}<br/><!--
--><strong>Base</strong>: {{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|BaseExp|min}}~{{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|BaseExp|max}}<br/><!--


--><strong>Class</strong>: {{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|ClassExp|min}}~{{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|ClassExp|max}}<br/><!--
--><strong>Classe</strong>: {{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|ClassExp|min}}~{{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|ClassExp|max}}<br/><!--


--><strong>Weapon</strong>: {{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|WeaponExp|min}}~{{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|WeaponExp|max}}<!--
--><strong>Arma</strong>: {{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|WeaponExp|min}}~{{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|WeaponExp|max}}<!--


--></td>
--></td>
</tr>
</tr>
<th scope="row">Features</th>
<th scope="row">Características</th>
<td>
<td>
<ul>
<ul>
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|1|<li>Aggressive</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|1|<li>Agressivo</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|3|<li>Aggressive</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|3|<li>Agressivo</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CastSensor}}|1|<li>Cast sensor</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CastSensor}}|1|<li>Sensor lançamento</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|1|<li>Assister</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|1|<li>Assistente</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|2|<li>Defender</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|2|<li>Defensor</li>|}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CowardnessHealthFactor}}|0||<li>Coward</li>}}
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CowardnessHealthFactor}}|0||<li>Covarde</li>}}
</ul>
</ul>
</td>
</td>
Line 63: Line 63:
</table>
</table>
</div>
</div>
<div class="monster-infobox-card">
{{#if:{{{cardId|}}}| {{ItemInfoBox|{{{cardId|}}}|hint=[[Special:MyLanguage/Card|(O que é uma carta?)]]}} |}}
{{#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 12:03, 17 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}}