Template:SkillWeaponRequirements: Difference between revisions

From Ymirheim Wiki
m (Protected "Template:SkillWeaponRequirements" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Marked this version for translation)
 
(7 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:weapon_types|0|Name}}</th>
<th>{{#yh_data:string_table|41|Content}}</th>
<th>{{#yh_data:weapon_types|1|Name}}</th>
<th>{{#yh_data:string_table|42|Content}}</th>
<th>{{#yh_data:weapon_types|2|Name}}</th>
<th>{{#yh_data:string_table|43|Content}}</th>
<th>{{#yh_data:weapon_types|3|Name}}</th>
<th>{{#yh_data:string_table|44|Content}}</th>
<th>{{#yh_data:weapon_types|4|Name}}</th>
<th>{{#yh_data:string_table|45|Content}}</th>
<th>{{#yh_data:weapon_types|5|Name}}</th>
<th>{{#yh_data:string_table|46|Content}}</th>
<th>{{#yh_data:weapon_types|6|Name}}</th>
</tr>
</tr>
<tr>
<tr>
Line 19: Line 19:
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon06}}|255| ❌ | ✔️ }}</td>
<td style="text-align: center;">{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Weapon06}}|255| ❌ | ✔️ }}</td>
</tr>
</tr>
{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Shield}}|1| <tr><td colspan=7>⚠️ {{#yh_data:string_table|113|Content}}</td></tr> |}}
{{#ifeq:{{#yh_data:skills|{{{1}}}|Req_Shield}}|1| <tr><td colspan=7>⚠️ <translate><!--T:2--> Cannot be used without a shield.</translate></td></tr> |}}
</table>
</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 12:48, 29 July 2025

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

Examples

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