Template:5e Magic Armor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(15 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 19: | Line 18: | ||
|Summary = Wikitext | |Summary = Wikitext | ||
|Armor_Type = String | |Armor_Type = String | ||
|LightMedHeavy = String | |||
|AC = String | |AC = String | ||
|Strength = String | |Strength = String | ||
Line 28: | Line 28: | ||
|Damage_Type = String | |Damage_Type = String | ||
|Addl_Damge = String | |Addl_Damge = String | ||
|Properties= List (, ) of String | |||
|Ammo = Boolean | |Ammo = Boolean | ||
|Finesse = Boolean | |Finesse = Boolean | ||
Line 38: | Line 39: | ||
|Thrown = Boolean | |Thrown = Boolean | ||
|Two_Handed = Boolean | |Two_Handed = Boolean | ||
|Versatile = | |Versatile = String | ||
| | |Other_Prop = String | ||
| | |Properties = list (, ) of string | ||
}} | |||
}}--> | }}--> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
'''<big>{{{name}}}</big>{{#set: Magic=Yes}}<br />{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}{{#cargo_store: _table = | '''<big>{{{name}}}</big><!--{{#cargo_store: _table = 5e_Magic_Items|Magic = 1}}--><!--{{#set: attunement=yes}}--><!--{{#set: Magic=Yes}}--><br />{{#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}}}}--> }}[[Category:5e Magic Items]][[Category:5e]] | ||
''Magic Armor {{#cargo_store: _table = | ''Magic Armor <!--{{#cargo_store: _table = 5e_Magic_Items|Item_Type = Armor}}--><!--[[Item Type::Armor]]-->{{#if: {{{kind|}}}| ({{lc:{{{kind}}}}})|}}<!--{{#cargo_store: _table = 5e_Magic_Items|Type_Note = {{{kind}}}}}-->, {{#switch: {{{rarity}}} | ||
|Common = common{{#cargo_store: _table = | |Common = common<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Common}}--><!--{{#set: Rarity=Common}}-->[[Category:5e Common Magic Items]] | ||
|Uncommon = uncommon{{#cargo_store: _table = | |Uncommon = uncommon<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Uncommon}}--><!--{{#set: Rarity=Uncommon}}-->[[Category:5e Uncommon Magic Items]] | ||
|Rare = rare{{#cargo_store: _table = | |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 = | |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 = | |Legendary = legendary<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Legendary}}--><!--{{#set:Rarity=Legendary}}-->[[Category:5e Legendary Magic Items]] | ||
|Artifact = artifact{{#cargo_store: _table = | |Artifact = artifact<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = Artifact}}--><!--{{#set: Rarity=Artifact}}-->[[Category:5e Artifacts]] | ||
|#default = {{lc:{{{rarity}}}}}{{#cargo_store: _table = | |#default = {{lc:{{{rarity}}}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = {{{rarity}}}}}--><!--[[Rarity::{{{rarity}}}| ]]--> | ||
}}{{#if: {{{attunement|}}}|{{#cargo_store: _table = | }}{{#if: {{{attunement|}}}|<!--{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}--><!--{{#set: attunement=yes}}-->{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}})| (requires {{srd5lc|Attunement}})| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''{{#if: {{{raritynote}}}|<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity_Note = {{{raritynote}}}}}-->|}}<br /> | ||
{{{desc}}} | {{{desc}}} | ||
{| class="zebra" style="border-style:solid; border-width:1px; border-radius:0.5em;" | {| class="zebra small" style="border-style:solid; border-width:1px; border-radius:0.5em;" | ||
! | !Armor | ||
! | !Kind | ||
! | !Type | ||
! | !Magic Bonus<sup>1</sup> | ||
! | !AC | ||
! | !Strength | ||
! | !Stealth | ||
! | !Weight | ||
|- | |- | ||
|[[Name::{{{name}}}]] | |{{{name}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Item Name = {{{name}}}}}--><!--[[Name::{{{name}}}]]--> | ||
|align="center"|{{#if: {{{kind|}}}|{{{kind}}}{{#cargo_store: _table = | |align="center"|{{#if: {{{kind|}}}|{{{kind}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Armor_Type = {{{kind}}}}}--><!--[[Armor Type::{{{kind}}}]]-->|kind missing}} | ||
|align="center"|{{#if: {{{armortype|}}}|{{{armortype}}}{{#cargo_store: _table = | |align="center"|{{#if: {{{armortype|}}}|{{{armortype}}}<!--{{#cargo_store: _table = 5e_Magic_Items|LightMedHeavy = {{{armortype}}}}}--><!--[[Type::{{{armortype}}}]]-->|armortype missing}} | ||
|align="center"|{{#if: {{{magicbonus|}}}| {{{magicbonus}}} {{#cargo_store: _table = | |align="center"|{{#if: {{{magicbonus|}}}| {{{magicbonus}}} <!--{{#cargo_store: _table = 5e_Magic_Items|Magic_Bonus = {{{magicbonus}}}}}--><!--{{#set: attunement=yes}}--><!--[[Magic Bonus:: {{{magicbonus}}}]]-->| —<!--[[Magic Bonus:: — ]]-->}} | ||
|align="center"|{{#if: {{{AC|}}}| {{{AC}}}{{#cargo_store: _table = | |align="center"|{{#if: {{{AC|}}}| {{{AC}}}<!--{{#cargo_store: _table = 5e_Magic_Items|AC = {{{AC}}}}}--><!--[[AC::{{{AC}}}]]-->|AC missing}} | ||
|align="center"|{{#if: {{{strength|}}}|{{{strength}}}{{#cargo_store: _table = | |align="center"|{{#if: {{{strength|}}}|{{{strength}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Strength = {{{strength}}}}}--><!--[[Strength::{{{strength}}}]]-->|—}} | ||
|align="center"|{{#if: {{{stealth|}}}|{{{ | |align="center"|{{#if: {{{stealth|}}}|{{{stealth}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Stealth = {{{stealth}}}}}--><!--[[Stealth::{{{stealth}}}]]-->|—}} | ||
|align="center"|{{#if: {{{weight|}}}|{{{weight}}} lbs{{#cargo_store: _table = | |align="center"|{{#if: {{{weight|}}}|{{{weight}}} lbs<!--{{#cargo_store: _table = 5e_Magic_Items|Weight = {{{weight}}} lbs}}--><!--[[Weight::{{{weight}}} lbs]]-->|weight missing}} | ||
|- | |- | ||
|colspan=8 style="font-size:8pt; text-align:center;"|<sup>1</sup>Magic bonus '''not''' included in listed AC. | |colspan=8 style="font-size:8pt; text-align:center; background:gainsboro; border-bottom:solid 1px gainsboro; border-bottom-left-radius:0.5em; border-bottom-right-radius:0.5em;"|<sup>1</sup>Magic bonus '''not''' included in listed AC. | ||
|} | |} | ||
[[Category:5e]][[Category:5e Armor]][[Category:5e Magic Items]][[Category:5e Magic Armor]]{{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]{{#set: Canon=true}}|}}</includeonly><noinclude> | [[Category:5e]][[Category:5e Armor]][[Category:5e Magic Items]][[Category:5e Magic Armor]]{{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]<!--{{#cargo_store: _table = 5e_Magic_Items|Canon = 1}}--><!--{{#set: Canon=true}}-->|}}{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | ||
_table = 5e_Magic_Items | |||
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}} | |||
|Item_Name = {{{name|}}} | |||
|Item_Type = Armor | |||
|Type_Note = {{{typenote|}}} | |||
|Rarity = {{{rarity|}}} | |||
|Rarity_Note = {{{raritynote|}}} | |||
|Attunement = {{#if: {{{attunement|}}}|1}} | |||
|Attunement_Note = {{{attunementnote|}}} | |||
|Description = {{{desc|}}} | |||
|Charges = {{{charges|}}} | |||
|Magic_Bonus = {{{magicbonus|}}} | |||
|Canon = {{#if: {{{canon|}}}|1}} | |||
|Summary = {{{summary|}}} | |||
|Armor_Type = {{{kind|}}} | |||
|LightMedHeavy = {{{armortype|}}} | |||
|AC = {{{AC|}}} | |||
|Strength = {{{strength|}}} | |||
|Stealth = {{{stealth|}}} | |||
|Weight = {{{weight|}}} lbs | |||
}}}}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:12, 14 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)
Syntax
{{5e Magic Armor |name= |sorttext= <!--blank, or category sort--> |rarity= <!-- Common, Uncommon, Rare, Very Rare, Legendary, Artifact--> |raritynote= <!-- Note following rarity, other than requires attunement. --> |attunement= <!-- Yes if requires attunement, otherwise blank --> |charges= <!-- # of charges or uses, otherwise blank --> |armortype= <!--Light, Medium, Heavy--> |kind= <!--Leather Armor, Brestplate, etc.--> |magicbonus= <!-- +1, +2, etc.; blank if no bonus --> |AC= |strength= <!--Strength necessary to wear it--> |stealth= <!--Does it give a disadvantage on stealth)--> |weight= |desc= }}
Example
{{5e Magic Armor |name=Foo Scale Armor |sorttext= <!--blank, or category sort--> |rarity=Uncommon <!-- Common, Uncommon, Rare, Very Rare, Legendary, Artifact--> |raritynote= <!-- Note following rarity, other than requires attunement. --> |attunement=Yes <!-- Yes if requires attunement, otherwise blank --> |charges= <!-- # of charges or uses, otherwise blank --> |armortype=Medium <!--Light, Medium, Heavy--> |kind=Scale Mail <!--Leather Armor, Brestplate, etc.--> |magicbonus= +1 |AC=14 + Dex modifier (max. +2) |strength= <!--Strength necessary to wear it--> |stealth= <!--Does it give a disadvantage on stealth)--> |weight=25 |desc=Made of from the scales of Foo, when enchanted, it provides excellent protection. When making {{SRD5|Dexterity}} ({{SRD5|Stealth}}) checks against being heard, the wearer has {{srd5lc|Advantage}}. }}
produces...
Foo Scale Armor
Magic Armor (scale mail), uncommon (requires attunement)
Made of from the scales of Foo, when enchanted, it provides excellent protection.
When making Dexterity (Stealth) checks against being heard, the wearer has advantage.
Armor | Kind | Type | Magic Bonus1 | AC | Strength | Stealth | Weight |
---|---|---|---|---|---|---|---|
Foo Scale Armor | Scale Mail | Medium | +1 | 14 + Dex modifier (max. +2) | — | — | 25 lbs |
1Magic bonus not included in listed AC. |
Visit Template:5e Magic Armor/doc to edit this text! (How does this work?)