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

From The Powder Toy
Jump to: navigation, search
m
m (critical bug fix related to links)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>The argument is passed as a name of a material.
+
<includeonly>[[Image:{{{mat}}}.png|30px|link=Element:{{{mat}}}|{{{mat}}}]]</includeonly><noinclude>The argument is passed as a name of a material.<nowiki>Insert non-formatted text here</nowiki>
 
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|18px|link=Elements:{{{1}}}]] </includeonly>
+
testing just {{ User:LiquidCaesium/Template:Material | mat=PSCN }} did it work?
 +
</noinclude>

Latest revision as of 16:10, 15 September 2013

The argument is passed as a name of a material.Insert non-formatted text here 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?