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

From Bearscape Wiki
Jump to: navigation, search
(Added template for GURPS melee weapons.)
 
m (Used the altrow CSS class for simplification.)
 
Line 5: Line 5:
 
|{{#vardefine: mod | {{#expr: {{#var: number}} mod 9}}}}
 
|{{#vardefine: mod | {{#expr: {{#var: number}} mod 9}}}}
 
   {{#switch: {{#var: mod}}
 
   {{#switch: {{#var: mod}}
   | 1 = <tr {{#ifeq: {{#expr: {{#var: number}} mod 18}} | 10 | style="background-color: #e2f9e2"}}><td class="width100p">{{#var: value}}
+
   | 1 = <tr {{#ifeq: {{#expr: {{#var: number}} mod 18}} | 10 | 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:48, 27 January 2016

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

Usage[edit]

{{GURPS Melee Weapons List
[WEAPONS]
}}

Where [WEAPONS] is in the following format:

|weapon name|optional notes|usage|level|parry|block|damage|reach|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 Melee Weapons List
|Natural||Kick|8|No||1d-3 cr|C,1|
|Quarterstaff|Using Two-Handed Sword skill|Swung|3|5|No|1d cr|1,2|9†
}}

renders as:

Melee WeaponsUsageLvlParryBlockDamageReachST
NaturalKick8No1d-3 crC,1
Quarterstaff
Using Two-Handed Sword skill
Swung35No1d cr1,29†