Template:Infobox

From Brickipedia, the LEGO Wiki
Revision as of 11:08, 25 August 2011 by UltrasonicNXT (talk | contribs)

This template is the mother of all infoboxes. It has room for 9 normal cells, two collapsable plus a title and an image. More cells can be added quite easily. Each normal cells has three parameters, "String(-Collapse)-X", "Name(-Collapse)-X", and "Content(-Collapse)-X" ("X" stands for the number of the cell, 1 being at the top, and 9 at the bottom.) The "Name-X" parameter defines what is on the left of the infobox, eg. "Minifigures:" or "Year:". The "Content-X" parameter will show what is on the right side, eg. "2001" or "5896". This will be given as another string in the Infobox template, eg. "{{{Year}}}" or "{{{Appearances}}}". Finally, the "String-X" parameter will be used to make the cell disappear if no value is given. The cell will disappear if this parameter is empty, and stay if any value is given (spaces do not count).