Template:Stats-weapon: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 21: Line 21:
          
          
         <td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid grey;">
         <td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid grey;">
        <table>
          <table>
            <tr style="{{{pistol|display: none;}}}">
              <tr style="{{{pistol|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%;">Pistol</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%;">Pistol</td>
</tr>         
  </tr>         
          <tr style="{{{electric|display: none;}}}">
              <tr style="{{{electric|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%;">Electric damage</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%;">Electric damage</td>
  </tr>         
      </tr>         
          <tr style="{{{special|display: none;}}}">
              <tr style="{{{special|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; ">{{{special}}}</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; ">{{{special}}}</td>
  </tr>         
      </tr>         
        </table>
          </table>
 
         </td>
         </td>
    
    

Revision as of 14:43, 26 December 2023



USAGE

Just paste what's below. Delete the pipes you're not using.

{{Stats-weapon-ranged
| weapon-name = 
| rng  = 
| rof    = 
| aoe   = 
| pow   =  
| pistol = (delete if not available)
| electric = (delete if not available)
| special = Link to special category 
}}


EXAMPLE

Here's an example


Electrical Discharge

RNG ROF AOE POW
SP8 17 6 6
Pistol
Electric damage
{{{special}}}
{{Stats-weapon
| weapon-name = Electrical Discharge
| rng  = SP8
| rof    = 17
| aoe   = 6
| pow   = 6 
| pistol = y
| electric = y
}}