Editing the wiki

From The Powder Toy
Revision as of 22:04, 29 October 2014 by jacksonmj (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 source code (Template:Infobox Element). This infobox displays a selection of the element properties, and automatically adds the page to the correct categories.

The other information which should go on the page will depend on the element. Some examples of information that could be included are:

  • Reactions
  • How to use the element
  • Any interesting features of the element
  • Links to elements which do similar things
  • What the properties such as tmp and ctype do
  • 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 LAVA, where the melting point varies according to which element was melted into LAVA).


Unnecessary duplication of information should be avoided. For example: for VRSS, all that is needed in addition to the infobox is a link to the VIRS page, since VRSS is exactly the same as VIRS except it's a solid.

Useful templates

{{temperature | t=295.15}}

Output: 22°C

"295.15" 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.

{{Material | DUST}}

Output: DUST

Element names should usually be linked to element pages, this template is a shortcut to do that.

{{MaterialBtn | DUST}}

Output: DUST.png

Element button image which links to the element page. This should be used sparingly - use in short lines, not in paragraphs.

For example, this is good:

PROT.png + ELEC.png = HYGN.png
PROT.png + INVS.png = NEUT.png

But this is somewhat messy and hard to read (the colours are distracting):

DEUT.png will explode into protons when bombarded with them for a while, just like the reaction with NEUT.png 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: NBLE.png, CO2.png, OXYG.png, PLSM.png, URAN.png, PLUT.png, and SING.png (needs extremely high velocity).

Element category pages

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.

Element categories are now Category: pages, and can be found as subcategories in Category:Elements (e.g. Category:Gases, Category:Solids).

Walls and Tools do not yet have individual pages.

Button images

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.

Example: DUST.png

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).

Translations

See Translations for details of how to translate the wiki.