Difference between revisions of "Template:Material"

From The Powder Toy
Jump to: navigation, search
(Remove image, since it looks messy when used a lot in large paragraphs. Old behaviour at Template:MaterialBtn)
m (Remove extra space)
 
Line 1: Line 1:
<includeonly>[[Element:{{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}} | {{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}}]]</includeonly><noinclude>Takes one argument, the name of a material.
+
<includeonly>[[Element:{{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}} |{{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}}]]</includeonly><noinclude>Takes one argument, the name of a material.
Example: <nowiki> {{ Material | PSCN }} </nowiki> and you will get:
+
Example: <nowiki> {{ Material | PSCN }} </nowiki> and you will get: {{ Material | PSCN }}
{{ Material | PSCN }}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 03:58, 9 July 2021

Takes one argument, the name of a material. Example: {{ Material | PSCN }} and you will get: PSCN