Difference between revisions of "Template:GURPS Ranged Weapons List"

From Bearscape Wiki
Jump to: navigation, search
(Added template for GURPS ranged weapons.)
 
m (Used the altrow CSS class for simplification.)
 
Line 5: Line 5:
 
|{{#vardefine: mod | {{#expr: {{#var: number}} mod 12}}}}
 
|{{#vardefine: mod | {{#expr: {{#var: number}} mod 12}}}}
 
   {{#switch: {{#var: mod}}
 
   {{#switch: {{#var: mod}}
   | 1 = <tr {{#ifeq: {{#expr: {{#var: number}} mod 24}} | 13 | style="background-color: #e2f9e2"}}><td class="width100p">{{#var: value}}
+
   | 1 = <tr {{#ifeq: {{#expr: {{#var: number}} mod 24}} | 13 | class="altrow"}}><td class="width100p">{{#var: value}}
 
   | 2 = {{#if: {{#var: value|}} | <div class="gray">{{#var: value}}</div>}}</td>
 
   | 2 = {{#if: {{#var: value|}} | <div class="gray">{{#var: value}}</div>}}</td>
 
   | 3 = <td>{{#var: value}}</td>
 
   | 3 = <td>{{#var: value}}</td>

Latest revision as of 23:49, 27 January 2016

This template will list ranged weapons for GURPS. It is meant for use with the GURPS Character Sheet template.

Usage[edit]

{{GURPS Ranged Weapons List
[WEAPONS]
}}

Where [WEAPONS] is in the following format:

|weapon name|optional notes|usage|level|accuracy|damage|range|rate of fire|shots|bulk|recoil|strength requirement

Include for as many melee weapons as you want to list. If any value is left blank, you must still include the pipe character before the next value. The optional notes will show up in gray if given.

Example[edit]

{{GURPS Ranged Weapons List
|Blaster Rifle|NOTES!||6|10+2|6d(5) burn|700/2100|3|50(3)|-4|1|7†
|Small Knife||Thrown|6|+0|1d-4 imp|3/7|1|T(1)|-1||5
}}

renders as:

Ranged WeaponsUsageLvlAccDamageRangeRoFShotsBulkRclST
Blaster Rifle
NOTES!
610+26d(5) burn700/2100350(3)-417†
Small KnifeThrown6+01d-4 imp3/71T(1)-15