Template:Bd

From StarMade Wiki

Revision as of 10:05, 29 December 2014 by ChronosWS (talk) (Add second parameter passed to block data)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Bd/blockdata

[view] [edit] [history] [[[:Template:Purge]]] 50px Template documentation

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