Template:SkillWeaponRequirements: Difference between revisions
From Ymirheim Wiki
No edit summary Tag: Manual revert  | 
				 (Marked this version for translation)  | 
				||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<table class="wikitable">  | <includeonly><table class="wikitable">  | ||
{{#if:{{{caption|default}}}|<caption>{{{caption|<translate><!--T:1--> Weapons</translate>}}}</caption>|}}  | {{#if:{{{caption|default}}}|<caption>{{{caption|<translate><!--T:1--> Weapons</translate>}}}</caption>|}}  | ||
<tr>  | <tr>  | ||
<th>{{#yh_data:  | <th>{{#yh_data:weapon_types|0|Name}}</th>  | ||
<th>{{#yh_data:  | <th>{{#yh_data:weapon_types|1|Name}}</th>  | ||
<th>{{#yh_data:  | <th>{{#yh_data:weapon_types|2|Name}}</th>  | ||
<th>{{#yh_data:  | <th>{{#yh_data:weapon_types|3|Name}}</th>  | ||
<th>{{#yh_data:  | <th>{{#yh_data:weapon_types|4|Name}}</th>  | ||
<th>{{#yh_data:  | <th>{{#yh_data:weapon_types|5|Name}}</th>  | ||
<th>{{#yh_data:  | <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>⚠️ {{  | {{#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></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}}
| Hands | Dagger | Sword | Swordstick | Rifle | Bow | Rod | 
|---|---|---|---|---|---|---|
| ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | 
| ⚠️ Cannot be used without a shield. | ||||||