Guide:Weapon playthroughs/weaponsbox
This page is used for displaying a collapsible box with a list of weapons on the base page, Guide:Weapon playthroughs.
It automatically displays all weapons of a specified type (defined in the $weapontype
parameter). This parameter is optional, and manual additions can be made via the unnamed parameters. The $title
parameter can be used to customize the title of the box, otherwise $weapontype
will be used if not omitted. Set $longtitle
to y
/yes
if the title is so long that it overlaps the "Expand/Collapse" text. By default, the box is expanded initially; set the $collapsed
parameter to cause it to be collapsed initially. The $class
and $css
/$style
parameters allow further customization.
The $width
parameter defines the width of each item; the default is 14em
. Increase this to account for long item names which would otherwise be cut off. To display the items in two columns, set the box's max-width
attribute via $css
/$style
, e.g. |width=15em|style=max-width:33em
.