Template:Weapon: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude><table class="wikitable" style="width:100%">
<tr><th  colspan=7 style="text-align:left; font-size:110%;">{{{weapon}}}</th></tr>
<tr><th  colspan=7 style="text-align:left; font-size:110%; border: 1px solid black; border-collapse: collapse;">{{{weapon}}}</th></tr>
<tr><td rowspan=2 style="text-align:center; width:20%;">{{#switch: {{{type}}} | M = [[File:Melee_icon.jpg|50px]]| R= [[File:Ranged_icon.jpg|50px]] | icon }}</td>
<tr><td rowspan=2 style="text-align:center; width:20%;border: 1px solid black; border-collapse: collapse;">{{#switch: {{{type}}} | M = [[File:Melee_icon.jpg|50px]]| R= [[File:Ranged_icon.jpg|50px]] | icon }}</td>
<th style="text-align:center;">&nbsp;RNG&nbsp;</th>
<th style="text-align:center;">&nbsp;RNG&nbsp;</th>
<th style="text-align:center;">&nbsp;ROF&nbsp;</th>
<th style="text-align:center;">&nbsp;ROF&nbsp;</th>
<th style="text-align:center;">&nbsp;AOE&nbsp;</th>
<th style="text-align:center;">&nbsp;AOE&nbsp;</th>
<th style="text-align:center;">&nbsp;POW&nbsp;</th>
<th style="text-align:center;">&nbsp;POW&nbsp;</th>
<th style="text-align:center;">&nbsp;LOCATION&nbsp;</th>
<th style="text-align:center;">&nbsp;LOCATION&nbsp;</th></tr>
<tr>
<tr>
<td style="text-align:center; font-size:90%;">{{{rng}}}</td>
<td style="text-align:center; font-size:90%;">{{{rng}}}</td>
Line 14: Line 14:
<td style="text-align:center; font-size:90%;">{{{loc}}}</td>
<td style="text-align:center; font-size:90%;">{{{loc}}}</td>
</tr>
</tr>
<tr><td colspan=7 style="border: 1px solid grey;">
{{{abilities}}}
{{{abilities}}}</td>
</tr></table>
</tr>
<includeonly>[[Category:{{{weapon}}}]]</includeonly>
<includeonly>[[Category:{{{weapon}}}]]</includeonly>
</onlyinclude>
</onlyinclude>


<noinclude>[[Category:Templates]]
<noinclude>[[Category:Templates]]
===What this is===
This is a simple Weapon box. It is wrapped by the table tags, so use it when you want to display a weapon as a standalone, like on a warcaster, solo, or unit's page.
===Variables===
Variables are shown above, in the way they're going to be displayed. You must supply all variables. If the variable is not used, like an AOE, then use a dash ( - ) for the value.
* If the weapon is a Ranged weapon, use R for type.
* If it is melee, use M for type.
* loc may be used to display Right Hand, Head, etc, or for X2. 
<table class="wikitable">
<table class="wikitable">
{{Weapon | weapon= Hand Cannon| type = R | rng = 12 | rof = 1 | aoe = - | pow = 12| loc = - | abilities = {{AbilitySingle|Pistol}} }}
{{Weapon | weapon= Hand Cannon| type = R | rng = 12 | rof = 1 | aoe = - | pow = 12| loc = - | abilities = {{AbilitySingle|Pistol}} }}
</table>
</table>
</noinclude>
</noinclude>

Latest revision as of 20:02, 8 February 2024

{{{abilities}}}
{{{weapon}}}
icon  RNG   ROF   AOE   POW   LOCATION 
{{{rng}}} {{{rof}}} {{{aoe}}} {{{pow}}} {{{loc}}}

What this is

This is a simple Weapon box. It is wrapped by the table tags, so use it when you want to display a weapon as a standalone, like on a warcaster, solo, or unit's page.

Variables

Variables are shown above, in the way they're going to be displayed. You must supply all variables. If the variable is not used, like an AOE, then use a dash ( - ) for the value.

  • If the weapon is a Ranged weapon, use R for type.
  • If it is melee, use M for type.
  • loc may be used to display Right Hand, Head, etc, or for X2.
Hand Cannon
 RNG   ROF   AOE   POW   LOCATION 
12 1 - 12 -
Pistol
Pistol

A model making an attack with this weapon targeting a model it is in melee with ignores the Target in Melee bonus when resolving this attack.

  Errata-Pistol (2023-09-17)
Question: Does the pistol benefit apply to models not in melee with the attacking model when the pistol is on a spray?
Answer: No, it only applies to models with which the attacking model is in melee.
Explanation: The intent is that a model only ignore the penalty for being in melee with the models that model is in melee with. Pistol only works against the models in the melee with the attacking model.
Infernal Ruling: Dark Legacy - PP Community forum