Difference between revisions of "Template:5e Material"
From Dungeons and Dragons Wiki
m |
(refs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>'''<big>{{{material}}}</big>''' | + | <includeonly>'''<big>{{{material}}}</big>''' {{{refs|}}} |
'''Armor Class:''' {{{ac|}}}{{#if: {{{ac|}}}|{{#set: AC={{{ac}}}}}|}}<br /> | '''Armor Class:''' {{{ac|}}}{{#if: {{{ac|}}}|{{#set: AC={{{ac}}}}}|}}<br /> | ||
− | {{#if: {{{fragile|}}}|'''{{SRD5|Fragile}}'''{{#set: Fragile=Y}}[[Category:5e Fragile Materials]]<br />|{{#if: {{{resilient|}}}|'''{{SRD5|Resilient | + | {{#if: {{{fragile|}}}|'''{{SRD5|Fragile}}'''{{#set: Fragile=Y}}[[Category:5e Fragile Materials]]<br />|{{#if: {{{resilient|}}}|'''{{SRD5|Resilient}}'''{{#set: Resilient=Y}}[[Category:5e Resilient Materials]]<br />|}}|}} |
{{#if: {{{armor|}}}|'''Armor Material'''{{#set: Armor=Y}}[[Category:5e Armor Materials]]<br />|}} | {{#if: {{{armor|}}}|'''Armor Material'''{{#set: Armor=Y}}[[Category:5e Armor Materials]]<br />|}} | ||
{{#if: {{{weapon|}}}|'''Weapon Material'''{{#set: Weapon=Y}}[[Category:5e Weapon Materials]]<br />|}} | {{#if: {{{weapon|}}}|'''Weapon Material'''{{#set: Weapon=Y}}[[Category:5e Weapon Materials]]<br />|}} | ||
Line 17: | Line 17: | ||
<pre>{{5e Material | <pre>{{5e Material | ||
|material= <!-- name of material --> | |material= <!-- name of material --> | ||
+ | |refs= <!--references--> | ||
|ac= <!-- armor class --> | |ac= <!-- armor class --> | ||
|fragile= <!-- y or blank --> | |fragile= <!-- y or blank --> | ||
Line 33: | Line 34: | ||
<pre>{{5e Material | <pre>{{5e Material | ||
|material=Foo <!-- name of material --> | |material=Foo <!-- name of material --> | ||
+ | |refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=700}} Licensed: [[Public Domain]].</ref> | ||
|ac=13 <!-- armor class --> | |ac=13 <!-- armor class --> | ||
|fragile=y <!-- y or blank --> | |fragile=y <!-- y or blank --> | ||
Line 49: | Line 51: | ||
{{5e Material | {{5e Material | ||
|material=Foo <!-- name of material --> | |material=Foo <!-- name of material --> | ||
+ | |refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=700}} Licensed: [[Public Domain]].</ref> | ||
|ac=13 <!-- armor class --> | |ac=13 <!-- armor class --> | ||
|fragile=y <!-- y or blank --> | |fragile=y <!-- y or blank --> |
Latest revision as of 02:13, 1 January 2022
Contents
Use[edit]
To be used on 5e pages describing materials.
Syntax[edit]
{{5e Material |material= <!-- name of material --> |refs= <!--references--> |ac= <!-- armor class --> |fragile= <!-- y or blank --> |resilient= |armor= <!-- y or blank --> |weapon= <!-- y or blank --> |magical= <!-- y or blank--> |desc= <!-- description of material --> }} ==Properties== {{5e material property|property|description}} <!--Add as many properties as needed-->
Example[edit]
{{5e Material |material=Foo <!-- name of material --> |refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=700}} Licensed: [[Public Domain]].</ref> |ac=13 <!-- armor class --> |fragile=y <!-- y or blank --> |resilient= |armor= <!-- y/n --> |weapon=y <!-- y/n --> |magical= <!-- y/n--> |desc='''Foo''' is a rare crystal found at the heart of the Bar plant }} ==Properties== {{5e material property|Fooism|Fooism produces a skunk smell around the foo material object with a 20 foot radius.}} <!--Add as many properties as needed-->
produces...
Foo [1]
Armor Class: 13
Fragile
Weapon Material
Foo is a rare crystal found at the heart of the Bar plant
Properties
Fooism[edit] |
Fooism produces a skunk smell around the foo material object with a 20 foot radius. |
- ↑ p. 700. Licensed: Public Domain.