Difference between revisions of "Template:5e Magic Weapon/doc"
From Dungeons and Dragons Wiki
(Created page with "==Use== Use in articles that describe a magic weapon in 5th edition. ==Syntax== <pre>{{5e Magic Weapon |name= <!-- name of magic weapon --> |typenote= <!...") |
m |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | This template combines the [[:Template:5e Magic Item|5e Magic Item]] and [[:Template:5e Weapon|5e Weapon]] templates. | ||
+ | |||
==Use== | ==Use== | ||
Use in articles that describe a [[SRD5:Magic Item|magic weapon]] in 5th edition. | Use in articles that describe a [[SRD5:Magic Item|magic weapon]] in 5th edition. | ||
Line 5: | Line 7: | ||
<pre>{{5e Magic Weapon | <pre>{{5e Magic Weapon | ||
|name= <!-- name of magic weapon --> | |name= <!-- name of magic weapon --> | ||
+ | |sorttext= <!--blank, or category sort--> | ||
+ | |refs= <!--references--> | ||
|typenote= <!-- Note following type. ex. ammunition --> | |typenote= <!-- Note following type. ex. ammunition --> | ||
|rarity= <!-- Common, Uncommon, Rare, Very Rare, Legendary --> | |rarity= <!-- Common, Uncommon, Rare, Very Rare, Legendary --> | ||
− | |raritynote= <!-- Note following rarity. | + | |raritynote= <!-- Note following rarity, other than requires attunement. --> |
− | |smo= | + | |attunement= <!-- Yes if requires attunement, otherwise blank --> |
− | |mr= | + | |attunementnote= <!-- blank unless attunement note --> |
− | |damage= | + | |charges= <!-- # of charges or uses, otherwise blank --> |
+ | |smo= <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> | ||
+ | |mr= <!-- m=melee r=ranged --> | ||
+ | |magicbonus= <!-- +1, +2, +3 otherwise blank--> | ||
+ | |damage= <!-- d6, d8, 2d6, etc.--> | ||
|dtype= <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> | |dtype= <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> | ||
|addldamage= <!-- add'l damage and type --> | |addldamage= <!-- add'l damage and type --> | ||
|weight= <!-- in lbs. --> | |weight= <!-- in lbs. --> | ||
− | |ammo= | + | |ammo= <!-- y=uses Ammunition--> |
|fine= <!-- y=is Finesse --> | |fine= <!-- y=is Finesse --> | ||
|heavy= <!-- y=is Heavy --> | |heavy= <!-- y=is Heavy --> | ||
|light= <!-- y=is Light --> | |light= <!-- y=is Light --> | ||
− | |load= | + | |load= <!-- y=Loading --> |
|range= <!-- enter value, example: 20/60) --> | |range= <!-- enter value, example: 20/60) --> | ||
|reach= <!-- y=has Reach --> | |reach= <!-- y=has Reach --> | ||
Line 34: | Line 42: | ||
<pre>{{5e Magic Weapon | <pre>{{5e Magic Weapon | ||
|name= Foo's Sword<!-- name of magic weapon --> | |name= Foo's Sword<!-- name of magic weapon --> | ||
− | |typenote=Scimitar <!-- Note following type. ex. ammunition --> | + | |sorttext= <!--blank, or category sort--> |
+ | |refs=<ref name="fgtn.33">{{Cite Pub|Foo's Guide to Nothing|pages=33}} Licensed: [[Public Domain]].</ref> | ||
+ | |typenote={{SRD5|Scimitar}} <!-- Note following type. ex. ammunition --> | ||
|rarity= Very Rare<!-- Common, Uncommon, Rare, Very Rare, Legendary --> | |rarity= Very Rare<!-- Common, Uncommon, Rare, Very Rare, Legendary --> | ||
− | |raritynote= <!-- Note following rarity. | + | |raritynote= <!-- Note following rarity, other than requires attunement. --> |
+ | |attunement= <!-- Yes if requires attunement, otherwise blank --> | ||
+ | |attunementnote= <!-- blank unless attunement note --> | ||
+ | |charges= <!-- # of charges or uses, otherwise blank --> | ||
|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=m <!-- m=melee r=ranged --> | |mr=m <!-- m=melee r=ranged --> | ||
− | |damage= | + | |magicbonus=+1 <!-- +1, +2, +3 otherwise blank--> |
+ | |damage=1d6 <!-- d6, d8, 2d6, etc.--> | ||
|dtype=p <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> | |dtype=p <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> | ||
|addldamage=and 2d8 {{SRD5|Force}} damage <!-- add'l damage and type --> | |addldamage=and 2d8 {{SRD5|Force}} damage <!-- add'l damage and type --> | ||
Line 55: | Line 69: | ||
|vers= <!-- enter value if Versatile, example: 1d10 --> | |vers= <!-- enter value if Versatile, example: 1d10 --> | ||
|otherp= <!-- enter value if non-standard property, example: exotic --> | |otherp= <!-- enter value if non-standard property, example: exotic --> | ||
− | |desc=The Foo's Sword is a +1 scimitar made of green jade. When it hits a creature with a {{ | + | |desc=The Foo's Sword is a +1 scimitar made of green jade. When it hits a creature with a {{SRD5|Wisdom}} of less than 10 takes an additional 2d8 {{srd5lc|Force}} damage (noted above). <!--Description of the magic weapon, rules, and abilities --> |
}}</pre> | }}</pre> | ||
Line 62: | Line 76: | ||
{{5e Magic Weapon | {{5e Magic Weapon | ||
|name= Foo's Sword<!-- name of magic weapon --> | |name= Foo's Sword<!-- name of magic weapon --> | ||
− | |typenote=Scimitar <!-- Note following type. ex. ammunition --> | + | |sorttext= <!--blank, or category sort--> |
+ | |refs=<ref name="fgtn.33">{{Pub|Foo's Guide to Nothing}} p.33 Licensed: [[Public Domain]].</ref> | ||
+ | |typenote={{SRD5|Scimitar}} <!-- Note following type. ex. ammunition --> | ||
|rarity= Very Rare<!-- Common, Uncommon, Rare, Very Rare, Legendary --> | |rarity= Very Rare<!-- Common, Uncommon, Rare, Very Rare, Legendary --> | ||
− | |raritynote= <!-- Note following rarity. | + | |raritynote= <!-- Note following rarity, other than requires attunement. --> |
+ | |attunement= <!-- Yes if requires attunement, otherwise blank --> | ||
+ | |attunementnote= <!-- blank unless attunement note --> | ||
+ | |charges= <!-- # of charges or uses, otherwise blank --> | ||
|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=m <!-- m=melee r=ranged --> | |mr=m <!-- m=melee r=ranged --> | ||
− | |damage= | + | |magicbonus=+1 |
+ | |damage=1d6 <!-- d6, d8, 2d6, etc.--> | ||
|dtype=p <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> | |dtype=p <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> | ||
|addldamage=and 2d8 {{SRD5|Force}} damage <!-- add'l damage and type --> | |addldamage=and 2d8 {{SRD5|Force}} damage <!-- add'l damage and type --> | ||
Line 83: | Line 103: | ||
|vers= <!-- enter value if Versatile, example: 1d10 --> | |vers= <!-- enter value if Versatile, example: 1d10 --> | ||
|otherp= <!-- enter value if non-standard property, example: exotic --> | |otherp= <!-- enter value if non-standard property, example: exotic --> | ||
− | |desc=The Foo's Sword is a +1 scimitar made of green jade. When it hits a creature with a {{ | + | |desc=The Foo's Sword is a +1 scimitar made of green jade. When it hits a creature with a {{SRD5|Wisdom}} of less than 10 takes an additional 2d8 {{srd5lc|Force}} damage (noted above). <!--Description of the magic weapon, rules, and abilities --> |
}} | }} | ||
Line 91: | Line 111: | ||
[ and ] display as [ and ] , respectively, but won't get parsed as wiki links. | [ and ] display as [ and ] , respectively, but won't get parsed as wiki links. | ||
--> | --> | ||
− | |||
[[Category:5e]] | [[Category:5e]] | ||
− | [[Category:Template | + | [[Category:Template documentation]]</noinclude> |
Latest revision as of 04:07, 11 December 2022
This template combines the 5e Magic Item and 5e Weapon templates.
Use[edit]
Use in articles that describe a magic weapon in 5th edition.
Syntax[edit]
{{5e Magic Weapon |name= <!-- name of magic weapon --> |sorttext= <!--blank, or category sort--> |refs= <!--references--> |typenote= <!-- Note following type. ex. ammunition --> |rarity= <!-- Common, Uncommon, Rare, Very Rare, Legendary --> |raritynote= <!-- Note following rarity, other than requires attunement. --> |attunement= <!-- Yes if requires attunement, otherwise blank --> |attunementnote= <!-- blank unless attunement note --> |charges= <!-- # of charges or uses, otherwise blank --> |smo= <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> |mr= <!-- m=melee r=ranged --> |magicbonus= <!-- +1, +2, +3 otherwise blank--> |damage= <!-- d6, d8, 2d6, etc.--> |dtype= <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> |addldamage= <!-- add'l damage and type --> |weight= <!-- in lbs. --> |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 --> |desc= <!--Description of the magic weapon, rules, and abilities --> }} <--Description and rules for the magic item-->
Example[edit]
{{5e Magic Weapon |name= Foo's Sword<!-- name of magic weapon --> |sorttext= <!--blank, or category sort--> |refs=<ref name="fgtn.33">{{Cite Pub|Foo's Guide to Nothing|pages=33}} Licensed: [[Public Domain]].</ref> |typenote={{SRD5|Scimitar}} <!-- Note following type. ex. ammunition --> |rarity= Very Rare<!-- Common, Uncommon, Rare, Very Rare, Legendary --> |raritynote= <!-- Note following rarity, other than requires attunement. --> |attunement= <!-- Yes if requires attunement, otherwise blank --> |attunementnote= <!-- blank unless attunement note --> |charges= <!-- # of charges or uses, otherwise blank --> |smo=m <!-- s=simple m=martial value if other (ex. exotic, dwarven only) --> |mr=m <!-- m=melee r=ranged --> |magicbonus=+1 <!-- +1, +2, +3 otherwise blank--> |damage=1d6 <!-- d6, d8, 2d6, etc.--> |dtype=p <!--(b=bludgeoning, p=piercing, s=slashing, value if other)--> |addldamage=and 2d8 {{SRD5|Force}} damage <!-- add'l damage and type --> |weight=4 <!-- in lbs. --> |ammo= <!-- y=uses Ammunition--> |fine=y <!-- y=is Finesse --> |heavy= <!-- y=is Heavy --> |light=y <!-- y=is Light --> |load= <!-- y=Loading --> |range= <!-- enter value, example: 20/60) --> |reach=10 ft. <!-- 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 --> |desc=The Foo's Sword is a +1 scimitar made of green jade. When it hits a creature with a {{SRD5|Wisdom}} of less than 10 takes an additional 2d8 {{srd5lc|Force}} damage (noted above). <!--Description of the magic weapon, rules, and abilities --> }}
produces...
Foo's Sword [1]
Martial Melee Weapon (Scimitar), very rare
The Foo's Sword is a +1 scimitar made of green jade. When it hits a creature with a Wisdom of less than 10 takes an additional 2d8 force damage (noted above).
Name | Magic Bonus1 |
Damage | Weight | Properties |
---|---|---|---|---|
Foo's Sword | +1 | 1d6 Piercing (and 2d8 Force damage) | 4 lbs | Finesse Light Reach |
1Magic bonus is not included in listed damage. |
</includeonly>
- ↑ Foo's Guide to Nothing p.33 Licensed: Public Domain.