Feed The Beast Wiki:Crafting grid overhaul project

Welcome to the Template documentation project.

Warning
The new system will not be backwards compatible, old crafting grids will be automatically converted to the new crafting grids. You are safe to continue to use the current system but please do not modify the old grid templates.

Goals

 * Remove the animation frames limit
 * Introduce oreDict support.
 * Increase the implementation of stuff that grids support.
 * Improve the readability of templates in articles.
 * Ease the creation of crafting grid templates.
 * ...and more...

Links

 * /Load times

Progress
[Purge&#93;

Preparations

 * Protect crafting grid templates.

Code

 * Code animation.
 * Code crafting grid controls.

Grid

 * Style grids.
 * Create grids template.

Animation

 * Create crafting grid controls to flip through different crafting recipes.
 * Create "activate animation" wrapping metatemplate.
 * Create "activate controls" wrapping metatemplate.

Tooltips

 * Code support for variables in tooltips.

Ore Dictionary

 * Create Ore Dictionary template
 * Create Ore Dictionary activation template
 * Populate Ore Dictionary

Tanks

 * Create tanks template.
 * Tank image truncation script.
 * Tank image helper.

Crafting Grids

 * Create "cells" metatemplate for crafting grid creation.
 * Create "tanks" metatemplate for crafting grid creation.
 * Create a crafting grid metatemplate.
 * Recreate all crafting grids.
 * Create documentation cell.

Cleanup

 * Move new templates into position.
 * Bot: Convert old template to new templates.
 * Unprotect crafting grid templates. /Error log
 * Document templates.
 * Update templates associated with grids. (Infoboxes)

Crafting grids
[Purge&#93;


 * Cg/Alloy Furnace creates a crafting grid for the Alloy Furnace.
 * Cg/Alloy Smelter creates a crafting grid for the Allow Smelter.
 * Cg/Assembling Machine creates a crafting grid for the Assembling Machine.
 * Cg/Automatic Canning Machine creates a crafting grid for the Automatic Canning Machine.
 * Cg/Automatic Wiremill creates a crafting grid for the Automatic Wiremill.
 * Cg/Canning Machine creates a crafting grid for the Canning Machine.
 * Cg/Carpenter creates a crafting grid for the Carpenter.
 * Cg/Centrifuge creates a crafting grid for the Centrifuge.
 * Cg/Chemical Reactor creates a crafting grid for the Chemical Reactor.
 * Cg/Coke Oven creates a crafting grid for the Coke Oven.
 * Cg/Compressor creates a crafting grid for the Compressor.
 * Grid/Crafting Table creates a crafting grid for the Crafting Table.
 * Cg/Crafting Table creates an alternative crafting grid for the Crafting Table.
 * Cg/Distillation Tower creates a crafting grid for the Distillation Tower.
 * Cg/Extractor creates a crafting grid for the Extractor.
 * Cg/Furnace creates a crafting grid for the Furnace.
 * Cg/Fusion Reactor creates a crafting grid for the Fusion Reactor.
 * Cg/Implosion Compressor creates a crafting grid for the Implosion Compressor.
 * Cg/Induction Smelter creates a crafting grid for the Induction Smelter.
 * Cg/Industrial Blast Furnace creates a crafting grid for the Industrial Blast Furnace.
 * Cg/Industrial Centrifuge creates a crafting grid for the Industrial Centrifuge.
 * Cg/Industrial Electrolyzer creates a crafting grid for the Industrial Electrolyzer.
 * Cg/Industrial Grinder creates a crafting grid for the Industrial Grinder.
 * Cg/Industrial Sawmill creates a crafting grid for the Industrial Sawmill.
 * Cg/Lathe creates a crafting grid for the Lathe.
 * Cg/Liquid Transposer creates a crafting grid for the Liquid Transposer.
 * Cg/Macerator creates a crafting grid for the Macerator.
 * Cg/Magma Crucible creates a crafting grid for the Magma Crucible.
 * Cg/Metal Former creates a crafting grid for the Metal Former.
 * Cg/Ore Washing Plant creates a crafting grid for the Ore Washing Plant.
 * Cg/Plate Bending Machine creates a crafting grid for the Plate Bending Machine.
 * Cg/Plate Cutting Machine creates a crafting grid for the Place Cutting Machine.
 * Cg/Powered Furnace creates a crafting grid for the Power Furnace.
 * Cg/Pulverizer creates a crafting grid for the Pulverizer.
 * Cg/Printing Factory creates a crafting grid for the Printing Factory.
 * Cg/Recycler creates a crafting grid for the Recycler.
 * Cg/Rolling Machine creates a crafting grid for the Rolling Machine.
 * Cg/Sawmill creates a crafting grid for the Sawmill.
 * Cg/Squeezer creates a crafting grid for the Squeezer.
 * Cg/Thermal Centrifuge creates a crafting grid for the Thermal Centrifuge.
 * Cg/Thermionic Fabricator creates a crafting grid for the Thermionic Fabricator.
 * Cg/Vacuum Freezer creates a crafting grid for the Vacuum Freezer.

Crafting grids documentation
[Purge&#93;


 * Cg/Alloy Furnace creates a crafting grid for the Alloy Furnace.
 * Cg/Alloy Smelter creates a crafting grid for the Allow Smelter.
 * Cg/Assembling Machine creates a crafting grid for the Assembling Machine.
 * Cg/Automatic Canning Machine creates a crafting grid for the Automatic Canning Machine.
 * Cg/Automatic Wiremill creates a crafting grid for the Automatic Wiremill.
 * Cg/Canning Machine creates a crafting grid for the Canning Machine.
 * Cg/Carpenter creates a crafting grid for the Carpenter.
 * Cg/Centrifuge creates a crafting grid for the Centrifuge.
 * Cg/Chemical Reactor creates a crafting grid for the Chemical Reactor.
 * Cg/Coke Oven creates a crafting grid for the Coke Oven.
 * Cg/Compressor creates a crafting grid for the Compressor.
 * Grid/Crafting Table creates a crafting grid for the Crafting Table.
 * Cg/Crafting Table creates an alternative crafting grid for the Crafting Table.
 * Cg/Distillation Tower creates a crafting grid for the Distillation Tower.
 * Cg/Extractor creates a crafting grid for the Extractor.
 * Cg/Furnace creates a crafting grid for the Furnace.
 * Cg/Fusion Reactor creates a crafting grid for the Fusion Reactor.
 * Cg/Implosion Compressor creates a crafting grid for the Implosion Compressor.
 * Cg/Induction Smelter creates a crafting grid for the Induction Smelter.
 * Cg/Industrial Blast Furnace creates a crafting grid for the Industrial Blast Furnace.
 * Cg/Industrial Centrifuge creates a crafting grid for the Industrial Centrifuge.
 * Grid/Industrial Electrolyzer creates a crafting grid for the Industrial Electrolyzer.
 * Grid/Industrial Grinder creates a crafting grid for the Industrial Grinder.
 * Grid/Industrial Sawmill creates a crafting grid for the Industrial Sawmill.
 * Cg/Lathe creates a crafting grid for the Lathe.
 * Grid/Liquid Transposer creates a crafting grid for the Liquid Transposer.
 * Grid/Macerator creates a crafting grid for the Macerator.
 * Grid/Magma Crucible creates a crafting grid for the Magma Crucible.
 * Cg/Metal Former creates a crafting grid for the Metal Former.
 * Cg/Ore Washing Plant creates a crafting grid for the Ore Washing Plant.
 * Grid/Plate Bending Machine creates a crafting grid for the Plate Bending Machine.
 * Cg/Plate Cutting Machine creates a crafting grid for the Place Cutting Machine.
 * Grid/Powered Furnace creates a crafting grid for the Power Furnace.
 * Grid/Pulverizer creates a crafting grid for the Pulverizer.
 * Cg/Printing Factory creates a crafting grid for the Printing Factory.
 * Cg/Recycler creates an alternative crafting grid for the Recycler.
 * Grid/Rolling Machine creates a crafting grid for the Rolling Machine.
 * Grid/Sawmill creates a crafting grid for the Sawmill.
 * Grid/Squeezer creates a crafting grid for the Squeezer.
 * Cg/Thermal Centrifuge creates a crafting grid for the Thermal Centrifuge.
 * Grid/Thermionic Fabricator creates a crafting grid for the Thermionic Fabricator.
 * Grid/Vacuum Freezer creates a crafting grid for the Vacuum Freezer.

Scope

 * Crafting grids and related templates.

Project Members
Please add your name to the list if you wish to participate in this project.
 * (Project leader)

Template list
This is a list of experimental and final templates that the project is currently using.

Experimental templates

 * X1 -
 * X2 -
 * X3 -
 * X4 -
 * X5 -
 * X6 -
 * X7 -
 * X8 -
 * X9 -

Final templates

 * G - Main grid wrapper.
 * Cg - Crafting grid components.
 * G/Dict - Ore Dictionary.
 * G/Mods - Resolves mod names.
 * G/T > G/Tank - Single tank wrapper.
 * Gc > G/Cell - Grid display logic.
 * Gcd > G/Cell doc - Documentation cell
 * I - Creates a image wrapped in the span tag, used in crafting grids.
 * N - Animation/slideshow wrapper
 * O > G/O - Ore dictionary wrapper, call by tag.
 * S - Creates a string wrapped in the span tag, used in crafting grids.
 * T - Liquid display logic, used in crafting grids.

Single crafting grids
This is what the code to create single crafting grids will look like in the future.

Code Explanation

 * Line 1: No more Grid/ prefix in front of crafting grid templates.
 * Line 2-4: Instead of providing a list of items to the crafting grid template, you give it a list of grids that can be fully customized. A redirect will be made for less typing (G->Grid).
 *   and   : A animation will display ore dict compatible items.
 *  : Demonstrates that grids in crafting grids can be fully customized. And that tooltips will support variables.

Multiple crafting grids
This is what the code to create multiple crafting grids will look like in the future. Instead of flipping through animations automatically by the script, the user must flip through them manually with the controls provided.

Crafting grid creation
This is an example of how crafting grids will be created in the future. Ideally, templates used here should be substituted to allow for shallower expansion depth, however, by not substituting the templates you increase the maintainability of these crafting grids.

...

...