Template:5e Material: Difference between revisions

From Rlyehwiki
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...")
 
No edit summary
 
(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}}'''{{#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]]}}
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 18:31, 31 December 2021

Use

To be used on 5e pages describing materials.

Syntax

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

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

Fooism produces a skunk smell around the foo material object with a 20 foot radius.