Difference between revisions of "Template:5e Magic Armor"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (links)
m (canon)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
'''<big>{{{Name}}}</big>{{#set: Magic=Yes}}<br />
+
'''<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]]
''Magic [[Item Type::Armor]], {{#switch: {{{rarity}}}
+
''Magic [[Item Type::Armor]]{{#if: {{{kind|}}}|&nbsp;({{lc:{{{kind}}}}})|}}, {{#switch: {{{rarity}}}
   |Common = {{lc:[[Rarity::Common]]}}
+
   |Common = common {{#set: Rarity=Common}}[[Category:5e Common Magic Items]]
   |Uncommon = {{lc:[[Rarity::Uncommon]]}}
+
   |Uncommon = uncommon{{#set: Rarity=Uncommon}}[[Category:5e Uncommon Magic Items]]
   |Rare = {{lc:[[Rarity::Rare]]}}
+
   |Rare = rare{{#set: Rarity=Rare}}[[Category:5e Rare Magic Items]]
   |Very Rare = {{lc:[[Rarity::Very Rare]]}}
+
   |Very Rare = very rare{{#set: Rarity=Very Rare}}[[Category:5e Very Rare Magic Items]]
   |Legendary = {{lc:[[Rarity::Legendary]]}}
+
   |Legendary = legendary{{#set:Rarity=Legendary}}[[Category:5e Legendary Magic Items]]
   |Artifact = {{lc:[[Rarity::Artifact]]}}
+
   |Artifact = artifact{{#set: Rarity=Artifact}}[[Category:5e Artifacts]]
 
   |#default = {{lc:[[Rarity::{{{rarity}}}]]}}
 
   |#default = {{lc:[[Rarity::{{{rarity}}}]]}}
   }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires attunement)|&nbsp;(requires {{srd5lc|Attunement}})| }}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}})| }}}}''<br />  
+
   }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires {{srd5lc|Attunement}})|&nbsp;(requires {{srd5lc|Attunement}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}})| }}}}''<br />  
{{{Desc}}}
+
{{{desc}}}
{|class="zebra d20"
+
{| class="zebra" style="border-style:solid; border-width:1px; border-radius:0.5em;"
!Armor
+
!style="background:#e8d693;"|Armor
!Kind
+
!style="background:#e8d693;"|Kind
!Type
+
!style="background:#e8d693;"|Type
!Magic Bonus<sup>1</sup>
+
!style="background:#e8d693;"|Magic Bonus<sup>1</sup>
!AC
+
!style="background:#e8d693;"|AC
!Strength
+
!style="background:#e8d693;"|Strength
!Stealth
+
!style="background:#e8d693;"|Stealth
!Weight
+
!style="background:#e8d693;"|Weight
 
|-
 
|-
|[[Name::{{{Name}}}]]
+
|[[Name::{{{name}}}]]
|{{#if: {{{Kind|}}}|[[Kind::{{{Kind}}}]]|kind missing}}
+
|align="center"|{{#if: {{{kind|}}}|[[Armor Type::{{{kind}}}]]|kind missing}}
|{{#if: {{{Type|}}}|[[Type::{{{Type}}}]]|type missing}}
+
|align="center"|{{#if: {{{armortype|}}}|[[Type::{{{armortype}}}]]|armortype missing}}
|{{#if: {{{MagicBonus|}}}|[[Magic Bonus::&nbsp;{{{MagicBonus}}}]]|[[Magic Bonus:: — ]]}}  
+
|align="center"|{{#if: {{{magicbonus|}}}|&nbsp;[[Magic Bonus::&nbsp;{{{magicbonus}}}]]|&nbsp;[[Magic Bonus:: — ]]}}  
|{{#if: {{{AC|}}}|[[AC::{{{AC}}}]]|AC missing}}
+
|align="center"|{{#if: {{{AC|}}}|&nbsp;[[AC::{{{AC}}}]]|AC missing}}
|{{#if: {{{Strength|}}}|[[Strength::{{{Strength}}}]]|—}}
+
|align="center"|{{#if: {{{strength|}}}|[[Strength::{{{strength}}}]]|—}}
|{{#if: {{{Stealth|}}}|[[Stealth::{{{Stealth}}}]]|—}}
+
|align="center"|{{#if: {{{stealth|}}}|[[Stealth::{{{stealth}}}]]|—}}
|{{#if: {{{Weight|}}}|[[Weight::{{{Weight}}} lbs]]|weight missing}}
+
|align="center"|{{#if: {{{weight|}}}|[[Weight::{{{weight}}} lbs]]|weight missing}}
 
|-
 
|-
|colspan=8|<sup>1</sup>Magic bonus '''not''' included in listed AC.
+
|colspan=8 style="font-size:8pt; text-align:center;"|<sup>1</sup>Magic bonus '''not''' included in listed AC.
 
|}
 
|}
[[Category:5e|{{Title Only|{{BASEPAGENAME}}}}]][[Category:User|{{Title Only|{{BASEPAGENAME}}}}]][[Category:Armor|{{Title Only|{{BASEPAGENAME}}}}]][[Category:5e Armor|{{Title Only|{{BASEPAGENAME}}}}]][[Category:5e Magic Items|{{Title Only|{{BASEPAGENAME}}}}]][[Category:Magic Item|{{Title Only|{{BASEPAGENAME}}}}]]</includeonly><noinclude>
+
[[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>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:5e Templates]]
 
[[Category:5e Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:04, 12 December 2019

Template documentation (for the above template, sometimes hidden or invisible)

Syntax[edit]

{{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 -->
|armorype= <!--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)-->
|seight=
|desc=
}}

Example[edit]

{{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.