Template:CombatStylesDisplay

This is the current revision of this page, as edited by Alex (talk | contribs) at 22:07, 15 October 2024 (Created page with "<includeonly>{{#invoke:CombatStylesDisplay|main}}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:CombatStylesDisplay/doc. [edit] [history] [purge]
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|}}