Difference between revisions of "Template:5e Magic Weapon"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (typo)
m (moved description above weapon stat block)
Line 24: Line 24:
 
   |Artifact = [[Rarity::Artifact]]
 
   |Artifact = [[Rarity::Artifact]]
 
   |#default = [[Rarity::{{{rarity}}}]]
 
   |#default = [[Rarity::{{{rarity}}}]]
   }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}})| (requires {{srd5lc|Attunement}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''  
+
   }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires {{srd5lc|Attunement}})|&nbsp;(requires {{srd5lc|Attunement}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}})| }}}}''<br />
 +
{{#if: {{{desc|}}}|{{{desc}}}| }}
 
{| class="zebra d20"
 
{| class="zebra d20"
 
!Name
 
!Name
Line 48: Line 49:
 
|}
 
|}
 
&nbsp;
 
&nbsp;
{{#if: {{{desc|}}}|{{{desc}}}| }}
 
 
{{#set:Properties={{{Ammo}}} {{{Fine}}} {{{heavy}}} {{{Light}}} {{{load}}} {{{range}}} {{{reach}}} {{{special}}} {{{thrown}}} {{{twohand}}} {{{vers}}} {{{otherp}}} }}
 
{{#set:Properties={{{Ammo}}} {{{Fine}}} {{{heavy}}} {{{Light}}} {{{load}}} {{{range}}} {{{reach}}} {{{special}}} {{{thrown}}} {{{twohand}}} {{{vers}}} {{{otherp}}} }}
 
|}
 
|}

Revision as of 17:49, 6 February 2018

Template documentation (for the above template, sometimes hidden or invisible)

This template combines the 5e Magic Item and 5e Weapon templates.

Use

Use in articles that describe a magic weapon in 5th edition.

Syntax

{{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

{{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.