Materials Index Documentation

From Green Garage Detroit
Jump to: navigation, search

Guidlines

Materials are documented in tables in on pages corresponding to the categories represented in the Materials Index. The alphabetical index corresponds to the material across categories.

The materials tables on this page are extensible. Facets can be added to the tables in order to further describe a set of materials. In order to describe and object, think of it in terms of it's personality (what they are), matter (what they are made of), energy (what they do or what is done to them), space, and time (PMEST). Keep in mind that the set of facets in a table should be jointly exhaustive and mutually exclusive.

Below are instructions for adding new materials to a table and adding new facets (columns) to a table.

Adding a new material

  • To add a new material select which category that material should be recorded in from the categorical index on the Materials Index page.
  • The section of markup that controls the materials table looks like this:

{| border="1"
! scope="col" | Name
! scope="col" | Image
! scope="col" | Makeup
! scope="col" | Use
! scope="col" | Origin
! scope="col" | Destination
! scope="col" | Byproduct/waste
! scope="col" | Size
! scope="col" | Quantity
! scope="col" | Comment
|-
! scope="row" | <span id="ANCHORNAME">Name of Material</span>
| [[Image:ImageName.jpg|thumb|alt=Alternate text.|Caption.]]||Makeup of Material ||Use || Origin||Destination || Potential Waste of Byproduct||Size||Quantity||Additional Comments
|}

  • To add a new material copy the text displayed below and paste it on a new line after the last cell of the preceding row. Materials are filed in alphabetical order.

|-
! scope="row" | <span id="ANCHORNAME">Name of Material</span>
| [[Image:ImageName.jpg|thumb|alt=Alternate text.|Caption.]]||Makeup of Material ||Use || Origin||Destination || Potential Waste of Byproduct||Size||Quantity||Additional Comments

  • This line can now be edited to replace the dummy text with the desired content.
  • The final step is to create an anchored link that corresponds with the alphabetical materials index. To do this focus on the following line of code:
<span id="ANCHORNAME">Name of Material</span>
  • replace ANCHORNAME with the name of the material. For the anchor, this name must be unique and must not include spaces or the "#" sign. Copy the new anchor name and return to the Materials Index page.
  • In edit mode on the materials index page insert the following code in the correct alphabetical order:
*[[Name of Category Page#ANCHORNAME|Display text]]
  • Replace "Name of Category Page" with the appropriate page name, "lumber" or "Fasteners" for instance. Replace "ANCHORNAME" with the name you just created leaving the pound sign in place. Replace "Display text" with the name of the material you are adding.
  • Save the page and click on the link, will lead to the row you just added.

Adding a Facet (or adding another column to a materials table)

  • The section of markup that controls the materials table looks like this:

{| border="1"
! scope="col" | Name
! scope="col" | Image
! scope="col" | Makeup
! scope="col" | Use
! scope="col" | Origin
! scope="col" | Destination
! scope="col" | Byproduct/waste
! scope="col" | Size
! scope="col" | Quantity
! scope="col" | Comment
|-
! scope="row" | <span id="ANCHORNAME">Name of Material</span>
| [[Image:ImageName.jpg|thumb|alt=Alternate text.|Caption.]]||Makeup of Material ||Use || Origin||Destination || Potential Waste of Byproduct||Size||Quantity||Additional Comments
|}

  • To add a new column, insert the following line of text on a new line between existing column headings:
! scope="col" | New Facet
  • Adding a new facet between "Use" and "Origin" will would look like this:
! scope="col" | Use
! scope="col" | New Facet
! scope="col" | Origin
  • Now, a corresponding cell for the new facet needs to be added to each row of materials. Copy the following text and insert in in the proper place in each row.
|| New Cell
  • For a new facet between "Use" and "Origin" the operation would look like this:
|-
! scope="row" | <span id="ANCHORNAME">Name of Material</span>
| [[Image:ImageName.jpg|thumb|alt=Alternate text.|Caption.]]||Makeup of Material ||Use || New Cell || Origin||Destination || Potential Waste of Byproduct||Size||Quantity||Additional Comments
  • Finish by replacing dummy text with the desired descriptions



Return to Materials Index