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=" | <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=" | {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image|}}}|280px]]</div>|}} | ||
<table class=" | <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"> | <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"> | <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> | | 1 = <li>Chão</li> | ||
| 2 = <li> | | 2 = <li>Terrestre (voador)</li> | ||
| 3 = <li> | | 3 = <li>Subaquático (estacionário)</li> | ||
| 4 = <li> | | 4 = <li>Subaquático (nadando livremente)</li> | ||
| 5 = <li> | | 5 = <li>Chão</li><li>Subaquático (apenas fundo do mar)</li> | ||
| 6 = <li> | | 6 = <li>Chão</li><li>Subaquático (nadando livremente)</li> | ||
}}</ul></td> | }}</ul></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th scope="row"> | <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> | --><strong>Classe</strong>: {{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|ClassExp|min}}~{{#yh_data_aggregate:npc_prototypes|SetId|{{{1}}}|ClassExp|max}}<br/><!-- | ||
--><strong> | --><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"> | <th scope="row">Características</th> | ||
<td> | <td> | ||
<ul> | <ul> | ||
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|1|<li> | {{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|1|<li>Agressivo</li>|}} | ||
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|3|<li> | {{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AggressionMode}}|3|<li>Agressivo</li>|}} | ||
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CastSensor}}|1|<li> | {{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CastSensor}}|1|<li>Sensor lançamento</li>|}} | ||
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|1|<li> | {{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|1|<li>Assistente</li>|}} | ||
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|2|<li> | {{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|AssistMode}}|2|<li>Defensor</li>|}} | ||
{{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CowardnessHealthFactor}}|0||<li> | {{#ifeq:{{#yh_data:npc_prototypes|{{{1}}}|CowardnessHealthFactor}}|0||<li>Covarde</li>}} | ||
</ul> | </ul> | ||
</td> | </td> | ||
Line 63: | Line 63: | ||
</table> | </table> | ||
</div> | </div> | ||
{{#if:{{{cardId|}}}| {{ItemInfoBox|{{{cardId|}}}|hint=[[Special:MyLanguage/Card|(O que é uma carta?)]]}} |}} | |||
{{#if:{{{cardId|}}}| {{ItemInfoBox|{{{cardId|}}}}} |}} | |||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
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.
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 |
|
Experiência | Base: 125~136 Classe: 50~54 Arma: 10~11 |
Características |
|
{{MonsterInfoBox|10071}}
Pukui Bebê
Faixa de Nível | 1~2 |
---|---|
Tipo | Planta |
Raça | Pukui |
Tamanho | Médio |
Papel | Monstro |
Movimento |
|
Experiência | Base: 0~4 Classe: 0~1 Arma: 0~1 |
Características |
|
Carta Pukui Verde
Carta
Armadura
Peso: 0.001Armadura
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}}