Template:5e Weapon/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Syntax == <pre>{{5e Weapon |weap= <!--name--> |sorttext= <!--blank, or category sort--> |smo= <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> |mr= <!-...") |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|weap= <!--name--> | |weap= <!--name--> | ||
|sorttext= <!--blank, or category sort--> | |sorttext= <!--blank, or category sort--> | ||
|refs= <!--references--> | |||
|smo= <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> | |smo= <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> | ||
|mr= <!-- m=melee r=ranged --> | |mr= <!-- m=melee r=ranged --> | ||
Line 28: | Line 29: | ||
|canon=true <!-- for published weapons --> | |canon=true <!-- for published weapons --> | ||
|magic=true <!-- for magic weapons --> | |magic=true <!-- for magic weapons --> | ||
|monk=true <!-- if monk weapon --> | |||
|polearm=true <!-- if polearm --> | |polearm=true <!-- if polearm --> | ||
|polearm bonus attack=true <!-- if polearm master feat grants bonus attack --> | |polearm bonus attack=true <!-- if polearm master feat grants bonus attack --> | ||
|polearm op attack reach=true <!-- if polearm feat givess reach to op attack --> | |polearm op attack reach=true <!-- if polearm feat givess reach to op attack --> | ||
|racial= <!-- blank or list of races/subraces--> | |||
</pre> | </pre> | ||
Line 40: | Line 43: | ||
|weap=Needler | |weap=Needler | ||
|sorttext= <!--blank, or category sort--> | |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) --> | |smo=m <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> | ||
|mr=r <!-- m=melee r=ranged --> | |mr=r <!-- m=melee r=ranged --> | ||
Line 64: | Line 68: | ||
{{5e Weapon | {{5e Weapon | ||
|nodb=true | |||
|weap=Needler | |weap=Needler | ||
|sorttext= <!--blank, or category sort--> | |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) --> | |smo=m <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> | ||
|mr=r <!-- m=melee r=ranged --> | |mr=r <!-- m=melee r=ranged --> | ||
Line 86: | Line 92: | ||
|note= <!-- add'l notes --> | |note= <!-- add'l notes --> | ||
}} | }} | ||
<noinclude> | |||
[[Category:5e Template Docs]] | |||
</noinclude> |
Latest revision as of 06:27, 5 October 2021
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) [1]
Name | Cost | Damage | Weight | Properties |
---|---|---|---|---|
Needler | 30 | 1d4 piercing | 1 lbs | Ammunition, Light, Loading, Range (60/120) |
- Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)p. 36. Licensed: Public Domain. ↑