Template:BlockList/doc

Usage
Template:BlockList is used to list blocks. This template is mainly used under the blocks section on dimension pages.

Parameters
The template can host the following arguments:

Explanation of parameters
Template:BlockList has three parameters, natural, foliage, and structures. Each of these parameters corresponds to a header in the template:

natural corresponds to Naturally generating, foliage corresponds to Foliage, and structures corresponds to Generates in structures.

To fill the sections with blocks, you must insert Template:BRow into the parameter like so:

An example of what this could look like is as follows:

The above code produces the following:

You have to use Template:BRow when adding blocks to the list, otherwise it will not work.

For a full list of parameters for Template:BRow, see the below section.

Template:BRow
Template:BRow is a template built to be used specifically inside Template:BlockList. It is not intended to be used on its own.

Template:BRow has its own set of parameters that can be set to change the rows in Template:BlockList.

Template:BRow can have the following parameters:

Explanation of parameters

 * name - sets the link destination of the hyperlink in the template. This parameter is required.
 * If the imgname parameter is not set, it will set the image name to be the same as the hyperlink destination.
 * If the lnkname parameter is not set, it will set the hyperlink to use the name of the hyperlink destination.
 * imgname - sets the name of the image. This can be used when a image is not associated with a name. If this parameter is not set, the image name will be whatever the name parameter is set to.
 * imgsize - sets the size of the image. Size must be a number with the letters px attached on the end, otherwise it becomes an image description. If not set, image size defaults to 32px.
 * format - sets the file format of the image. Can be any applicable file format (png, gif, etc). If not set, image file format defaults to png.
 * lnkname - sets the name of the hyperlink. This can be used when a page title is different than the name of the object being linked (such as a merged article). If this parameter is not set, the hyperlink text will be whatever the name parameter is set to.

An example of the parameters in use is described below:

The above code produces the following:

The parameters are set to make an image of "Deep Rock", with a link that reads "Crystevia Rock", that when clicked on leads to a page called "Gardencia Stone".