Template:CombatStylesDisplay/doc
Template:CombatStylesDisplay invokes function main in Module:CombatStylesDisplay using Lua.
This template pulls smw data from {{Infobox Bonuses}}
combatstyle parameter to display weapons of the same style in a list format.
Usage
{{CombatStylesDisplay|type = <!-- A type of weapon. -->|Range = <!-- Usable values range from 1 to 10 depending on the weapon type.--> }}
Details
Possible values for the first field are:
- 2h Sword
- Axe
- Banner
- Bladed Staff
- Blaster
- Bludgeon
- Blunt
- Bow
- Bulwark
- Chinchompas
- Claw
- Crossbow
- Gun
- Pickaxe
- Polearm
- Polestaff
- Powered Staff
- Powered Wand
- Salamander
- Scythe
- Slash Sword
- Spear
- Spiked
- Stab Sword
- Staff
- Thrown
- Unarmed
- Whip
Examples
{{CombatStylesDisplay|2h Sword}}
Lua error in Module:CombatStylesDisplay at line 37: attempt to get length of local 'smwdata' (a nil value).
{{CombatStylesDisplay|Bow}}
Lua error in Module:CombatStylesDisplay at line 37: attempt to get length of local 'smwdata' (a nil value).
{{CombatStylesDisplay|Bow|range = 7}}
Lua error in Module:CombatStylesDisplay at line 37: attempt to get length of local 'smwdata' (a nil value).
Quick copy/paste
{{CombatStylesDisplay|}}