Template:5e Weapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 91: | Line 91: | ||
|Cost={{{cost|}}} | |Cost={{{cost|}}} | ||
|Damage={{{damage|}}} | |Damage={{{damage|}}} | ||
|Damage_Type={{{dtype|}}} | |Damage_Type={{#switch: {{{dtype}}} | ||
|b = {{srd5lc|Bludgeoning}} | |||
|p = {{srd5lc|Piercing}} | |||
|s = {{srd5lc|Slashing}} | |||
|none = — | |||
|#default = {{{dtype}}} | |||
}} | |||
|Weight={{{weight|}}} | |Weight={{{weight|}}} | ||
|Properties={{5e Weapon Prop List|ammo={{{ammo|}}}|fine={{{fine|}}}|heavy={{{heavy|}}}|light={{{light|}}}|load={{{load|}}}|range={{{range|}}}|reach={{{reach|}}}|special={{{special|}}}|thrown={{{thrown|}}}|twohand={{{twohand|}}}|vers={{{vers|}}}|otherp={{{otherp|}}}}} | |Properties={{5e Weapon Prop List|ammo={{{ammo|}}}|fine={{{fine|}}}|heavy={{{heavy|}}}|light={{{light|}}}|load={{{load|}}}|range={{{range|}}}|reach={{{reach|}}}|special={{{special|}}}|thrown={{{thrown|}}}|twohand={{{twohand|}}}|vers={{{vers|}}}|otherp={{{otherp|}}}}} |
Revision as of 19:27, 1 May 2020
This template defines the table "5e_Weapon". View table.
Template documentation (for the above template, sometimes hidden or invisible)
Syntax
{{5e Weapon |weap= <!--name--> |sorttext= <!--blank, or category sort--> |refs= <!--references--> |smo= <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> |mr= <!-- m=melee r=ranged --> |damage= |dtype= <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> |weight= <!-- in lbs. --> |cost= |ammo= <!-- y=uses Ammunition--> |fine= <!-- y=is Finesse --> |heavy= <!-- y=is Heavy --> |light= <!-- y=is Light --> |load= <!-- y=Loading --> |range= <!-- enter value, example: 20/60) --> |reach= <!-- y=has Reach --> |special= <!-- y=has Special rules --> |thrown= <!-- y=may be thrown --> |twohand= <!-- y=is two-handed weapon --> |vers= <!-- enter value if Versatile, example: 1d10 --> |otherp= <!-- enter value if non-standard property, example: exotic --> |note= <!-- add'l notes --> }}
Add'l Entries
|canon=true <!-- for published weapons --> |magic=true <!-- for magic weapons --> |monk=true <!-- if monk weapon --> |polearm=true <!-- if polearm --> |polearm bonus attack=true <!-- if polearm master feat grants bonus attack --> |polearm op attack reach=true <!-- if polearm feat givess reach to op attack --> |racial= <!-- blank or list of races/subraces-->
Examples
The example weapon below is defined in wiki-text as follows:
{{5e Weapon |weap=Needler |sorttext= <!--blank, or category sort--> |refs=<ref>{{Cite Pub|Foo's Guide to Future Weapons|pages=36}} Licensed: [[Public Domain]].</ref> |smo=m <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> |mr=r <!-- m=melee r=ranged --> |damage=1d4 |dtype=p <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> |weight=1 <!-- in lbs. --> |cost=30 |ammo=y <!-- y=uses Ammunition--> |fine= <!-- y=is Finesse --> |heavy= <!-- y=is Heavy --> |light=y <!-- y=is Light --> |load=y <!-- y=Loading --> |range=60/120 <!-- enter value, example: 20/60) --> |reach= <!-- y=has Reach --> |special= <!-- y=has Special rules --> |thrown= <!-- y=may be thrown --> |twohand= <!-- y=is two-handed weapon --> |vers= <!-- enter value if Versatile, example: 1d10 --> |otherp= <!-- enter value if non-standard property, example: exotic --> |note= <!-- add'l notes --> }}
This text becomes:
Needler Martial Ranged Weapon
Name | Cost | Damage | Weight | Properties |
---|---|---|---|---|
Needler | 30 | 1d4 piercing | 1 lbs | Ammunition, Light, Loading, Range (60/120) |
Visit Template:5e Weapon/doc to edit this text! (How does this work?)