Difference between revisions of "Template:5e Magic Armor"
From Dungeons and Dragons Wiki
m (table style) |
m (canon) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <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>{{#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|}}}| ({{lc:{{{kind}}}}})|}}, {{#switch: {{{rarity}}} |
− | |Common = {{ | + | |Common = common {{#set: Rarity=Common}}[[Category:5e Common Magic Items]] |
− | |Uncommon = {{ | + | |Uncommon = uncommon{{#set: Rarity=Uncommon}}[[Category:5e Uncommon Magic Items]] |
− | |Rare = {{ | + | |Rare = rare{{#set: Rarity=Rare}}[[Category:5e Rare Magic Items]] |
− | |Very Rare = {{ | + | |Very Rare = very rare{{#set: Rarity=Very Rare}}[[Category:5e Very Rare Magic Items]] |
− | |Legendary = {{ | + | |Legendary = legendary{{#set:Rarity=Legendary}}[[Category:5e Legendary Magic Items]] |
− | |Artifact = {{ | + | |Artifact = artifact{{#set: Rarity=Artifact}}[[Category:5e Artifacts]] |
|#default = {{lc:[[Rarity::{{{rarity}}}]]}} | |#default = {{lc:[[Rarity::{{{rarity}}}]]}} | ||
}}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}})| (requires {{srd5lc|Attunement}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''<br /> | }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}})| (requires {{srd5lc|Attunement}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''<br /> | ||
Line 22: | Line 22: | ||
|- | |- | ||
|[[Name::{{{name}}}]] | |[[Name::{{{name}}}]] | ||
− | |align="center"|{{#if: {{{kind|}}}|[[ | + | |align="center"|{{#if: {{{kind|}}}|[[Armor Type::{{{kind}}}]]|kind missing}} |
|align="center"|{{#if: {{{armortype|}}}|[[Type::{{{armortype}}}]]|armortype missing}} | |align="center"|{{#if: {{{armortype|}}}|[[Type::{{{armortype}}}]]|armortype missing}} | ||
|align="center"|{{#if: {{{magicbonus|}}}| [[Magic Bonus:: {{{magicbonus}}}]]| [[Magic Bonus:: — ]]}} | |align="center"|{{#if: {{{magicbonus|}}}| [[Magic Bonus:: {{{magicbonus}}}]]| [[Magic Bonus:: — ]]}} | ||
Line 32: | Line 32: | ||
|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;"|<sup>1</sup>Magic bonus '''not''' included in listed AC. | ||
|} | |} | ||
− | [[Category:5e]][[Category:5e Armor]][[Category:5e Magic Items]][[Category:5e Magic Armor]]</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. |
Visit Template:5e Magic Armor/doc to edit this text! (How does this work?)