User:Jinbobo/grid foreach

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

Documentation for #grid_foreach[edit]

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!...

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