Template:Props/doc

From Citizendium
< Template:Props
Revision as of 17:21, 27 June 2008 by imported>David Yamakuchi (→‎Template Usage)
Jump to navigation Jump to search

Template Usage

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

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

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.

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 property page to get the data from. Since Iron/Atomic number is a valid page, it returns the value that is displayed in the table. Iron/Molecular formula is not, and so does not appear.