Difference between revisions of "User:LiquidCaesium/Template:Material"

From The Powder Toy
Jump to: navigation, search
m
(Enter a short summary [alt-b])
Line 1: Line 1:
<noinclude>The argument is passed as a name of a material.
+
<includeonly>[[Image:{{{mat}}}.png|30px|link=Elements:{{{mat}}}]]</includeonly><noinclude>The argument is passed as a name of a material.
 
Do not try to fix the expression errors: if you pass the parameter right, it will work.
 
Do not try to fix the expression errors: if you pass the parameter right, it will work.
Example: <nowiki>{{User:LiquidCaesium/Template:Material|PSCN}}</nowiki> and you will get {{User:LiquidCaesium/Template:Material|PSCN}} </noinclude>
+
Example: <nowiki>testing just {{ User:LiquidCaesium/Template:Material | mat=PSCN }} did it work?</nowiki> and you will get:
<includeonly> [[Image:{{{1}}}.png|30px|link=Elements:{{{1}}}]] </includeonly>
+
testing just {{ User:LiquidCaesium/Template:Material | mat=PSCN }} did it work?
 +
</noinclude>

Revision as of 08:19, 14 September 2013

The argument is passed as a name of a material. Do not try to fix the expression errors: if you pass the parameter right, it will work. Example: testing just {{ User:LiquidCaesium/Template:Material | mat=PSCN }} did it work? and you will get: testing just PSCN did it work?