Template:CombatStylesDisplay/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 22:07, 15 October 2024 (Created page with "{{Documentation}} This template pulls smw data from {{T|Infobox Bonuses}} combatstyle parameter to display weapons of the same style in a list format. ==Usage== <pre>{{CombatStylesDisplay|type = <!-- A type of weapon. -->|Range = <!-- Usable values range from 1 to 10 depending on the weapon type.--> }}</pre> ==Details== Possible values for the first field are: * 2h Sword * Axe * Banner * Bladed Staff * Blaster * Bludgeon * Blunt * Bow * Bulwark * Chinchompas * Claw *..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:CombatStylesDisplay.
It contains usage information, categories, and other content that is not part of the original template page.
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|}}