Difference between revisions of "User:Studenterhue/Template:MaterialsByPropertyTableHeader"
Studenterhue (talk | contribs) (Another one of those first-step things) |
Studenterhue (talk | contribs) (Add transclusion tags (and category, commented out for now), pipe documentation) |
||
Line 1: | Line 1: | ||
{| class="wikitable sortable" | <includeonly>{| class="wikitable sortable" | ||
|- | |- | ||
! Material !! Radioactivity !! Electrical Conductivity || Thermal Conductivity !! Hardness !! Density !! Flammability !! Chemical Resistance !! Reflectivity !! Notes | ! Material !! Radioactivity !! Electrical Conductivity || Thermal Conductivity !! Hardness !! Density !! Flammability !! Chemical Resistance !! Reflectivity !! Notes | ||
</includeonly><noinclude>{{User:Studenterhue/Template:MaterialsByPropertyTableHeader/Documentation}} <!--[[Category:Decorative Templates]]--></noinclude> |
Revision as of 09:28, 22 October 2023
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!