Difference between revisions of "Template:Material"
(Created page with "<includeonly>[[Image:{{{mat}}}.png|30px|link=Element:{{{mat}}}|{{{mat}}}]]</includeonly><noinclude>The argument is passed as a name of a material. Do not try to fix the expressio...") |
(Remove image, since it looks messy when used a lot in large paragraphs. Old behaviour at Template:MaterialBtn) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[ | + | <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 | | + | {{ Material | PSCN }} |
− | {{ Material | | ||
</noinclude> | </noinclude> |
Revision as of 14:22, 6 October 2014
Takes one argument, the name of a material. Example: {{ Material | PSCN }} and you will get: PSCN