Template:SkillWeaponRequirements: Difference between revisions

From Ymirheim Wiki
mNo edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="wikitable">
<includeonly><table class="wikitable">
{{#if:{{{caption|}}}|<caption>{{{caption|}}}</caption>|}}
{{#if:{{{caption|default}}}|<caption>{{{caption|<translate><!--T:1--> Weapons</translate>}}}</caption>|}}
<tr>
<tr>
<th>{{#yh_data:string_table|40|Content}}</th>
<th>{{#yh_data:string_table|40|Content}}</th>
Line 9: Line 9:
<th>{{#yh_data:string_table|45|Content}}</th>
<th>{{#yh_data:string_table|45|Content}}</th>
<th>{{#yh_data:string_table|46|Content}}</th>
<th>{{#yh_data:string_table|46|Content}}</th>
{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Shield}}|1| <th></th> |}}
</tr>
</tr>
<tr>
<tr>
<td>{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon00}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon00}}|255| ❌ | ✔️ }}</td>
<td>{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon01}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon01}}|255| ❌ | ✔️ }}</td>
<td>{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon02}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon02}}|255| ❌ | ✔️ }}</td>
<td>{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon03}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon03}}|255| ❌ | ✔️ }}</td>
<td>{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon04}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon04}}|255| ❌ | ✔️ }}</td>
<td>{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon05}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon05}}|255| ❌ | ✔️ }}</td>
<td>{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon06}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon06}}|255| ❌ | ✔️ }}</td>
{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Shield}}|1| <td>⚠️ {{#yh_data:string_table|113|Content}}</td> |}}
</tr>
</tr>
</table>
{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Shield}}|1| <tr><td colspan=7>⚠️ {{#yh_data:string_table|113|Content}}</td></tr> |}}
</table></includeonly><noinclude>
This template can be used to display the list of weapons compatible with the given skill ID.
 
== Examples ==
 
<pre><nowiki>{{SkillWeaponRequirements|1000700111}}</nowiki></pre>
{{SkillWeaponRequirements|1000700111}}
 
 
[[Category:Game Data Templates{{#translation:}}]]
</noinclude>

Latest revision as of 19:48, 8 July 2024

This template can be used to display the list of weapons compatible with the given skill ID.

Examples

{{SkillWeaponRequirements|1000700111}}
Weapons
Empty hands Dagger Sword Swordstick Rifle Bow Rod
✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
⚠️ Cannot be used without a shield.