https://powdertoy.co.uk/Wiki/index.php?title=Template:Material&feed=atom&action=history Template:Material - Revision history 2024-06-02T16:50:48Z Revision history for this page on the wiki MediaWiki 1.30.0 https://powdertoy.co.uk/Wiki/index.php?title=Template:Material&diff=8163&oldid=prev jacob1: Remove extra space 2021-07-09T03:58:11Z <p>Remove extra space</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 03:58, 9 July 2021</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;includeonly&gt;[[Element:{{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}} | {{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}}]]&lt;/includeonly&gt;&lt;noinclude&gt;Takes one argument, the name of a material.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;includeonly&gt;[[Element:{{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}} |{{#if: {{{mat|}}} | {{{mat}}} | {{{1}}}}}]]&lt;/includeonly&gt;&lt;noinclude&gt;Takes one argument, the name of a material.</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Example: &lt;nowiki&gt; {{ Material | PSCN }} &lt;/nowiki&gt; and you will get:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Example: &lt;nowiki&gt; {{ Material | PSCN }} &lt;/nowiki&gt; and you will get: {{ Material | PSCN }}</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{ Material | PSCN }}</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/noinclude&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/noinclude&gt;</div></td></tr> </table> jacob1 https://powdertoy.co.uk/Wiki/index.php?title=Template:Material&diff=4789&oldid=prev jacksonmj: Remove image, since it looks messy when used a lot in large paragraphs. Old behaviour at Template:MaterialBtn 2014-10-06T14:22:32Z <p>Remove image, since it looks messy when used a lot in large paragraphs. Old behaviour at Template:MaterialBtn</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 14:22, 6 October 2014</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;includeonly&gt;[[<del class="diffchange diffchange-inline">Image</del>:{{{mat}}}<del class="diffchange diffchange-inline">.png</del>|<del class="diffchange diffchange-inline">30px</del>|<del class="diffchange diffchange-inline">link=Element</del>:{{{mat}}}|{{{mat}}}]]&lt;/includeonly&gt;&lt;noinclude&gt;<del class="diffchange diffchange-inline">The </del>argument <del class="diffchange diffchange-inline">is passed as a </del>name of a material<del class="diffchange diffchange-inline">.</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;includeonly&gt;[[<ins class="diffchange diffchange-inline">Element</ins>:<ins class="diffchange diffchange-inline">{{#if: {{{mat|}}} | </ins>{{{mat}}} | <ins class="diffchange diffchange-inline">{{{1}}}}} </ins>| <ins class="diffchange diffchange-inline">{{#if</ins>: {{{mat<ins class="diffchange diffchange-inline">|</ins>}}} | {{{mat<ins class="diffchange diffchange-inline">}}} | {{{1}}</ins>}}}]]&lt;/includeonly&gt;&lt;noinclude&gt;<ins class="diffchange diffchange-inline">Takes one </ins>argument<ins class="diffchange diffchange-inline">, the </ins>name of a material.</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">Do not try to fix the expression errors: if you pass the parameter right, it will work</del>.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Example: &lt;nowiki&gt; {{ Material | PSCN }} &lt;/nowiki&gt; and you will get:</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Example: &lt;nowiki&gt; {{ Material | <del class="diffchange diffchange-inline">mat=</del>PSCN }} &lt;/nowiki&gt; and you will get:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{ Material | PSCN }}</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{ Material | <del class="diffchange diffchange-inline">mat=</del>PSCN }}</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/noinclude&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/noinclude&gt;</div></td></tr> <!-- diff cache key mediawiki-pw_:diff:version:1.11a:oldid:3794:newid:4789 --> </table> jacksonmj https://powdertoy.co.uk/Wiki/index.php?title=Template:Material&diff=3794&oldid=prev LiquidCaesium: Created page with "<includeonly>{{{mat}}}</includeonly><noinclude>The argument is passed as a name of a material. Do not try to fix the expressio..." 2013-09-15T16:14:37Z <p>Created page with &quot;&lt;includeonly&gt;[[Image:{{{mat}}}.png|30px|link=Element:{{{mat}}}|{{{mat}}}]]&lt;/includeonly&gt;&lt;noinclude&gt;The argument is passed as a name of a material. Do not try to fix the expressio...&quot;</p> <p><b>New page</b></p><div>&lt;includeonly&gt;[[Image:{{{mat}}}.png|30px|link=Element:{{{mat}}}|{{{mat}}}]]&lt;/includeonly&gt;&lt;noinclude&gt;The argument is passed as a name of a material.<br /> Do not try to fix the expression errors: if you pass the parameter right, it will work.<br /> Example: &lt;nowiki&gt; {{ Material | mat=PSCN }} &lt;/nowiki&gt; and you will get:<br /> {{ Material | mat=PSCN }}<br /> &lt;/noinclude&gt;</div> LiquidCaesium