https://powdertoy.co.uk/Wiki/index.php?action=history&feed=atom&title=Editing_the_wiki Editing the wiki - Revision history 2024-12-22T12:55:11Z Revision history for this page on the wiki MediaWiki 1.30.0 https://powdertoy.co.uk/Wiki/index.php?title=Editing_the_wiki&diff=5833&oldid=prev jacksonmj: /* Useful templates */ Some content moved to Template:MaterialBtn 2015-09-30T23:18:26Z <p>‎<span dir="auto"><span class="autocomment">Useful templates: </span> Some content moved to Template:MaterialBtn</span></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 23:18, 30 September 2015</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l34" >Line 34:</td> <td colspan="2" class="diff-lineno">Line 34:</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>Output: {{MaterialBtn | DUST}}</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>Output: {{MaterialBtn | DUST}}</div></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;"></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;"></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>Element button image which links to the element page. This should be used sparingly - <del class="diffchange diffchange-inline">use </del>in short lines, <del class="diffchange diffchange-inline">not </del>in <del class="diffchange diffchange-inline">paragraphs. </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>Element button image which links to the element page. This should be used sparingly - <ins class="diffchange diffchange-inline">preferably </ins>in short lines, <ins class="diffchange diffchange-inline">and never </ins>in the <ins class="diffchange diffchange-inline">middle of </ins>a <ins class="diffchange diffchange-inline">paragraph</ins>. <ins class="diffchange diffchange-inline">See [[Template</ins>:MaterialBtn<ins class="diffchange diffchange-inline">]] for detailed guidelines </ins>and <ins class="diffchange diffchange-inline">examples</ins>.</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>&#160;</div></td><td colspan="2">&#160;</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">For example, this is good:</del></div></td><td colspan="2">&#160;</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>&#160;</div></td><td colspan="2">&#160;</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">:{{MaterialBtn | PROT }} + {{MaterialBtn | ELEC}} = {{MaterialBtn | HYGN}}&lt;br&gt;</del></div></td><td colspan="2">&#160;</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">:{{MaterialBtn | PROT }} + {{MaterialBtn | INVS }} = {{MaterialBtn | NEUT}}</del></div></td><td colspan="2">&#160;</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>&#160;</div></td><td colspan="2">&#160;</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">But this is somewhat messy and hard to read (</del>the <del class="diffchange diffchange-inline">colours are distracting):</del></div></td><td colspan="2">&#160;</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>&#160;</div></td><td colspan="2">&#160;</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">:{{MaterialBtn | DEUT }} will explode into protons when bombarded with them for </del>a <del class="diffchange diffchange-inline">while, just like the reaction with {{MaterialBtn | NEUT }} except with low pressure</del>. <del class="diffchange diffchange-inline">Protons, when with high velocity enough, will turn into other materials, in order from lowest to highest velocity required to produce</del>: <del class="diffchange diffchange-inline">{{</del>MaterialBtn <del class="diffchange diffchange-inline">| NBLE }}, {{MaterialBtn | CO2 }}, {{MaterialBtn | OXYG }}, {{MaterialBtn | PLSM }}, {{MaterialBtn | URAN }}, {{MaterialBtn | PLUT }}, </del>and <del class="diffchange diffchange-inline">{{MaterialBtn | SING }} (needs extremely high velocity)</del>. &#160;</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;"></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;"></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>== Element category pages ==</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>== Element category pages ==</div></td></tr> <!-- diff cache key mediawiki-pw_:diff:version:1.11a:oldid:5147:newid:5833 --> </table> jacksonmj https://powdertoy.co.uk/Wiki/index.php?title=Editing_the_wiki&diff=5147&oldid=prev jacksonmj: Created page with "== Element pages == Each element has a separate page, named Element:AAAA. All element pages should have an infobox which contains the element properties copied from the TPT sour..." 2014-10-29T22:04:33Z <p>Created page with &quot;== Element pages == Each element has a separate page, named Element:AAAA. All element pages should have an infobox which contains the element properties copied from the TPT sour...&quot;</p> <p><b>New page</b></p><div>== Element pages ==<br /> Each element has a separate page, named Element:AAAA.<br /> <br /> All element pages should have an infobox which contains the element properties copied from the TPT source code ([[Template:Infobox Element]]). This infobox displays a selection of the element properties, and automatically adds the page to the correct categories. <br /> <br /> The other information which should go on the page will depend on the element. Some examples of information that could be included are:<br /> <br /> * Reactions<br /> * How to use the element<br /> * Any interesting features of the element<br /> * Links to elements which do similar things<br /> * What the properties such as tmp and ctype do<br /> * Melting/boiling points and air pressure effects not mentioned in the infobox. Most melting/boiling and high/low pressure transitions will be automatically shown in the infobox, but some are not, and some need some extra explanation (such as {{Material | LAVA}}, where the melting point varies according to which element was melted into LAVA).<br /> <br /> <br /> Unnecessary duplication of information should be avoided. For example: for {{Material | VRSS}}, all that is needed in addition to the infobox is a link to the {{Material | VIRS}} page, since VRSS is exactly the same as VIRS except it's a solid. <br /> <br /> == Useful templates ==<br /> <br /> '''&lt;nowiki&gt;{{temperature | t=295.15}}&lt;/nowiki&gt;'''<br /> <br /> Output: {{temperature | t=295.15}}<br /> <br /> &quot;295.15&quot; should be replaced with the temperature to display in Kelvin (Kelvin = Celsius + 273.15). This template displays the temperature in Celsius, with Fahrenheit and Kelvin shown in a tooltip.<br /> <br /> '''&lt;nowiki&gt;{{Material | DUST}}&lt;/nowiki&gt;'''<br /> <br /> Output: {{Material | DUST}}<br /> <br /> Element names should usually be linked to element pages, this template is a shortcut to do that.<br /> <br /> '''&lt;nowiki&gt;{{MaterialBtn | DUST}}&lt;/nowiki&gt;'''<br /> <br /> Output: {{MaterialBtn | DUST}}<br /> <br /> Element button image which links to the element page. This should be used sparingly - use in short lines, not in paragraphs. <br /> <br /> For example, this is good:<br /> <br /> :{{MaterialBtn | PROT }} + {{MaterialBtn | ELEC}} = {{MaterialBtn | HYGN}}&lt;br&gt;<br /> :{{MaterialBtn | PROT }} + {{MaterialBtn | INVS }} = {{MaterialBtn | NEUT}}<br /> <br /> But this is somewhat messy and hard to read (the colours are distracting):<br /> <br /> :{{MaterialBtn | DEUT }} will explode into protons when bombarded with them for a while, just like the reaction with {{MaterialBtn | NEUT }} except with low pressure. Protons, when with high velocity enough, will turn into other materials, in order from lowest to highest velocity required to produce: {{MaterialBtn | NBLE }}, {{MaterialBtn | CO2 }}, {{MaterialBtn | OXYG }}, {{MaterialBtn | PLSM }}, {{MaterialBtn | URAN }}, {{MaterialBtn | PLUT }}, and {{MaterialBtn | SING }} (needs extremely high velocity). <br /> <br /> == Element category pages ==<br /> The Elements: pages (such as [[Elements:Solids]] and [[Elements:Gases]]) are deprecated. Once all information on them has been moved to individual element pages, the Elements: pages will be deleted.<br /> <br /> Element categories are now Category: pages, and can be found as subcategories in [[:Category:Elements]] (e.g. [[:Category:Gases]], [[:Category:Solids]]).<br /> <br /> [[Elements:Walls | Walls]] and [[Elements:Tools | Tools]] do not yet have individual pages.<br /> <br /> == Button images ==<br /> Element, tool, and wall button images should show the button exactly as it appears in Powder Toy, with a 2 pixel black border. The total size including the border should be 30x18 pixels.<br /> <br /> Example: [[File:DUST.png]]<br /> <br /> All button images should be in PNG format. The filename for element button images should be the name of the element (e.g. DUST.png).<br /> <br /> == Translations ==<br /> See [[Translations]] for details of how to translate the wiki.</div> jacksonmj