Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
No edit summary
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&#93;]'''</div>
 
<div class="plainlinks" style="text-align:right">'''[http://wiki.feed-the-beast.com/index.php?title={{FULLPAGENAMEE}}&action=purge [Purge&#93;]'''</div>
{{Project:Template documentation project/Progress bar|29|40}}
+
{{Project:Template documentation project/Progress bar|31|42}}
 
* {{Status|alreadydone|Add link.}} {{Tl|Cg/Alloy Furnace}} creates a crafting grid for the [[Alloy Furnace]].
 
* {{Status|alreadydone|Add link.}} {{Tl|Cg/Alloy Furnace}} creates a crafting grid for the [[Alloy Furnace]].
 
* {{Status|done|Done.}} {{Tl|Cg/Alloy Smelter}} creates a crafting grid for the [[Allow Smelter]].
 
* {{Status|done|Done.}} {{Tl|Cg/Alloy Smelter}} creates a crafting grid for the [[Allow Smelter]].
Line 73: Line 73:
 
* {{Status|done|Done.}} {{Tl|Cg/Extractor}} creates a crafting grid for the [[Extractor]].
 
* {{Status|done|Done.}} {{Tl|Cg/Extractor}} creates a crafting grid for the [[Extractor]].
 
* {{Status|done|Done.}} {{Tl|Grid/Furnace}} creates a crafting grid for the [[Furnace]].
 
* {{Status|done|Done.}} {{Tl|Grid/Furnace}} creates a crafting grid for the [[Furnace]].
* {{Status|alreadydone|Add link.}} {{Tl|Cg/Fusion Reactor}} creates a crafting grid for the [[Fusion Reactor]].
+
* {{Status|done|Done.}} {{Tl|Cg/Fusion Reactor}} creates a crafting grid for the [[Fusion Reactor]].
 
* {{Status|done|Done.}} {{Tl|Cg/Implosion Compressor}} creates a crafting grid for the [[Implosion Compressor]].
 
* {{Status|done|Done.}} {{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]].
Line 81: Line 81:
 
* {{Status|done|Done.}} {{Tl|Cg/Industrial Grinder}} creates a crafting grid for the [[Industrial Grinder]].
 
* {{Status|done|Done.}} {{Tl|Cg/Industrial Grinder}} creates a crafting grid for the [[Industrial Grinder]].
 
* {{Status|done|Done.}} {{Tl|Cg/Industrial Sawmill}} creates a crafting grid for the [[Industrial Sawmill]].
 
* {{Status|done|Done.}} {{Tl|Cg/Industrial Sawmill}} creates a crafting grid for the [[Industrial Sawmill]].
  +
* {{Status|done|Done.}} {{Tl|Cg/Lathe}} creates a crafting grid for the [[Lathe]].
 
* {{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|done|Done.}} {{Tl|Cg/Macerator}} creates a crafting grid for the [[Macerator]].
 
* {{Status|done|Done.}} {{Tl|Cg/Macerator}} creates a crafting grid for the [[Macerator]].
Line 87: Line 88:
 
* {{Status|done|Done.}} {{Tl|Cg/Ore Washing Plant}} creates a crafting grid for the [[Ore Washing Plant]].
 
* {{Status|done|Done.}} {{Tl|Cg/Ore Washing Plant}} creates a crafting grid for the [[Ore Washing Plant]].
 
* {{Status|done|Done.}} {{Tl|Cg/Plate Bending Machine}} creates a crafting grid for the [[Plate Bending Machine]].
 
* {{Status|done|Done.}} {{Tl|Cg/Plate Bending Machine}} creates a crafting grid for the [[Plate Bending Machine]].
  +
