Open main menu

Dungeons and Dragons Wiki β

Changes

Template:5e Magic Weapon

493 bytes added, 04:04, 11 December 2022
m
refs, pointer
<includeonly>
'''{{{name}}}'''{{{refs|}}}{{#if: {{{pointer|}}}|([[pointer]])|}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e Magic Items]][[Category:5e Magic WeaponWeapons]]<br />{{#set:weap={{{name|}}}|}}[[Category:5e Weapons]][[Category:Weapon]][[Category:5e]][[Category:Magic Item]]{{#if: {{{canon|}}}|[[Category:5e Canon Magic WeaponsItems]]{{#set: Canon=true}}|}}<!-- avoid cr
-->''{{#switch: {{{smo}}}
|s = [[Proficiency::Simple]] [[Category:5e Simple Weapons]]
|#default = [[Type::{{{mr}}}]]
|<span style="color: red;">Enter 'm'=melee, 'r'=ranged, or 'none', for parameter 'mr'</span>
}}&nbsp;[[Item Type::Weapon]]{{#if: {{{typenote|}}}|&nbsp;({{{typenote}}}){{#set: Type Note={{{typenote}}}}}| }},&nbsp;<!-- avoid cr
-->{{#switch: {{{rarity}}}
|Common = common {{lc#set:[[Rarity::=Common]]}}[[Category:5e Common Magic Items]] |Uncommon = uncommon{{lc#set:[[Rarity::=Uncommon]]}}[[Category:5e Uncommon Magic Items]] |Rare = rare{{lc#set:[[Rarity::=Rare]]}}[[Category:5e Rare Magic Items]] |Very Rare = very rare{{lc#set:[[Rarity::=Very Rare]]}}[[Category:5e Very Rare Magic Items]] |Legendary = legendary{{lc#set:[[Rarity::=Legendary]]}}[[Category:5e Legendary Magic Items]] |Artifact = artifact{{lc#set:[[Rarity::=Artifact]]}}[[Category:5e Artifacts]]
|#default = {{lc:[[Rarity::{{{rarity}}}]]}}
}}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}|&nbsp;{{{attunementnote}}}|}})|&nbsp;(requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}|&nbsp;{{{attunementnote}}}|}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}})| }}}}''<br />
{{#if: {{{desc|}}}|{{{desc}}}| }}
{| class="d20 zebra" style="border-style:solid; border-width:1px; border-radius:0.5em;"!style="background:#e8d693;"|Name!style="background:#e8d693;"|Magic<br />Bonus<sup>1</sup>!style="background:#e8d693;"|Damage!style="background:#e8d693;"|Weight!style="background:#e8d693;"|Properties
|-
|{{{name}}}
|align="center"|{{#if: {{{magicbonus|}}}| [[Magic Bonus::&nbsp;{{{magicbonus|}}}&nbsp;]]| }}
|{{{damage}}}{{#set:Damage={{{damage}}}}}{{#if: {{{magicbonus|}}}|&nbsp;{{{magicbonus}}}&nbsp;|&nbsp;}}{{#switch: {{{dtype}}} |b = [[SRD5:Bludgeoning{{!}}Bludgeoning]]{{#set:DamageType=Bludgeoning}}-->
|p = [[SRD5:Piercing{{!}}Piercing]]{{#set:DamageType=Piercing}}
|s = [[SRD5:Slashing{{!}}Slashing]]{{#set:DamageType=Slashing}}
}}{{#if: {{{addldamage|}}}|&nbsp;({{{addldamage}}})| }}
|align="center"|{{#if: {{{weight|}}} | [[Weight::{{{weight}}}]]&nbsp;lbs | [[Weight::—]]}}
| {{#if: {{{ammo|}}} | [[SRD5:Ammunition{{!}}Ammunition]] [[Category:5e Ammunition Weapons]] {{#set:Ammunition=true}} &nbsp;}} {{#if: {{{fine|}}} | [[SRD5:Finesse{{!}}Finesse]] [[Category:5e Finesse Weapons]]{{#set:Finesse=true}} &nbsp;}} {{#if: {{{heavy|}}} | [[SRD5:Heavy Weapon{{!}}Heavy]] [[Category:5e Heavy Weapons]]{{#set:Heavy=true}} &nbsp;}} {{#if: {{{light|}}} | [[SRD5:Light Weapon{{!}}Light]] [[Category:5e Light Weapons]]{{#set:Light=true}} &nbsp;}} {{#if: {{{load|}}} | [[SRD5:Loading{{!}}Loading]] [[Category:5e Loading Weapons]]{{#set:Loading=true}} &nbsp;}} {{#if: {{{range|}}} | [[SRD5:Range{{!}}Range]] ({{{range}}}) {{#set:Range={{{range}}}}}&nbsp;}} {{#if: {{{reach|}}} | [[SRD5:Reach{{!}}Reach]] [[Category:5e Reach Weapons]] &nbsp;{{#set: Reach=true}}|}} {{#if: {{{special|}}} | [[SRD5:Special{{!}}Special]] [[Category:5e Special Weapons]] &nbsp;{{#set: Special=true}}|}} {{#if: {{{thrown|}}} | [[SRD5:Thrown{{!}}Thrown]] [[Category:5e Thrown Weapons]]{{#set:Thrown=true}} &nbsp;}} {{#if: {{{twohand|}}} | [[SRD5:Two-Handed{{!}}Two-Handed]] [[Category:5e Two-Handed Weapons]]{{#set:Two-Handed=true}} &nbsp;}} {{#if: {{{vers|}}} | [[SRD5:Versatile{{!}}Versatile]] ({{{vers}}})[[Category:5e Versatile Weapons]]{{#set:Versatile=true}} &nbsp;}} {{#if: {{{otherp|}}} | {{{otherp}}} {{#set:OtherP={{{otherp}}} }} {}}
|-
|colspan=5 style="font-size:8pt;"|<sup>1</sup>Magic bonus is '''isnot''' included in listed damage.
|}
&nbsp;
{{#set:Properties={{#if: {{{ammo|}}}|Ammunition|}}{{#if: {{{fine|}}}|&nbsp;Finesse|}} {{#if: {{{heavy|}}}|&nbsp;Heavy|}}{{#if: {{{light|}}}|&nbsp;Light|}}{{#if: {{{load|}}}|&nbsp;Loading|}}{{#if: {{{range|}}}|&nbsp;Range {{{range}}} ft.|}}{{#if:{{{reach|}}}|&nbsp;Reach|}}{{#if: {{{special|}}}|&nbsp;Special|}}{{#if: {{{thrown|}}}|&nbsp;Thrown|}}{{#if: {{{twohand|}}}|&nbsnbsp;Two-handed|}}{{#if: {{{vers|}}}|&nbsp;Versatle {{{vers}}}|}}{{#if: {{{otherp|}}}|&nbsp;{{{otherp}}}|}} }}
</includeonly><noinclude>
25,083
edits