Difference between revisions of "Template:Bd/doc"

From StarMade Wiki
m (1 version)
m (2 revisions imported)
 
(No difference)

Latest revision as of 17:01, 8 July 2016

Pulls a data value for the current block from the data page (currently /blockdata under the block page.) Can only be used from the block page or a template transcluded from it. This template is the basis for blockdata-using templates

Usage

{{bd | param_name}}

Other block data templates

There are several additional templates under this one which help with pulling data.

bd/info 
Creates a standard infobox for the block.
bd/mfg 
Creates the manufacturing infobox for the block.
bd/stdblock 
Creates a simple, complete block page with the description pulled from the data.
bd/stdmfg 
Creates a standard Manufacture section for a block page