@plead-for-destruction (View Post)
Great! Hydrogen is the "demo" element page, so if you copy its format, you should be good. Don't spend too much time on the infoboxes though. I'll add those in all at once this evening. Thanks for the help!
Here are the infoboxes for all elements, parsed from the TPT C++ element files.
http://ironspire.net/files/elements.txt
I decided to use C++ property names for the infobox parameters, so the MediaWiki markup and TPT source code would have a closer binding. Since it would be a ridiculous amount of work to change small details of the infobox in such a way that would be reflected across all element pages, the formatting and parsing is entirely controlled by the Infobox_Element template. The individual element infobox markup is therefore more of a raw data container than a declaration for the layout. Currently, about half of the parameters passed to Infobox_Element are actually used, to allow us to add and remove any data we wish in the future.
The intended usage of this file is to be a quick-starter for creating new element pages. The infoboxes should be pasted manually into each element page rather than blindly added with scripts. The astrisks (******) should be replaced with the full name of the element since it usually can't be found in the source code. Also, if the long or short name appears in the description (e.g. "Neutrons. Interact with matter in odd ways."), it would probably be best to remove it to avoid clashing with the infobox header.
When creating a new element page, a quick glance over the data would be helpful to verify any obvious errors. For example, as noted in the HYGN data, a custom function overwrites the Flammability variable, so the obviously correct value "Yes" disagrees with the value "0" in elementdata.c.
For those who are interested in starting some of the element pages, here is an example of a data entry. You can find these in the elements.txt file by searching for the 3-or-4-letter abbreviation. When pasting, you don't need to include the name at the top, just the text inside the curly brackets.
HYGN {{ infobox Element | icon = HYGN.png | longname = ****** | image = [[File:******.png|200px]] | advection = 2.0 | airdrag = 0.00 | airloss = 0.99 | collision = -0.10 | colour = 5070FF | description = Combines with O2 to make WATR | diffusion = 3.00 | explosive = 0 | falldown = 0 | flammable = 0 | gravity = 0.00 | hardness = 0 | heatconduct = 251 | highpressure = | highpressuretransition = | hightemperature = | hightemperaturetransition = | hotair = 0.000 | identifier = DEFAULT_PT_H2 | loss = 0.99 | lowpressure = | lowpressuretransition = | lowtemperature = | lowtemperaturetransition = | meltable = 0 | name = HYGN | properties = TYPE_GAS | state = ST_GAS | temperature = 273.15 | weight = 1 }}
TODO: