Template:Case/setFormat

From Disney•Pixar CARS Wiki
Jump to navigation Jump to search
This template is a component of another, as to help organize (and/or optimize) a larger structure of code. It is not meant to be called individually and should never be placed into an article.

Per-format definitions for eventual {{caseBuilder}} output.

Parameters and variables

Parameter name Description Variable name
|type= Which overall output model to use: 2-pack, Multipack, or the default Single. {{#var:format}}
|item_size=
|item_height=
Default width/height in pixels (px) for one individual content within the larger display. {{#var:def_itemwidth}}
{{#var:def_itemheight}}
|width= Default width in pixels (px) for the overall display (on desktop). Should be equivalent to {{#var:item_divwidth}} times as many are desired to appear in each row. {{#var:def_divwidth}}