Difference between revisions of "Template:5e Magic Armor"
From Dungeons and Dragons Wiki
m |
m (canon) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | '''<big>{{{ | + | '''<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 | + | }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}})| (requires {{srd5lc|Attunement}})| }}{{#set: attunement=yes}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''<br /> |
− | {{{ | + | {{{desc}}} |
− | {|class="zebra | + | {| 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}}}]] |
− | |{{#if: {{{ | + | |align="center"|{{#if: {{{kind|}}}|[[Armor Type::{{{kind}}}]]|kind missing}} |
− | |{{#if: {{{ | + | |align="center"|{{#if: {{{armortype|}}}|[[Type::{{{armortype}}}]]|armortype missing}} |
− | |{{#if: {{{ | + | |align="center"|{{#if: {{{magicbonus|}}}| [[Magic Bonus:: {{{magicbonus}}}]]| [[Magic Bonus:: — ]]}} |
− | |{{#if: {{{AC|}}}|[[AC::{{{AC}}}]]|AC missing}} | + | |align="center"|{{#if: {{{AC|}}}| [[AC::{{{AC}}}]]|AC missing}} |
− | |{{#if: {{{ | + | |align="center"|{{#if: {{{strength|}}}|[[Strength::{{{strength}}}]]|—}} |
− | |{{#if: {{{ | + | |align="center"|{{#if: {{{stealth|}}}|[[Stealth::{{{stealth}}}]]|—}} |
− | |{{#if: {{{ | + | |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 | + | [[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?)