User:Jinbobo/grid foreach

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation

Documentation for #grid_foreach[edit | edit source]

The #grid_foreach parser function creates a grid for each item in a pipe separated list. The template does not make a grid animated to do that check {{N}}. Please do not include any double brackets in the template, the parser will skip parsing without warning if that happens.

Basic syntax: {{#grid_foreach:Item1|Item2|Item3|...}}.

Super advanced syntax: {{#grid_foreach:Item1!Param1ForItem1=ValueOfParam1ForItem1!Param2ForItem1=ValueOfParam2ForItem1!...
|Item2!Param1ForItem2=ValueOfParam1ForItem2!Param2ForItem2=ValueOfParam2ForItem2!...|...
|GlobalOverride1=>ValueOfGlobalOverride1|GlobalOverride2=>ValueOfGlobalOverride2|...}}

The pipes can be replaced by commas, they will be replaced by pipes at runtime, but please do not mix pipes with commas.