User:Gat235/sandbox

=Material Cargo Table= Template:Infobox material will declare the Cargo table. Cargo table would store:
 * Name
 * ID
 * Image
 * Type
 * Biome
 * Density
 * Durability
 * Hardness
 * Evaporates
 * Freezes
 * Condenses
 * Stain-effect
 * Ingest-effect
 * Submerge-effect
 * Tags

=Alchemy Cargo Table= All Alchemy reactions and transmutations would be stored on Alchemy Information Table, with each row being stored into the Cargo table. New reactions and existing ones can be added and edited as needed by modifying that page. This would effectively create an editable Cargo table.

Table Header
Can reuse/modify Template:MaterialReactions/start. Parameters that will be stored in the Cargo table. {| class="wikitable" width="100%" ! Reagent 1 || Reagent 2 || Reagent 3 ! Product 1 || Product 2 || Product 3 ! Reaction Rate
 * NOTE: Are there any other parameters that need be stored?
 * Additional parameters are needed, undefined for now.
 * NOTE: Are there reactions with more than three reagents/products?
 * Yes, some reactions have unique inputs/outputs.

Table Rows
Uses a template to convert inputs into a table row format and stores it in the Cargo table. This template will also declare the Cargo table. Can reuse/modify Template:MaterialReactions/row. Takes,  ,   as parameters. The template will add link brackets around the inputs.
 * NOTE: Should the reagents/products be put together, then split with an #explode function? Or have them be inputted separately, like,  , etc.?
 * Inputted as groups, separated by commas. #explode can be used for Cargo storage.
 * NOTE: Should duplicate products be listed twice? Example on Copper shows that  produces , with Smoke appearing twice.
 * Duplicate reagents/products are intended, since it is accurate to how much material is used/created.
 * NOTE: Should reagent/product columns have different background colors to easier distinguish them apart? If so, what colors?

Within the template:
 * || ||
 * || ||
 * || ||

Table End
Can reuse Template:MaterialReactions/end.
 * }

Example
Would appear as:

=Reactions Table= A template that uses a CargoQuery to search the Alchemy Cargo table for all reactions including the specified reagent. Concatenates the reagents and products to fit in one column instead of three each.
 * NOTE: Should searching in the reverse be included? i.e. All reactions that result in Copper as a product.
 * Specifying a material should search in both reagents and products.
 * NOTE: Would searching for multiple materials be needed? i.e All reactions that include Copper AND Water as reagents.
 * Unnecessary for now.
 * TO-DO: Find a way to incorporate Template:MaterialReactions/tag results as well. Possibly pull the  data from the Material Cargo and work from there. Might not be possible with multiple material searches, or will have to be excluded when doing so.

Example
Would appear as:

(+ all the other Alchemical reactions that include Copper as a reagent and product)