Line 56: | Line 56: | ||
== Crafting grids == |
== Crafting grids == |
||
<div class="plainlinks" style="text-align:right">'''[http://wiki.feed-the-beast.com/index.php?title={{FULLPAGENAMEE}}&action=purge [Purge]]'''</div> |
<div class="plainlinks" style="text-align:right">'''[http://wiki.feed-the-beast.com/index.php?title={{FULLPAGENAMEE}}&action=purge [Purge]]'''</div> |
||
− | {{Project:Template documentation project/Progress bar| |
+ | {{Project:Template documentation project/Progress bar|21|35}} |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Alloy Furnace}} creates a crafting grid for the [[Alloy Furnace]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Alloy Smelter}} creates a crafting grid for the [[Allow Smelter]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Assembling Machine}} creates a crafting grid for the [[Assembling Machine]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Automatic Canning Machine}} creates a crafting grid for the [[Automatic Canning Machine]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Automatic Wiremill}} creates a crafting grid for the [[Automatic Wiremill]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Canning Machine}} creates a crafting grid for the [[Canning Machine]]. |
* {{Status|done|Done.}} {{Tl|Cg/Carpenter}} creates a crafting grid for the [[Carpenter]]. |
* {{Status|done|Done.}} {{Tl|Cg/Carpenter}} creates a crafting grid for the [[Carpenter]]. |
||
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Centrifuge}} creates a crafting grid for the [[Centrifuge]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Chemical Reactor}} creates a crafting grid for the [[Chemical Reactor]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Coke Oven}} creates a crafting grid for the [[Coke Oven]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Compressor}} creates a crafting grid for the [[Compressor]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Compressor}} creates a crafting grid for the [[Compressor]]. |
||
* {{Status|notdone|Won't create.}} <s>{{Tl|Grid/Crafting Table}} creates a crafting grid for the [[Crafting Table]].</s> |
* {{Status|notdone|Won't create.}} <s>{{Tl|Grid/Crafting Table}} creates a crafting grid for the [[Crafting Table]].</s> |
||
* {{Status|done|Done.}} {{Tl|Cg/Crafting Table}} creates an alternative crafting grid for the [[Crafting Table]]. |
* {{Status|done|Done.}} {{Tl|Cg/Crafting Table}} creates an alternative crafting grid for the [[Crafting Table]]. |
||
⚫ | |||
− | {{Cg/Crafting Table |
||
− | |O={{G|Ice}} |
||
− | }} |
||
⚫ | |||
* {{Status|wait|Pending...}} {{Tl|Grid/Extractor}} creates a crafting grid for the [[Extractor]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Extractor}} creates a crafting grid for the [[Extractor]]. |
||
− | * {{Status| |
+ | * {{Status|done|Done.}} {{Tl|Grid/Furnace}} creates a crafting grid for the [[Furnace]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Fusion Reactor}} creates a crafting grid for the [[Fusion Reactor]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Implosion Compressor}} creates a crafting grid for the [[Implosion Compressor]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Induction Smelter}} creates a crafting grid for the [[Induction Smelter]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Induction Smelter}} creates a crafting grid for the [[Induction Smelter]]. |
||
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Industrial Blast Furnace}} creates a crafting grid for the [[Industrial Blast Furnace]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Centrifuge}} creates a crafting grid for the [[Industrial Centrifuge]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Centrifuge}} creates a crafting grid for the [[Industrial Centrifuge]]. |
||
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Electrolyzer}} creates a crafting grid for the [[Industrial Electrolyzer]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Electrolyzer}} creates a crafting grid for the [[Industrial Electrolyzer]]. |
||
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Industrial Grinder}} creates a crafting grid for the [[Industrial Grinder]]. |
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Industrial Sawmill}} creates a crafting grid for the [[Industrial Sawmill]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Liquid Transposer}} creates a crafting grid for the [[Liquid Transposer]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Liquid Transposer}} creates a crafting grid for the [[Liquid Transposer]]. |
||
* {{Status|wait|Pending...}} {{Tl|Grid/Macerator}} creates a crafting grid for the [[Macerator]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Macerator}} creates a crafting grid for the [[Macerator]]. |
||
* {{Status|wait|Pending...}} {{Tl|Grid/Magma Crucible}} creates a crafting grid for the [[Magma Crucible]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Magma Crucible}} creates a crafting grid for the [[Magma Crucible]]. |
||
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Plate Bending Machine}} creates a crafting grid for the [[Plate Bending Machine]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Powered Furnace}} creates a crafting grid for the [[Power Furnace]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Powered Furnace}} creates a crafting grid for the [[Power Furnace]]. |
||
* {{Status|wait|Pending...}} {{Tl|Grid/Pulverizer}} creates a crafting grid for the [[Pulverizer]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Pulverizer}} creates a crafting grid for the [[Pulverizer]]. |
||
Line 94: | Line 91: | ||
* {{Status|wait|Pending...}} {{Tl|Grid/Squeezer}} creates a crafting grid for the [[Squeezer]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Squeezer}} creates a crafting grid for the [[Squeezer]]. |
||
* {{Status|wait|Pending...}} {{Tl|Grid/Thermionic Fabricator}} creates a crafting grid for the [[Thermionic Fabricator]]. |
* {{Status|wait|Pending...}} {{Tl|Grid/Thermionic Fabricator}} creates a crafting grid for the [[Thermionic Fabricator]]. |
||
− | * {{Status| |
+ | * {{Status|alreadydone|Add link.}} {{Tl|Cg/Vacuum Freezer}} creates a crafting grid for the [[Vacuum Freezer]]. |
== Crafting grids documentation == |
== Crafting grids documentation == |
Revision as of 10:15, 21 August 2013
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
Progress
Preparations
- Done. Protect crafting grid templates.
Code
- Already done. Code animation.
- Done. Code crafting grid controls.
Grid
- Done. Style grids.
- Done. Create grids template.
Animation
- Done. Create crafting grid controls to flip through different crafting recipes.
- Done. Create "activate animation" wrapping metatemplate.
- Done. Create "activate controls" wrapping metatemplate.
Tooltips
- Done. Code support for variables in tooltips.
Ore Dictionary
- Done. Create Ore Dictionary template
- Done. Create Ore Dictionary activation template
- In progress... Populate Ore Dictionary
Tanks
- Done. Create tanks template.
- Done. Tank image truncation script.
- Done. Tank image helper.
Crafting Grids
- Done. Create "cells" metatemplate for crafting grid creation.
- Done. Create "tanks" metatemplate for crafting grid creation.
- Done. Create a crafting grid metatemplate.
- In progress... Recreate all crafting grids.
- Done. Create documentation cell.
Cleanup
- In progress... Move new templates into position.
- Pending... Bot: Convert old template to new templates.
- Pending... Unprotect crafting grid templates.
- Pending... Document templates.
- Pending... Update templates associated with grids. (Infoboxes)
Crafting grids
- Add link.
{{Cg/Alloy Furnace}}
creates a crafting grid for the Alloy Furnace. - Add link.
{{Cg/Alloy Smelter}}
creates a crafting grid for the Allow Smelter. - Add link.
{{Cg/Assembling Machine}}
creates a crafting grid for the Assembling Machine. - Add link.
{{Cg/Automatic Canning Machine}}
creates a crafting grid for the Automatic Canning Machine. - Add link.
{{Cg/Automatic Wiremill}}
creates a crafting grid for the Automatic Wiremill. - Add link.
{{Cg/Canning Machine}}
creates a crafting grid for the Canning Machine. - Done.
{{Cg/Carpenter}}
creates a crafting grid for the Carpenter. - Add link.
{{Cg/Centrifuge}}
creates a crafting grid for the Centrifuge. - Add link.
{{Cg/Chemical Reactor}}
creates a crafting grid for the Chemical Reactor. - Add link.
{{Cg/Coke Oven}}
creates a crafting grid for the Coke Oven. - Pending...
{{Grid/Compressor}}
creates a crafting grid for the Compressor. - Won't create.
{{Grid/Crafting Table}}
creates a crafting grid for the Crafting Table. - Done.
{{Cg/Crafting Table}}
creates an alternative crafting grid for the Crafting Table. - Add link.
{{Cg/Distillation Tower}}
creates a crafting grid for the Distillation Tower. - Pending...
{{Grid/Extractor}}
creates a crafting grid for the Extractor. - Done.
{{Grid/Furnace}}
creates a crafting grid for the Furnace. - Add link.
{{Cg/Fusion Reactor}}
creates a crafting grid for the Fusion Reactor. - Add link.
{{Cg/Implosion Compressor}}
creates a crafting grid for the Implosion Compressor. - Pending...
{{Grid/Induction Smelter}}
creates a crafting grid for the Induction Smelter. - Add link.
{{Cg/Industrial Blast Furnace}}
creates a crafting grid for the Industrial Blast Furnace. - Pending...
{{Grid/Industrial Centrifuge}}
creates a crafting grid for the Industrial Centrifuge. - Pending...
{{Grid/Industrial Electrolyzer}}
creates a crafting grid for the Industrial Electrolyzer. - Add link.
{{Cg/Industrial Grinder}}
creates a crafting grid for the Industrial Grinder. - Add link.
{{Cg/Industrial Sawmill}}
creates a crafting grid for the Industrial Sawmill. - Pending...
{{Grid/Liquid Transposer}}
creates a crafting grid for the Liquid Transposer. - Pending...
{{Grid/Macerator}}
creates a crafting grid for the Macerator. - Pending...
{{Grid/Magma Crucible}}
creates a crafting grid for the Magma Crucible. - Add link.
{{Cg/Plate Bending Machine}}
creates a crafting grid for the Plate Bending Machine. - Pending...
{{Grid/Powered Furnace}}
creates a crafting grid for the Power Furnace. - Pending...
{{Grid/Pulverizer}}
creates a crafting grid for the Pulverizer. - Pending...
{{Grid/Rolling Machine}}
creates a crafting grid for the Rolling Machine. - Pending...
{{Grid/Sawmill}}
creates a crafting grid for the Sawmill. - Pending...
{{Grid/Squeezer}}
creates a crafting grid for the Squeezer. - Pending...
{{Grid/Thermionic Fabricator}}
creates a crafting grid for the Thermionic Fabricator. - Add link.
{{Cg/Vacuum Freezer}}
creates a crafting grid for the Vacuum Freezer.
Crafting grids documentation
- Pending...
{{Grid/Alloy Furnace}}
creates a crafting grid for the Alloy Furnace. - Pending...
{{Grid/Alloy Smelter}}
creates a crafting grid for the Allow Smelter. - Pending...
{{Grid/Assembling Machine}}
creates a crafting grid for the Assembling Machine. - Pending...
{{Grid/Automatic Canning Machine}}
creates a crafting grid for the Automatic Canning Machine. - Pending...
{{Grid/Automatic Wiremill}}
creates a crafting grid for the Automatic Wiremill. - Pending...
{{Grid/Canning Machine}}
creates a crafting grid for the Canning Machine. - Pending...
{{Grid/Carpenter}}
creates a crafting grid for the Carpenter. - Pending...
{{Grid/Centrifuge}}
creates a crafting grid for the Centrifuge. - Pending...
{{Grid/Chemical Reactor}}
creates a crafting grid for the Chemical Reactor. - Pending...
{{Cg/Coke Oven}}
creates a crafting grid for the Coke Oven. - Pending...
{{Grid/Compressor}}
creates a crafting grid for the Compressor. - Won't create.
{{Grid/Crafting Table}}
creates a crafting grid for the Crafting Table. - Pending...
{{Grid/Crafting Table2}}
creates an alternative crafting grid for the Crafting Table. - Pending...
{{Grid/Distillation Tower}}
creates a crafting grid for the Distillation Tower. - Pending...
{{Grid/Extractor}}
creates a crafting grid for the Extractor. - Pending...
{{Grid/Furnace}}
creates a crafting grid for the Furnace. - Pending...
{{Grid/Fusion Reactor}}
creates a crafting grid for the Fusion Reactor. - Pending...
{{Grid/Implosion Compressor}}
creates a crafting grid for the Implosion Compressor. - Pending...
{{Grid/Induction Smelter}}
creates a crafting grid for the Induction Smelter. - Pending...
{{Grid/Industrial Blast Furnace}}
creates a crafting grid for the Industrial Blast Furnace. - Pending...
{{Grid/Industrial Centrifuge}}
creates a crafting grid for the Industrial Centrifuge. - Pending...
{{Grid/Industrial Electrolyzer}}
creates a crafting grid for the Industrial Electrolyzer. - Pending...
{{Grid/Industrial Grinder}}
creates a crafting grid for the Industrial Grinder. - Pending...
{{Grid/Industrial Sawmill}}
creates a crafting grid for the Industrial Sawmill. - Pending...
{{Grid/Liquid Transposer}}
creates a crafting grid for the Liquid Transposer. - Pending...
{{Grid/Macerator}}
creates a crafting grid for the Macerator. - Pending...
{{Grid/Magma Crucible}}
creates a crafting grid for the Magma Crucible. - Pending...
{{Grid/Plate Bending Machine}}
creates a crafting grid for the Plate Bending Machine. - Pending...
{{Grid/Powered Furnace}}
creates a crafting grid for the Power Furnace. - Pending...
{{Grid/Pulverizer}}
creates a crafting grid for the Pulverizer. - Pending...
{{Grid/Rolling Machine}}
creates a crafting grid for the Rolling Machine. - Pending...
{{Grid/Sawmill}}
creates a crafting grid for the Sawmill. - Pending...
{{Grid/Squeezer}}
creates a crafting grid for the Squeezer. - Pending...
{{Grid/Thermionic Fabricator}}
creates a crafting grid for the Thermionic Fabricator. - Pending...
{{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.
- Jinbobo (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}}
- Animation/slideshow wrapper{{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{{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.
Prototypes
Working prototypes
Future code example
Single crafting grids
This is what the code to create single crafting grids will look like in the future.
{{Furnace |I={{G|Oak Wood}} |O={{G|Charcoal}} |F={{G|Oak Wood Planks|tooltiptext=$1<br><span class="tcAspectTooltipDesc">Can smelt 1.5 items.</span>}} }}
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).
- {{G|Oak Wood}} and {{G|Oak Wood Planks|...}}: A animation will display ore dict compatible items.
- {{G|Oak Wood Planks|tooltiptext=$1<br><span class="tcAspectTooltipDesc">Can smelt 1.5 items.</span>}}: 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.
{{Furnace |I={{G|Oak Wood|16}}{{G|Clay|9}} |O={{G|Charcoal|16}}{{G|Brick|9}} |F={{G|Charcoal|2|tooltiptext=Charcoal<br><span class="tcAspectTooltipDesc">Can smelt 8 items.</span>}}{{G|Oak Wood Planks|6|tooltiptext=$1<br><span class="tcAspectTooltipDesc">Can smelt 1.5 items.</span>}} }}
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.
{{Crafting grid/Start}} {{Crafting grid/Image|Link to image|style=Additional styles|class=Additional classes}} {{Crafting grid/Cell|{{{1|{{{A1}}} }}}|X position|Y position|style=Additional styles|class=Additional classes}} ... {{Crafting grid/Cell|{{{9|{{{C3}}} }}}|X position|Y position|style=Additional styles|class=Additional classes}} ... {{Crafting grid/Tank|{{{liquid}}}|X position|Y position|style=Additional styles|class=Additional classes}} {{Crafting grid/End}}