Template:5e Magic Weapon: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
|Versatile = String
|Versatile = String
|Other_Prop = String
|Other_Prop = String
|Properties = list (, ) of string
|Author = String
|Author = String
}}-->
}}-->
</noinclude><includeonly>
</noinclude><includeonly>
'''{{{name}}}'''{{#cargo_store: _table = 5e_Magic_Items|Item_Name = {{{name}}}}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}{{#cargo_store: _table = 5e_Magic_Items|Sort_Text = {{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}{{#cargo_store: _table = 5e_Magic_Items|Sort_Text = {{PAGENAME}} 5e}}}}[[Category:5e Magic Items]][[Category:5e Magic Weapons]]<br />
'''{{{name}}}'''<!--{{#cargo_store: _table = 5e_Magic_Items|Item_Name = {{{name}}}}}-->{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}<!--{{#cargo_store: _table = 5e_Magic_Items|Sort_Text = {{{sorttext}}} 5e}}-->|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}<!--{{#cargo_store: _table = 5e_Magic_Items|Sort_Text = {{PAGENAME}} 5e}}-->}}[[Category:5e Magic Items]][[Category:5e Magic Weapons]]<br />
[[SRD5:Weapon|Weapon]]{{#cargo_store: _table = 5e_Magic_Items|Item_Type = Weapon}}<!--{{#set:weap={{{name|}}-->[[Category:5e Weapons]][[Category:5e]][[Category:Magic Item]]{{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]{{#cargo_store: _table = 5e_Magic_Items|Canon = 1}}<!--{{#set: Canon=true}}-->|}}<!-- avoid cr
[[SRD5:Weapon|Weapon]]<!--{{#cargo_store: _table = 5e_Magic_Items|Item_Type = Weapon}}--><!--{{#set:weap={{{name|}}-->[[Category:5e Weapons]][[Category:5e]][[Category:Magic Item]]{{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]<!--{{#cargo_store: _table = 5e_Magic_Items|Canon = 1}}--><!--{{#set: Canon=true}}-->|}}<!-- avoid cr
-->''{{#switch: {{{smo}}}
-->''{{#switch: {{{smo}}}
   |s = {{#cargo_store: _table = 5e_Magic_Items|SimpleMartial = Simple}}<!--[[Proficiency::Simple]]-->[[Category:5e Simple Weapons]]  
   |s = Simple<!--{{#cargo_store: _table = 5e_Magic_Items|SimpleMartial = Simple}}--><!--[[Proficiency::Simple]]-->[[Category:5e Simple Weapons]]  
   |m = {{#cargo_store: _table = 5e_Magic_Items|SimpleMartial = Martial}}<!--[[Proficiency::Martial]]-->[[Category:5e Martial Weapons]]
   |m = Martial<!--{{#cargo_store: _table = 5e_Magic_Items|SimpleMartial = Martial}}--><!--[[Proficiency::Martial]]-->[[Category:5e Martial Weapons]]
   |#default = [[Proficiency::{{{smo}}}]]{{#cargo_store: _table = 5e_Magic_Items|SimpleMartial = {{{smo}}}}}
   |#default = {{{smo|}}}<!--[[Proficiency::{{{smo}}}]]--><!--{{#cargo_store: _table = 5e_Magic_Items|SimpleMartial = {{{smo}}}}}-->
   |<span style="color: red;">Enter 's'imple, 'm'artial, or value for parameter 'sme'</span>
   |<span style="color: red;">Enter 's'imple, 'm'artial, or value for parameter 'sme'</span>
}} {{#switch: {{{mr}}}
}} {{#switch: {{{mr}}}
   |m = {{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = Melee}}<!--[[Type::Melee]]--> [[Category:5e Melee Weapons]]
   |m = Melee<!--{{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = Melee}}--><!--[[Type::Melee]]--> [[Category:5e Melee Weapons]]
   |r = {{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = Ranged}}<!--[[Type::Ranged]]-->[[Category:5e Ranged Weapons]]
   |r = Ranged<!--{{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = Ranged}}--><!--[[Type::Ranged]]-->[[Category:5e Ranged Weapons]]
   |none = {{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = &mdash;}}<!--{{#set:Type=—}}-->
   |none = &mdash;<!--{{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = &mdash;}}--><!--{{#set:Type=—}}-->
   |#default = {{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = {{{mr}}}}}<!--[[Type::{{{mr}}}]]-->
   |#default = {{{mr|}}}<!--{{#cargo_store: _table = 5e_Magic_Items|MeleeRanged = {{{mr}}}}}--><!--[[Type::{{{mr}}}]]-->
   |<span style="color: red;">Enter 'm'=melee, 'r'=ranged, or 'none', for parameter 'mr'</span>
   |<span style="color: red;">Enter 'm'=melee, 'r'=ranged, or 'none', for parameter 'mr'</span>
}}&nbsp;{{#cargo_store: _table = 5e_Magic_Items|Item_Type = Weapon}}<!--[[Item Type::Weapon]]-->{{#if: {{{typenote|}}}|&nbsp;({{{typenote}}}){{#cargo_store: _table = 5e_Magic_Items|Type_Note = {{{typenote}}}}}<!--{{#set: Type Note={{{typenote}}}}}-->| }},&nbsp;<!-- avoid cr
}}&nbsp;<!--{{#cargo_store: _table = 5e_Magic_Items|Item_Type = Weapon}}--><!--[[Item Type::Weapon]]-->{{#if: {{{typenote|}}}|&nbsp;({{{typenote}}})<!--{{#cargo_store: _table = 5e_Magic_Items|Type_Note = {{{typenote}}}}}--><!--{{#set: Type Note={{{typenote}}}}}-->| }},&nbsp;<!-- avoid cr
-->{{#switch: {{{rarity}}}
-->{{#switch: {{{rarity}}}
   |Common = common{{#cargo_store: _table = 5e_Magic_Items|Rarity = Common}}<!--{{#set: Rarity=Common}}-->[[Category:5e Common Magic Items]]
   |Common = common<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Common}}--><!--{{#set: Rarity=Common}}-->[[Category:5e Common Magic Items]]
   |Uncommon = uncommon{{#cargo_store: _table = 5e_Magic_Items|Rarity = Uncommon}}<!--{{#set: Rarity=Uncommon}}-->[[Category:5e Uncommon Magic Items]]
   |Uncommon = uncommon<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Uncommon}}--><!--{{#set: Rarity=Uncommon}}-->[[Category:5e Uncommon Magic Items]]
   |Rare = rare{{#cargo_store: _table = 5e_Magic_Items|Rarity = Rare}}<!--{{#set: Rarity=Rare}}-->[[Category:5e Rare Magic Items]]
   |Rare = rare<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Rare}}--><!--{{#set: Rarity=Rare}}-->[[Category:5e Rare Magic Items]]
   |Very Rare = very rare{{#cargo_store: _table = 5e_Magic_Items|Rarity = Very Rare}}<!--{{#set: Rarity=Very Rare}}-->[[Category:5e Very Rare Magic Items]]
   |Very Rare = very rare<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Very Rare}}--><!--{{#set: Rarity=Very Rare}}-->[[Category:5e Very Rare Magic Items]]
   |Legendary = legendary{{#cargo_store: _table = 5e_Magic_Items|Rarity = Legendary}}<!--{{#set:Rarity=Legendary}}-->[[Category:5e Legendary Magic Items]]
   |Legendary = legendary<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Legendary}}--><!--{{#set:Rarity=Legendary}}-->[[Category:5e Legendary Magic Items]]
   |Artifact = artifact{{#cargo_store: _table = 5e_Magic_Items|Rarity = Artifact}}<!--{{#set: Rarity=Artifact}}-->[[Category:5e Artifacts]]
   |Artifact = artifact<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Artifact}}--><!--{{#set: Rarity=Artifact}}-->[[Category:5e Artifacts]]
   |#default = {{lc:{{{rarity}}}}}{{#cargo_store: _table = 5e_Magic_Items|Rarity = {{{rarity}}}}}<!--[[Rarity::{{{rarity}}}]]-->
   |#default = {{lc:{{{rarity}}}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = {{{rarity}}}}}--><!--[[Rarity::{{{rarity}}}]]-->
   }}{{#if: {{{attunement|}}}|{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}{{#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: {{{raritynote|}}}|{{#cargo_store: _table = 5e_Magic_Items|Rarity_Note = {{{raritynote}}}}}|}}
   }}{{#if: {{{attunement|}}}|<!--{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}-->{{#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: {{{raritynote|}}}|<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity_Note = {{{raritynote}}}}}-->|}}
{{#if: {{{desc|}}}|{{{desc}}}{{#cargo_store: _table = 5e_Magic_Items|Description = {{{desc}}}}}| }}
{{#if: {{{desc|}}}|{{{desc}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Description = {{{desc}}}}}-->| }}
{| class="zebra" style="border:solid 1px gainsboro; border-radius:0.5em;"
{| class="zebra" style="border:solid 1px gainsboro; border-radius:0.5em;"
!Name
!Name
Line 75: Line 76:
|-
|-
|{{{name}}}
|{{{name}}}
|align="center"|{{#if: {{{magicbonus|}}}|&nbsp;{{{magicbonus}}}&nbsp;{{#cargo_store: _table = 5e_Magic_Items|Magic_Bonus = {{{magicbonus}}}}}<!--[[Magic Bonus::&nbsp;{{{magicbonus|}}}&nbsp;]]-->| }}
|align="center"|{{#if: {{{magicbonus|}}}|&nbsp;{{{magicbonus}}}&nbsp;<!--{{#cargo_store: _table = 5e_Magic_Items|Magic_Bonus = {{{magicbonus}}}}}--><!--[[Magic Bonus::&nbsp;{{{magicbonus|}}}&nbsp;]]-->| }}
|{{{damage}}}{{#cargo_store: _table = 5e_Magic_Items|Damage = {{{damage}}}}}<!--{{#set:Damage={{{damage}}}}}--> {{#switch: {{{dtype}}}
|{{{damage}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Damage = {{{damage}}}}}--><!--{{#set:Damage={{{damage}}}}}--> {{#switch: {{{dtype}}}
   |b = [[SRD5:Bludgeoning{{!}}Bludgeoning]]{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = Bludgeoning}}<!--{{#set:DamageType=Bludgeoning}}-->
   |b = [[SRD5:Bludgeoning{{!}}Bludgeoning]]<!--{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = Bludgeoning}}--><!--{{#set:DamageType=Bludgeoning}}-->
   |p = [[SRD5:Piercing{{!}}Piercing]]{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = Piercing}}<!--{{#set:DamageType=Piercing}}-->
   |p = [[SRD5:Piercing{{!}}Piercing]]<!--{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = Piercing}}--><!--{{#set:DamageType=Piercing}}-->
   |s = [[SRD5:Slashing{{!}}Slashing]]{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = Slashing}}<!--{{#set:DamageType=Slashing}}-->
   |s = [[SRD5:Slashing{{!}}Slashing]]<!--{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = Slashing}}--><!--{{#set:DamageType=Slashing}}-->
   |none = &mdash;{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = &mdash;}}<!--{{#set:DamageType=—}}-->
   |none = &mdash;<!--{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = &mdash;}}--><!--{{#set:DamageType=—}}-->
   |#default = {{{dtype}}}{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = {{{dtype}}}}}<!--[[DamageType::{{{dtype}}}]]-->
   |#default = {{{dtype}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Damage_Type = {{{dtype}}}}}--><!--[[DamageType::{{{dtype}}}]]-->
   |<span style="color: red;">Enter 'b', 'p', 's', or value for parameter 'dtype'</span>
   |<span style="color: red;">Enter 'b', 'p', 's', or value for parameter 'dtype'</span>
}}{{#if: {{{addldamage|}}}|&nbsp;({{{addldamage}}}){{#cargo_store: _table = 5e_Magic_Items|Addl_Damage = {{{addldamage}}}}}| }}
}}{{#if: {{{addldamage|}}}|&nbsp;({{{addldamage}}})<!--{{#cargo_store: _table = 5e_Magic_Items|Addl_Damage = {{{addldamage}}}}}-->| }}
|align="center"|{{#if: {{{weight|}}} | {{{weight}}}{{#cargo_store: _table = 5e_Magic_Items|Weight = {{{weight}}}}}{{{weight}}}<!--[[Weight::{{{weight}}}]]-->&nbsp;lbs | &mdash;{{#cargo_store: _table = 5e_Magic_Items|Weight = &mdash;}}<!--[[Weight::—]]-->}}
|align="center"|{{#if: {{{weight|}}} | {{{weight}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Weight = {{{weight}}}}}--><!--[[Weight::{{{weight}}}]]-->&nbsp;lbs | &mdash;<!--{{#cargo_store: _table = 5e_Magic_Items|Weight = &mdash;}}--><!--[[Weight::—]]-->}}
| {{#if: {{{ammo|}}} | [[SRD5:Ammunition{{!}}Ammunition]] [[Category:5e Ammunition Weapons]] {{#cargo_store: _table = 5e_Magic_Items|Ammo = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Ammunition}}<!--{{#set:Ammunition=true}}--> &nbsp;}} {{#if: {{{fine|}}} | [[SRD5:Finesse{{!}}Finesse]] [[Category:5e Finesse Weapons]]{{#cargo_store: _table = 5e_Magic_Items|Finesse = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Finesse}}<!--{{#set:Finesse=true}}--> &nbsp;}} {{#if: {{{heavy|}}} | [[SRD5:Heavy Weapon{{!}}Heavy]] [[Category:5e Heavy Weapons]]{{#cargo_store: _table = 5e_Magic_Items|Heavy = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Heavy}}<!--{{#set:Heavy=true}}--> &nbsp;}} {{#if: {{{light|}}} | [[SRD5:Light Weapon{{!}}Light]] [[Category:5e Light Weapons]]{{#cargo_store: _table = 5e_Magic_Items|Light = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Light}}<!--{{#set:Light=true}}--> &nbsp;}} {{#if: {{{load|}}}  | [[SRD5:Loading{{!}}Loading]] [[Category:5e Loading Weapons]]{{#cargo_store: _table = 5e_Magic_Items|Loading = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Loading}}<!--{{#set:Loading=true}}--> &nbsp;}} {{#if: {{{range|}}} | [[SRD5:Range{{!}}Range]] ({{{range}}}) {{#cargo_store: _table = 5e_Magic_Items|Range = {{{range}}}}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Range ({{{range}}})}}<!--{{#set:Range={{{range}}}}}-->&nbsp;}} {{#if: {{{reach|}}} | [[SRD5:Reach{{!}}Reach]] [[Category:5e Reach Weapons]] &nbsp;{{#cargo_store: _table = 5e_Magic_Items|Reach = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Reach}}<!--{{#set: Reach=true}}-->|}} {{#if: {{{special|}}} | [[SRD5:Special{{!}}Special]] [[Category:5e Special Weapons]] &nbsp;{{#cargo_store: _table = 5e_Magic_Items|Special = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Special}}<!--{{#set: Special=true}}-->|}} {{#if: {{{thrown|}}} | [[SRD5:Thrown{{!}}Thrown]] [[Category:5e Thrown Weapons]]{{#cargo_store: _table = 5e_Magic_Items|Thrown = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Thrown}}<!--{{#set:Thrown=true}}--> &nbsp;}} {{#if: {{{twohand|}}}  | [[SRD5:Two-Handed{{!}}Two-Handed]] [[Category:5e Two-Handed Weapons]]{{#cargo_store: _table = 5e_Magic_Items|Two_Handed = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Two-Handed}}<!--{{#set:Two-Handed=true}}--> &nbsp;}} {{#if: {{{vers|}}} | [[SRD5:Versatile{{!}}Versatile]] ({{{vers}}})[[Category:5e Versatile Weapons]]{{#cargo_store: _table = 5e_Magic_Items|Versatile = {{{vers}}}}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Versatile ({{{vers}}})}}<!--{{#set:Versatile=true}}--> &nbsp;}} {{#if: {{{otherp|}}} | {{{otherp}}} {{#cargo_store: _table = 5e_Magic_Items|Other = {{{otherp}}}}}{{#cargo_store: _table = 5e_Magic_Items|Properties = {{{otherp}}}}}<!--{{#set:OtherP={{{otherp}}}}}--> }}
| {{#if: {{{ammo|}}} | [[SRD5:Ammunition{{!}}Ammunition]] [[Category:5e Ammunition Weapons]] <!--{{#cargo_store: _table = 5e_Magic_Items|Ammo = 1}}--><!--{{#cargo_store: _table = 5e_Magic_Items|Properties = Ammunition}}--><!--{{#set:Ammunition=true}}--> &nbsp;}} {{#if: {{{fine|}}} | [[SRD5:Finesse{{!}}Finesse]] [[Category:5e Finesse Weapons]]<!--{{#cargo_store: _table = 5e_Magic_Items|Finesse = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Finesse}}--><!--{{#set:Finesse=true}}--> &nbsp;}} {{#if: {{{heavy|}}} | [[SRD5:Heavy Weapon{{!}}Heavy]] [[Category:5e Heavy Weapons]]<!--{{#cargo_store: _table = 5e_Magic_Items|Heavy = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Heavy}}--><!--{{#set:Heavy=true}}--> &nbsp;}} {{#if: {{{light|}}} | [[SRD5:Light Weapon{{!}}Light]] [[Category:5e Light Weapons]]<!--{{#cargo_store: _table = 5e_Magic_Items|Light = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Light}}--><!--{{#set:Light=true}}--> &nbsp;}} {{#if: {{{load|}}}  | [[SRD5:Loading{{!}}Loading]] [[Category:5e Loading Weapons]]<!--{{#cargo_store: _table = 5e_Magic_Items|Loading = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Loading}}--><!--{{#set:Loading=true}}--> &nbsp;}} {{#if: {{{range|}}} | [[SRD5:Range{{!}}Range]] ({{{range}}}) <!--{{#cargo_store: _table = 5e_Magic_Items|Range = {{{range}}}}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Range ({{{range}}})}}--><!--{{#set:Range={{{range}}}}}-->&nbsp;}} {{#if: {{{reach|}}} | [[SRD5:Reach{{!}}Reach]] [[Category:5e Reach Weapons]] &nbsp;<!--{{#cargo_store: _table = 5e_Magic_Items|Reach = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Reach}}--><!--{{#set: Reach=true}}-->|}} {{#if: {{{special|}}} | [[SRD5:Special{{!}}Special]] [[Category:5e Special Weapons]] &nbsp;<!--{{#cargo_store: _table = 5e_Magic_Items|Special = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Special}}--><!--{{#set: Special=true}}-->|}} {{#if: {{{thrown|}}} | [[SRD5:Thrown{{!}}Thrown]] [[Category:5e Thrown Weapons]]<!--{{#cargo_store: _table = 5e_Magic_Items|Thrown = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Thrown}}--><!--{{#set:Thrown=true}}--> &nbsp;}} {{#if: {{{twohand|}}}  | [[SRD5:Two-Handed{{!}}Two-Handed]] [[Category:5e Two-Handed Weapons]]<!--{{#cargo_store: _table = 5e_Magic_Items|Two_Handed = 1}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Two-Handed}}--><!--{{#set:Two-Handed=true}}--> &nbsp;}} {{#if: {{{vers|}}} | [[SRD5:Versatile{{!}}Versatile]] ({{{vers}}})[[Category:5e Versatile Weapons]]<!--{{#cargo_store: _table = 5e_Magic_Items|Versatile = {{{vers}}}}}{{#cargo_store: _table = 5e_Magic_Items|Properties = Versatile ({{{vers}}})}}--><!--{{#set:Versatile=true}}--> &nbsp;}} {{#if: {{{otherp|}}} | {{{otherp}}} <!--{{#cargo_store: _table = 5e_Magic_Items|Other = {{{otherp}}}}}{{#cargo_store: _table = 5e_Magic_Items|Properties = {{{otherp}}}}}--><!--{{#set:OtherP={{{otherp}}}}}--> }}
|-
|-
|colspan=5 style="font-size:8pt; background:gainsboro; border:solid 1px gainsboro; border-bottom-left-radius:0.5em; border-bottom-right-radius:0.5em;"|<sup>1</sup>Magic bonus is '''not''' included in listed damage.
|colspan=5 style="font-size:8pt; background:gainsboro; border:solid 1px gainsboro; border-bottom-left-radius:0.5em; border-bottom-right-radius:0.5em;"|<sup>1</sup>Magic bonus is '''not''' included in listed damage.
Line 91: Line 92:
&nbsp;
&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|}}}|&nbsp;Two-handed|}}{{#if: {{{vers|}}}|&nbsp;Versatle {{{vers}}}|}}{{#if: {{{otherp|}}}|&nbsp;{{{otherp}}}|}} }}-->
<!--{{#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|}}}|&nbsp;Two-handed|}}{{#if: {{{vers|}}}|&nbsp;Versatle {{{vers}}}|}}{{#if: {{{otherp|}}}|&nbsp;{{{otherp}}}|}} }}-->
 
{{#cargo_store:
_table = 5e_Magic_Items
|Sort_Text = {{{sorttext|{{{name|}}}}}} 5e
|Page_Name = {{FULLPAGENAME}}
|Item_Name = {{{name|}}}
|Item_Type = Weapon
|Type_Note = {{{typenote|}}}
|Rarity = {{{rarity|}}}
|Rarity_Note = {{{raritynote|}}}
|Attunement = {{{attunement|}}}
|Attunement_Note = {{{attunementnote|}}}
|Description = {{{desc|}}}
|Charges = {{{charges|}}}
|Magic_Bonus = {{{magicbonus|}}}
|Canon = {{#if: {{{canon|}}}|1}}
|Summary = {{{summary|}}}
|Weight = {{{weight|}}}
|SimpleMartial = {{#switch: {{{smo|}}}
  |s = Simple
  |m = Martial
  |#default = {{{smo|}}}
}}
|MeleeRanged = {{#switch: {{{mr|}}}
  |m = Melee
  |r = Ranged
  |#default = {{{mr|}}} 
}}
|Damage = {{{damage|}}}
|Damage_Type = {{#switch: {{{dtype|}}}
  |b = Bludgeoning
  |p = Piercing
  |s = Slashing
  |#default = {{{dtype|}}}
}}
|Addl_Damge = {{{addldamage|}}}
|Ammo = {{#if: {{{ammo|}}}|1}}}
|Finesse = {{#if: {{{finesse|}}}|1}}}
|Heavy = {{#if: {{{heavy|}}}|1}}}
|Light = {{#if: {{{light|}}}|1}}}
|Loading = {{#if: {{{loading|}}}|1}}}
|Weapon_Range = {{{range|}}}
|Reach = {{#if: {{{reach|}}}|1}}}
|Special = {{#if: {{{special|}}}|1}}}
|Thrown = {{#if: {{{thrown|}}}|1}}}
|Two_Handed = {{#if: {{{twohanded|}}}|1}}}
|Versatile = {{#if: {{{vers|}}}|1}}}
|Other_Prop = {{#if: {{{otherp|}}}|1}}}
|Properties = {{5e Weapon Properties|ammo={{{ammo|}}}|finesse={{{finesse|}}}|heavy={{{heavy|}}}|light={{{light|}}}|loading={{{loading|}}}|range={{{range|}}}|reach={{{reach|}}}|special={{{special|}}}|thrown={{{thrown|}}}|twohanded={{{twohanded|}}}|vers={{{vers|}}}|otherp={{{otherp|}}}}}
|Author = {{{author|}}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
<!-- Tech note:
<!-- Tech note:

Revision as of 15:58, 7 February 2020

This template adds rows to the table "5e_Magic_Items", which is declared by the template 5e Magic Item. View table.

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-->
|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-->
|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
WeaponMartial Melee  (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.