User:Studenterhue/Template:MaterialsByPropertyTableHeader/Documentation

From Space Station 13 Wiki
Jump to navigation Jump to search

This template is used to document properties of various materials. It automatically creates a wikitable-style table header that contains columns for name of the material, notes, and material properties, namely:

  • Chemical Resistance
  • Density
  • Electrical Conductivity
  • Flammability
  • Hardness
  • Radioactivity
  • Reflectivity
  • Thermal Conductivity

Every column except the notes column is sortable. The header also creates a table that is collapsible, which is open by default. When collapsed, there is a caption that says "All Materials by Property" with an [Expand] link next to it; the caption persists when expanded, but the link says [Collapse] instead.

This is meant to be used alongside Template:MaterialsByPropertyTableRow. That template is used to document each material's property; this one sets up the table for it. Both templates are primarily meant to be used on the Ore Processing page, as an appendix showing properties for each and every material. Theoretically, though, you could use this on other pages.

Usage

{{MaterialsByPropertyTableHeader}}

(insert MaterialsByPropertyTableRow templates here)

|}

Parameters

This template has no parameters.

Be forewarned: this template does not add the table end markup (|}). If you aren't copying and pasting the samples above, you need to add it after the template!