Template:5e Magic Armor: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(wip)
 
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 5: Line 5:
}}<!--
}}<!--
|Sort_Text = String
|Sort_Text = String
|Page_Name = Page
|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 = Boolean
|Versatile = String
|Other = String
|Other_Prop = String
|Author = String
|Properties = list (, ) of string
}}
}}-->
}}-->
</noinclude><includeonly>
</noinclude><includeonly>
'''<big>{{{name}}}</big>{{#set: Magic=Yes}}<br />{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e Magic Items]][[Category:Armor]][[Category:5e]][[Category:Magic Item]]
'''<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 [[Item Type::Armor]]{{#if: {{{kind|}}}|&nbsp;({{lc:{{{kind}}}}})|}}, {{#switch: {{{rarity}}}
''Magic Armor <!--{{#cargo_store: _table = 5e_Magic_Items|Item_Type = Armor}}--><!--[[Item Type::Armor]]-->{{#if: {{{kind|}}}|&nbsp;({{lc:{{{kind}}}}})|}}<!--{{#cargo_store: _table = 5e_Magic_Items|Type_Note = {{{kind}}}}}-->, {{#switch: {{{rarity}}}
   |Common = 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{{#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{{#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{{#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{{#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{{#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::{{{rarity}}}]]}}
   |#default = {{lc:{{{rarity}}}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Rarity = {{{rarity}}}}}--><!--[[Rarity::{{{rarity}}}| ]]-->
   }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires {{srd5lc|Attunement}})|&nbsp;(requires {{srd5lc|Attunement}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}})| }}}}''<br />  
   }}{{#if: {{{attunement|}}}|<!--{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}--><!--{{#set: attunement=yes}}-->{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires {{srd5lc|Attunement}})|&nbsp;(requires {{srd5lc|Attunement}})| }}|{{#if: {{{raritynote|}}}|&nbsp;({{{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;"
!style="background:#e8d693;"|Armor
!Armor
!style="background:#e8d693;"|Kind
!Kind
!style="background:#e8d693;"|Type
!Type
!style="background:#e8d693;"|Magic Bonus<sup>1</sup>
!Magic Bonus<sup>1</sup>
!style="background:#e8d693;"|AC
!AC
!style="background:#e8d693;"|Strength
!Strength
!style="background:#e8d693;"|Stealth
!Stealth
!style="background:#e8d693;"|Weight
!Weight
|-
|-
|[[Name::{{{name}}}]]
|{{{name}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Item Name = {{{name}}}}}--><!--[[Name::{{{name}}}]]-->
|align="center"|{{#if: {{{kind|}}}|[[Armor Type::{{{kind}}}]]|kind missing}}
|align="center"|{{#if: {{{kind|}}}|{{{kind}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Armor_Type = {{{kind}}}}}--><!--[[Armor Type::{{{kind}}}]]-->|kind missing}}
|align="center"|{{#if: {{{armortype|}}}|[[Type::{{{armortype}}}]]|armortype missing}}
|align="center"|{{#if: {{{armortype|}}}|{{{armortype}}}<!--{{#cargo_store: _table = 5e_Magic_Items|LightMedHeavy = {{{armortype}}}}}--><!--[[Type::{{{armortype}}}]]-->|armortype missing}}
|align="center"|{{#if: {{{magicbonus|}}}|&nbsp;[[Magic Bonus::&nbsp;{{{magicbonus}}}]]|&nbsp;[[Magic Bonus:: — ]]}}  
|align="center"|{{#if: {{{magicbonus|}}}|&nbsp;{{{magicbonus}}}&nbsp;<!--{{#cargo_store: _table = 5e_Magic_Items|Magic_Bonus = &nbsp;{{{magicbonus}}}}}--><!--{{#set: attunement=yes}}--><!--[[Magic Bonus::&nbsp;{{{magicbonus}}}]]-->|&nbsp;&mdash;<!--[[Magic Bonus:: — ]]-->}}  
|align="center"|{{#if: {{{AC|}}}|&nbsp;[[AC::{{{AC}}}]]|AC missing}}
|align="center"|{{#if: {{{AC|}}}|&nbsp;{{{AC}}}<!--{{#cargo_store: _table = 5e_Magic_Items|AC = {{{AC}}}}}--><!--[[AC::{{{AC}}}]]-->|AC missing}}
|align="center"|{{#if: {{{strength|}}}|[[Strength::{{{strength}}}]]|—}}
|align="center"|{{#if: {{{strength|}}}|{{{strength}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Strength = {{{strength}}}}}--><!--[[Strength::{{{strength}}}]]-->|—}}
|align="center"|{{#if: {{{stealth|}}}|[[Stealth::{{{stealth}}}]]|—}}
|align="center"|{{#if: {{{stealth|}}}|{{{stealth}}}<!--{{#cargo_store: _table = 5e_Magic_Items|Stealth = {{{stealth}}}}}--><!--[[Stealth::{{{stealth}}}]]-->|—}}
|align="center"|{{#if: {{{weight|}}}|[[Weight::{{{weight}}} lbs]]|weight missing}}
|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.