Difference between revisions of "Template:5e Weapon/doc"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (added two-handed)
m (Reverted edits by 172.69.35.92 (talk) to last revision by Rlyehable)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--  
+
== Syntax ==
== Parameters ==
+
<pre>{{5e Weapon
{{3.5e Mundane Weapon/doc/parameters}}
+
|weap= <!--name-->
-->
+
|sorttext= <!--blank, or category sort-->
 +
|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 -->
 +
}}</pre>
 +
 
 +
===Add'l Entries===
 +
<pre>
 +
|canon=true <!-- for published weapons -->
 +
|magic=true <!-- for magic weapons -->
 +
|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 -->
 +
</pre>
  
 
== Examples ==
 
== Examples ==
Line 10: Line 39:
 
<pre>{{5e Weapon
 
<pre>{{5e Weapon
 
|weap=Needler
 
|weap=Needler
 +
|sorttext= <!--blank, or category sort-->
 
|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 35: Line 65:
 
{{5e Weapon
 
{{5e Weapon
 
|weap=Needler
 
|weap=Needler
 +
|sorttext= <!--blank, or category sort-->
 
|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 -->

Latest revision as of 18:40, 23 June 2021

Syntax[edit]

{{5e Weapon
|weap= <!--name-->
|sorttext= <!--blank, or category sort-->
|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[edit]

|canon=true <!-- for published weapons -->
|magic=true <!-- for magic weapons -->
|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 -->

Examples[edit]

The example weapon below is defined in wiki-text as follows:

{{5e Weapon
|weap=Needler
|sorttext= <!--blank, or category sort-->
|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)