Template:Props/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
mNo edit summary
imported>David Yamakuchi
mNo edit summary
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
*{{tl|Props}} is automatically included on /Properties subpages.
*{{tl|Props}} is automatically included on /Properties subpages.


On other pages, use {{tl|Props}} to display a table of all properties listed in (((Material)))/Properties/List.
On other pages, use {{tl|Props}} to display a table of properties.


So for instance...<br /><br />
So for instance...<br /><br />
Line 15: Line 15:
we get:
we get:
{{Props|Material=Iron}}
{{Props|Material=Iron}}
Notice that the items on the list that do not have corresponding pages do not appear in the table.  For a property to appear in the table, it must be both included on the list and have a corresponding subpage to get the data from.  Since [[Iron/Atomic number]] exists, it returns the value that is displayed in the table.  [[Iron/Molecular formula]] does not, and so it does not appear.
Properties that do not have corresponding subpages do not appear in the table.  Since [[Iron/Atomic number]] exists, it returns the "value" that is displayed in the table.  [[Iron/Molecular formula]] does not, and so it does not appear.




Please Note:
Note:
----
----
There seems to be a bug in the template expansion logic for CZ.  The problem has been fixed with a temporary workaround.  Please bear with the growing pains while we try and resolve the issue...
There is a limitation in the template expansion logic for CZ.  The problem has been fixed with a workaround.  Please bear with the growing pains while we try and resolve the issue...Perhaps someday cz will resolve this issue...


Because of this, at this time, the only properties that will appear on a "Props" table are:<blockquote>Atomic symbol<br />Atomic number<br />Atomic mass<br />Standard phase<br />Molar mass<br />Elemental Class<br />Molecular formula<br />electron configuration<br />group<br />period<br />block<br />Appearance<br />Electronegativity<br />Electrons per shell<br />Density<br />Specific gravity<br />Molar volume<br />Melting point<br />Boiling point<br />Critical point<br />Triple point<br />Heat of fusion<br />Heat of vaporization<br />Heat capacity<br />Decomposition temperature<br />Vapor pressure<br />Vapor pressure comment<br />Crystal structure<br />Oxidation states<br />1st ionization energy<br />2nd ionization energy<br />3rd ionization energy<br />Atomic radius<br />Atomic radius (calc.)<br />Covalent radius<br />Van der Waals radius<br />Magnetic ordering<br />Electrical resistivity<br />Thermal conductivity<br />Thermal diffusivity<br />Thermal expansion<br />Speed of sound<br />Young's modulus<br />Shear modulus<br />Bulk modulus<br />Poisson ratio<br />Mohs hardness<br />Vickers hardness<br />Brinell hardness<br />CAS number<br />Viscosity<br />Refractive index</blockquote>
So, at this time, the only properties that will appear on a "Props" table at this time are:<blockquote>Atomic symbol<br />Atomic number<br />Atomic mass<br />Standard phase<br />Molar mass<br />Elemental Class<br />Molecular formula<br />electron configuration<br />group<br />period<br />block<br />Appearance<br />Electronegativity<br />Electrons per shell<br />Density<br />Specific gravity<br />Molar volume<br />Melting point<br />Boiling point<br />Critical point<br />Triple point<br />Heat of fusion<br />Heat of vaporization<br />Heat capacity<br />Decomposition temperature<br />Vapor pressure<br />Vapor pressure comment<br />Crystal structure<br />Oxidation states<br />1st ionization energy<br />2nd ionization energy<br />3rd ionization energy<br />Atomic radius<br />Atomic radius (calc.)<br />Covalent radius<br />Van der Waals radius<br />Magnetic ordering<br />Electrical resistivity<br />Thermal conductivity<br />Thermal diffusivity<br />Thermal expansion<br />Speed of sound<br />Young's modulus<br />Shear modulus<br />Bulk modulus<br />Poisson ratio<br />Mohs hardness<br />Vickers hardness<br />Brinell hardness<br />CAS number<br />Viscosity<br />Refractive index</blockquote>


If you would like to add a particular property to this list. Please feel free to edit the template itself ( {{tl|Props}} ).
If you would like to add a particular property to this list, please feel free to edit the template itself ( {{tl|Props}} ). Dont forget to update the /doc as well :-)...http://en.citizendium.org/wiki/Template:Props/doc
----
----
Also:
Also:
There is a "sentinel" template at [[Lithium/Isotopes]] which implements the desired logic for Props.  It has been left "broken" (it doesn't work but it should) intentionally as an indicator.  Thank you for your patience.  Once this template begins to function properly, it should be possible to again support any arbitrary property type.
There is a "sentinel" template at [[Lithium/Isotopes]] which implements the "original" logic for Props.  It has been left "broken"...it doesn't work but it should... intentionally.  Thank you for your patience.

Revision as of 20:39, 13 January 2013

Template Usage

  • {{Props}} is automatically included on /Properties subpages.

On other pages, use {{Props}} to display a table of properties.

So for instance...

The properties that are listed at Iron/Properties/List are:

Atomic symbol
Atomic number
Atomic mass
etc..

so that when we say:

{{Props|Material=Iron}}

we get:

Properties of Iron
Atomic_symbol: Fee
Atomic number: 26e
Atomic mass: 55.845(2)e
Standard phase: Solide
Elemental Class: Transition metale
Electronegativity: 1.83e
Melting point: 1,538 °C e
Boiling point: 2,861 °C e
Note: Please see template {{Props}} for instructions on adding new properties of Iron to this table.

Properties that do not have corresponding subpages do not appear in the table. Since Iron/Atomic number exists, it returns the "value" that is displayed in the table. Iron/Molecular formula does not, and so it does not appear.


Note:


There is a limitation in the template expansion logic for CZ. The problem has been fixed with a workaround. Please bear with the growing pains while we try and resolve the issue...Perhaps someday cz will resolve this issue...

So, at this time, the only properties that will appear on a "Props" table at this time are:

Atomic symbol
Atomic number
Atomic mass
Standard phase
Molar mass
Elemental Class
Molecular formula
electron configuration
group
period
block
Appearance
Electronegativity
Electrons per shell
Density
Specific gravity
Molar volume
Melting point
Boiling point
Critical point
Triple point
Heat of fusion
Heat of vaporization
Heat capacity
Decomposition temperature
Vapor pressure
Vapor pressure comment
Crystal structure
Oxidation states
1st ionization energy
2nd ionization energy
3rd ionization energy
Atomic radius
Atomic radius (calc.)
Covalent radius
Van der Waals radius
Magnetic ordering
Electrical resistivity
Thermal conductivity
Thermal diffusivity
Thermal expansion
Speed of sound
Young's modulus
Shear modulus
Bulk modulus
Poisson ratio
Mohs hardness
Vickers hardness
Brinell hardness
CAS number
Viscosity
Refractive index

If you would like to add a particular property to this list, please feel free to edit the template itself ( {{Props}} ). Dont forget to update the /doc as well :-)...http://en.citizendium.org/wiki/Template:Props/doc


Also: There is a "sentinel" template at Lithium/Isotopes which implements the "original" logic for Props. It has been left "broken"...it doesn't work but it should... intentionally. Thank you for your patience.