Template:5e Magic Weapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
}}<!-- | }}<!-- | ||
|Sort_Text = String | |Sort_Text = String | ||
|Item_Name = String | |Item_Name = String | ||
|Item_Type = String | |Item_Type = String | ||
Line 40: | Line 39: | ||
|Versatile = String | |Versatile = String | ||
|Other_Prop = String | |Other_Prop = String | ||
| | |Properties = list (, ) of string | ||
}}--> | }}--> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
'''{{{name}}}''' | <span style="font-size:1.3em;">'''{{{name}}}'''</span> <span style="font-size:0.7em;">{{{refs|}}}</span><br />{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}}} | ||
{{SRD5|Weapon}} <!-- avoid cr | |||
-->''{{#switch: {{{smo}}} | -->''{{#switch: {{{smo}}} | ||
|s | |s = Simple | ||
|m = | |m = Martial | ||
|#default = | |#default = {{{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 | |m = Melee | ||
|r = | |r = Ranged | ||
|none | |none = — | ||
|#default | |#default = {{{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> | ||
}} | }} {{#if: {{{typenote|}}}| ({{{typenote}}})}}, <!-- avoid cr | ||
-->{{#switch: {{{rarity}}} | -->{{#switch: {{{rarity}}} | ||
|Common = common | |Common = common | ||
|Uncommon = uncommon | |Uncommon = uncommon | ||
|Rare = rare | |Rare = rare | ||
|Very Rare = very rare | |Very Rare = very rare | ||
|Legendary = legendary | |Legendary = legendary | ||
|Artifact = artifact | |Artifact = artifact | ||
|#default = {{lc:{{{rarity}}}}} | |#default = {{lc:{{{rarity}}}}} | ||
}}{{#if: {{{attunement|}}}| | }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}}|}})| (requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}}|}})| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''<br /> | ||
{{#if: {{{desc|}}}|{{#if: {{{pointer|}}}|'''Unofficial Description:''' |}}{{{desc}}}| }} | |||
{| class="zebra" style="border:solid 1px gainsboro; border-radius:0.5em;" | {| class="zebra small" style="border:solid 1px gainsboro; border-radius:0.5em;" | ||
!Name | !Name | ||
!Magic<br />Bonus<sup>1</sup> | !Magic<br />Bonus<sup>1</sup> | ||
Line 75: | Line 74: | ||
|- | |- | ||
|{{{name}}} | |{{{name}}} | ||
|align="center"|{{#if: {{{magicbonus|}}}| {{{magicbonus}}} | |align="center"|{{#if: {{{magicbonus|}}}| {{{magicbonus}}} | }} | ||
|{{{damage}}} | |{{{damage}}} {{#switch: {{{dtype}}} | ||
|b = | |b = {{SRD5|Bludgeoning}} | ||
|p = | |p = {{SRD5|Piercing}} | ||
|s = | |s = {{SRD5|Slashing}} | ||
|none = — | |none = — | ||
|#default = {{{dtype}}} | |#default = {{{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|}}}| ({{{addldamage}}}) | }}{{#if: {{{addldamage|}}}| ({{{addldamage}}})| }} | ||
|align="center"|{{#if: {{{weight|}}} | {{{weight}}} | |align="center"|{{#if: {{{weight|}}} | {{{weight}}} lbs | —}} | ||
| {{#if: {{{ammo|}}} | | | {{#if: {{{ammo|}}} | {{SRD5|Ammunition}} |}} {{#if: {{{fine|}}} | {{SRD5|Finesse}} |}} {{#if: {{{heavy|}}} | {{SRD5|Heavy Weapon}} |}} {{#if: {{{light|}}} | {{SRD5|Light Weapon|Light}} |}} {{#if: {{{load|}}} | {{SRD5|Loading}} }} {{#if: {{{range|}}} | {{SRD5|Range}} ({{{range}}}) }} {{#if: {{{reach|}}} | {{SRD5|Reach}} |}} {{#if: {{{special|}}} | {{SRD5|Special}} |}} {{#if: {{{thrown|}}} | {{SRD5|Thrown}} }} {{#if: {{{twohand|}}} | {{SRD5|Two-Handed}} }} {{#if: {{{vers|}}} | {{SRD5|Versatile}} ({{{vers}}}) }} {{#if: {{{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. | ||
|} | |} | ||
| | ||
<!--{{# | {{#if: {{{nodb|}}}|<!--skip db & cat-->|{{#cargo_store: | ||
_table = 5e_Magic_Items | |||
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}} | |||
|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|}}} | |||
|Summary = {{{summary|}}} | |||
|Weight = {{{weight|}}} | |||
|SimpleMartial = {{#switch: {{{smo|}}} | |||
|s = Simple | |||
|m = Martial | |||
|#default = {{{smo|}}} | |||
}}<!--switch--> | |||
|MeleeRanged = {{#switch: {{{mr|}}} | |||
|m = Melee | |||
|r = Ranged | |||
|#default = {{{mr|}}} | |||
}}<!--switch--> | |||
|Damage = {{{damage|}}} | |||
|Damage_Type = {{#switch: {{{dtype|}}} | |||
|b = Bludgeoning | |||
|p = Piercing | |||
|s = Slashing | |||
|#default = {{{dtype|}}} | |||
}}<!--switch--> | |||
|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|}}} }} }} | |||
<!--categories--> | |||
[[Category:5e Magic Items]][[Category:5e Magic Weapons]][[Category:5e Weapons]]{{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]|}} | |||
{{#switch: {{{rarity}}} | |||
|Common = [[Category:5e Common Magic Items]] | |||
|Uncommon = [[Category:5e Uncommon Magic Items]] | |||
|Rare = [[Category:5e Rare Magic Items]] | |||
|Very Rare = [[Category:5e Very Rare Magic Items]] | |||
|Legendary = [[Category:5e Legendary Magic Items]] | |||
|Artifact = [[Category:5e Artifacts]] | |||
|#default = [[Category:5e {{{rarity}}} Magic Items]] | |||
}} | |||
{{#if: {{{attunement|}}}|[[Category:5e Attuned Magic Items]]|}} | |||
{{#if: {{{charges|}}}|[[Category:5e Magic Items with Charges]]|}} | |||
{{#switch: {{{smo|}}} | |||
|s = [[Category: 5e Simple Weapons]] | |||
|m = [[Category: 5e Martial Weapons]] | |||
|#default = [[Category:5e {{{smo|}}} Weapons]] | |||
}} | |||
{{#switch: {{{mr|}}} | |||
|m = [[Category:5e Melee Weapons]] | |||
|r = [[Category:5e Ranged Weapons]] | |||
|#default = [[Category:5e {{{mr|}}} Weapons]] | |||
}} | |||
{{#switch: {{{dtype|}}} | |||
|b = [[Category:5e Bludgeoning Weapons]] | |||
|p = [[Category:5e Piercing Weapons]] | |||
|s = [[Category:5e Slashing Weapons]] | |||
|#default = [[Category:5e {{{dtype|}}} Weapons]] | |||
}} | |||
{{#if: {{{ammo|}}}|[[Category:5e Ammunition Weapons]]}} | |||
{{#if: {{{finesse|}}}|[[Category:5e Finesse Weapons]]}} | |||
{{#if: {{{heavy|}}}|[[Category:5e Heavy Weapons]]}} | |||
{{#if: {{{light|}}}|[[Category:5e Light Weapons]]}} | |||
{{#if: {{{loading|}}}|[[Category:5e Loading Weapons]]}} | |||
{{#if: {{{reach|}}}|[[Category:5e Reach Weapons]]}} | |||
{{#if: {{{special|}}}|[[Category:5e Special Weapons]]}} | |||
{{#if: {{{thrown|}}}|[[Category:5e Thrown Weapons]]}} | |||
{{#if: {{{twohanded|}}}|[[Category:5e Two-Handed Weapons]]}} | |||
{{#if: {{{vers|}}}|[[Category:5e Versatile Weapons]]}} | |||
{{#if: {{{otherp|}}}|[[Category:5e {{{otherp}}} Weapons]]}} | |||
|}}<!--end if nodb--> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<!-- Tech note: | <!-- Tech note: |
Latest revision as of 07:58, 26 December 2021
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
Weapon Martial 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. |
Visit Template:5e Magic Weapon/doc to edit this text! (How does this work?)