* {{Status|done|Done.}} {{Tl|Cg/Plate Cutting Machine}} creates a crafting grid for the [[Place Cutting 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 100: Line 102:
 
== Crafting grids documentation ==
 
== Crafting grids documentation ==
 
<div class="plainlinks" style="text-align:right">'''[http://wiki.feed-the-beast.com/index.php?title={{FULLPAGENAMEE}}&action=purge [Purge&#93;]'''</div>
 
<div class="plainlinks" style="text-align:right">'''[http://wiki.feed-the-beast.com/index.php?title={{FULLPAGENAMEE}}&action=purge [Purge&#93;]'''</div>
{{Project:Template documentation project/Progress bar|1|40}}
+
{{Project:Template documentation project/Progress bar|1|42}}
 
* {{Status|wait|Pending...}} {{Tl|Grid/Alloy Furnace}} creates a crafting grid for the [[Alloy Furnace]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Alloy Furnace}} creates a crafting grid for the [[Alloy Furnace]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Alloy Smelter}} creates a crafting grid for the [[Allow Smelter]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Alloy Smelter}} creates a crafting grid for the [[Allow Smelter]].
Line 125: Line 127:
 
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Grinder}} creates a crafting grid for the [[Industrial Grinder]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Grinder}} creates a crafting grid for the [[Industrial Grinder]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Sawmill}} creates a crafting grid for the [[Industrial Sawmill]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Industrial Sawmill}} creates a crafting grid for the [[Industrial Sawmill]].
  +
* {{Status|wait|Pending...}} {{Tl|Cg/Lathe}} creates a crafting grid for the [[Lathe]].
 
* {{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]].
Line 131: Line 134:
 
* {{Status|wait|Pending...}} {{Tl|Cg/Ore Washing Plant}} creates a crafting grid for the [[Ore Washing Plant]].
 
* {{Status|wait|Pending...}} {{Tl|Cg/Ore Washing Plant}} creates a crafting grid for the [[Ore Washing Plant]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Plate Bending Machine}} creates a crafting grid for the [[Plate Bending Machine]].
 
* {{Status|wait|Pending...}} {{Tl|Grid/Plate Bending Machine}} creates a crafting grid for the [[Plate Bending Machine]].
  +
* {{Status|wait|Pending...}} {{Tl|Cg/Plate Cutting Machine}} creates a crafting grid for the [[Place Cutting 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]].

Revision as of 14:04, 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

 
72% (18/25)
72% (18/25)

Preparations

  • Yes checkDone. Protect crafting grid templates.

Code

  • Black checkAlready done. Code animation.
  • Yes checkDone. Code crafting grid controls.

Grid

  • Yes checkDone. Style grids.
  • Yes checkDone. Create grids template.

Animation

  • Yes checkDone. Create crafting grid controls to flip through different crafting recipes.
  • Yes checkDone. Create "activate animation" wrapping metatemplate.
  • Yes checkDone. Create "activate controls" wrapping metatemplate.

Tooltips

  • Yes checkDone. Code support for variables in tooltips.

Ore Dictionary

  • Yes checkDone. Create Ore Dictionary template
  • Yes checkDone. Create Ore Dictionary activation template
  • Yellow checkIn progress... Populate Ore Dictionary

Tanks

  • Yes checkDone. Create tanks template.
  • Yes checkDone. Tank image truncation script.
  • Yes checkDone. Tank image helper.

Crafting Grids

  • Yes checkDone. Create "cells" metatemplate for crafting grid creation.
  • Yes checkDone. Create "tanks" metatemplate for crafting grid creation.
  • Yes checkDone. Create a crafting grid metatemplate.
  • Yellow checkIn progress... Recreate all crafting grids.
  • Yes checkDone. Create documentation cell.

Cleanup

  • Yellow checkIn progress... Move new templates into position.
  • Pictogram voting waitPending... Bot: Convert old template to new templates.
  • Pictogram voting waitPending... Unprotect crafting grid templates.
  • Pictogram voting waitPending... Document templates.
  • Pictogram voting waitPending... Update templates associated with grids. (Infoboxes)

Crafting grids

 
73.8095% (31/42)
73.8095% (31/42)

