Template:Series box

From Halopedia, the Halo wiki

vde
Template Documentation

The Series Box is a template that allows for the placement of a right-aligned box that displays links to other, similar articles. It is similar in function to a Navbox, though for more distinctly-related articles. This template is a parent template which can be used to create boxes that may be placed on articles.

Overview

To create a series box, use the following code:

{{Series box
|name = 
|image = 
|title = 
|state = 
|group1 = 
|content1-col= 
|content1 = 
|group2 = 
|content2-col= 
|content2 = 
|below = 
}}

Parameters

The series box has the following parameters.

  • name = - required; this should be the name of the template page.
  • image = - optional; this should be the name of an image file (without the File: prefix). All formatting is handled within the template, defaulting to 100px width. Recommend square aspect ratio images for this.
  • title = - required; This is used to list (to the reader) what the box is about. Content in this field is formatted in bold.
  • state = - optional; this parameter is used to determine if the boxes within the template are collapsed by default or not. There are three parameters that can be applied in here:
    • state = open - makes it so that the boxes are collapsible, but open by default.
    • state = plain - removes the boxes entirely and all collapsing functionality.
    • Any other input, or not including the state = parameter at all, will default to having the boxes collapsed by default.
  • group1 = - optional; this determines the title of the first section.
  • content1-col = - optional; this must be a numerical input; no input at all defaults to 1. Determines how many columns are in the box, though going above 2 is not recommended.
  • content1 = - mandatory; the content inside the box.
    • More boxes can be added by changing group1 to group2, group3, and so forth.
  • below = - optional; used to display small text at the bottom of the box.

Dependencies

Templates using this parent can be viewed here.