Template:Block/doc

This template provides a uniform design for block pages. &lt;onlyinclude&gt;&lt;/onlyinclude&gt;

Please note the unusual markup at the beginning and end; copy it verbatim if you are creating a new block page. Also note that if the item has multiple data values, use  instead of. See below:

Transcluding block pages
The unusual header  and footer are there so that block pages can be transcluded (used like templates) into other pages. Specifically, this allows the use of Safe get to get specific data fields out of the infobox header in the block page. Here's some examples:

Although transcluding non-template pages is somewhat unusual, doing it this way allows all the data properties for a block to be defined in the infobox header, next to each other, and right where most people will think to look for them. At the same time, it allows us to make tables of values for things like Blast Resistance and Hardness that auto-update whenever the main values are changed.

See Blast Resistance Table for a simple example of how to use this functionality to automatically build tables.