Crafting grids documentation

 
2.381% (1/42)
2.381% (1/42)
  • Pictogram voting waitPending... {{Grid/Alloy Furnace}} creates a crafting grid for the Alloy Furnace.
  • Pictogram voting waitPending... {{Grid/Alloy Smelter}} creates a crafting grid for the Allow Smelter.
  • Pictogram voting waitPending... {{Grid/Assembling Machine}} creates a crafting grid for the Assembling Machine.
  • Pictogram voting waitPending... {{Grid/Automatic Canning Machine}} creates a crafting grid for the Automatic Canning Machine.
  • Pictogram voting waitPending... {{Grid/Automatic Wiremill}} creates a crafting grid for the Automatic Wiremill.
  • Pictogram voting waitPending... {{Grid/Canning Machine}} creates a crafting grid for the Canning Machine.
  • Pictogram voting waitPending... {{Grid/Carpenter}} creates a crafting grid for the Carpenter.
  • Pictogram voting waitPending... {{Grid/Centrifuge}} creates a crafting grid for the Centrifuge.
  • Pictogram voting waitPending... {{Grid/Chemical Reactor}} creates a crafting grid for the Chemical Reactor.
  • Pictogram voting waitPending... {{Cg/Coke Oven}} creates a crafting grid for the Coke Oven.
  • Pictogram voting waitPending... {{Grid/Compressor}} creates a crafting grid for the Compressor.
  • X markWon't create. {{Grid/Crafting Table}} creates a crafting grid for the Crafting Table.
  • Pictogram voting waitPending... {{Cg/Crafting Table}} creates an alternative crafting grid for the Crafting Table.
  • Pictogram voting waitPending... {{Grid/Distillation Tower}} creates a crafting grid for the Distillation Tower.
  • Pictogram voting waitPending... {{Grid/Extractor}} creates a crafting grid for the Extractor.
  • Pictogram voting waitPending... {{Grid/Furnace}} creates a crafting grid for the Furnace.
  • Pictogram voting waitPending... {{Grid/Fusion Reactor}} creates a crafting grid for the Fusion Reactor.
  • Pictogram voting waitPending... {{Grid/Implosion Compressor}} creates a crafting grid for the Implosion Compressor.
  • Pictogram voting waitPending... {{Grid/Induction Smelter}} creates a crafting grid for the Induction Smelter.
  • Pictogram voting waitPending... {{Grid/Industrial Blast Furnace}} creates a crafting grid for the Industrial Blast Furnace.
  • Pictogram voting waitPending... {{Grid/Industrial Centrifuge}} creates a crafting grid for the Industrial Centrifuge.
  • Pictogram voting waitPending... {{Grid/Industrial Electrolyzer}} creates a crafting grid for the Industrial Electrolyzer.
  • Pictogram voting waitPending... {{Grid/Industrial Grinder}} creates a crafting grid for the Industrial Grinder.
  • Pictogram voting waitPending... {{Grid/Industrial Sawmill}} creates a crafting grid for the Industrial Sawmill.
  • Pictogram voting waitPending... {{Cg/Lathe}} creates a crafting grid for the Lathe.
  • Pictogram voting waitPending... {{Grid/Liquid Transposer}} creates a crafting grid for the Liquid Transposer.
  • Pictogram voting waitPending... {{Grid/Macerator}} creates a crafting grid for the Macerator.
  • Pictogram voting waitPending... {{Grid/Magma Crucible}} creates a crafting grid for the Magma Crucible.
  • Pictogram voting waitPending... {{Cg/Metal Former}} creates a crafting grid for the Metal Former.
  • Pictogram voting waitPending... {{Cg/Ore Washing Plant}} creates a crafting grid for the Ore Washing Plant.
  • Pictogram voting waitPending... {{Grid/Plate Bending Machine}} creates a crafting grid for the Plate Bending Machine.
  • Pictogram voting waitPending... {{Cg/Plate Cutting Machine}} creates a crafting grid for the Place Cutting Machine.
  • Pictogram voting waitPending... {{Grid/Powered Furnace}} creates a crafting grid for the Power Furnace.
  • Pictogram voting waitPending... {{Grid/Pulverizer}} creates a crafting grid for the Pulverizer.
  • Pictogram voting waitPending... {{Cg/Printing Factory}} creates a crafting grid for the Printing Factory.
  • Pictogram voting waitPending... {{Cg/Recycler}} creates an alternative crafting grid for the Recycler.
  • Pictogram voting waitPending... {{Grid/Rolling Machine}} creates a crafting grid for the Rolling Machine.
  • Pictogram voting waitPending... {{Grid/Sawmill}} creates a crafting grid for the Sawmill.
  • Pictogram voting waitPending... {{Grid/Squeezer}} creates a crafting grid for the Squeezer.
  • Pictogram voting waitPending... {{Cg/Thermal Centrifuge}} creates a crafting grid for the Thermal Centrifuge.
  • Pictogram voting waitPending... {{Grid/Thermionic Fabricator}} creates a crafting grid for the Thermionic Fabricator.
  • Pictogram voting waitPending... {{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.

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
  • {{I}} - Creates a image wrapped in the span tag, used in crafting grids.
  • {{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}}