Template:5e Material: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>'''<big>{{{material}}}</big>''' '''Armor Class:''' {{{ac|}}}{{#if: {{{ac|}}}|{{#set: AC={{{ac}}}}}|}}<br /> {{#if: {{{fragile|}}}|'''{{SRD5|Fragile}}'''{{#set: F...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''<big>{{{material}}}</big>''' | <includeonly>'''<big>{{{material}}}</big>''' | ||
'''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}}'''{{#set: Resilient=Y}}[[Category:5e Resilient Materials]]<br />|}}|}} | {{#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 />|}} | ||
{{#if: {{{magical|}}}|'''Magical Material'''{{#set: Weapon=Y}}[[Category:5e Weapon Materials]]<br />|}} | {{#if: {{{magical|}}}|'''Magical Material'''<!--{{#set: Weapon=Y}}-->[[Category:5e Weapon Materials]]<br />|}} | ||
{{{desc}}} | {{{desc}}} | ||
[[Category:5e]] | [[Category:5e]] | ||
[[Category:5e Materials]]{{#set: isMaterial=y}} | [[Category:5e Materials]]<!--{{#set: isMaterial=y}}--> | ||
[[Category:Material]] | [[Category:Material]] | ||
{{#if: {{{magical|}}}|[[Category:5e Magical Materials]]|[[Category:5e Mundane Materials]]}} | {{#if: {{{magical|}}}|[[Category:5e Magical Materials]]|[[Category:5e Mundane Materials]]}} |
Revision as of 11:55, 29 September 2021
Use
To be used on 5e pages describing materials.
Syntax
{{5e Material |material= <!-- name of material --> |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
{{5e Material |material=Foo <!-- name of material --> |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
Armor Class: 13
Fragile
Weapon Material
Foo is a rare crystal found at the heart of the Bar plant
Properties
Fooism |
Fooism produces a skunk smell around the foo material object with a 20 foot radius. |