Template:Card wall start

From The Museum of Human Achievement

A helper template to start a card wall. The template call must be followed by N instances of cards and end with the closing div (or use {{End}})

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
ID1

A prefix that will be used to generate the card wall wrapper ID

Stringoptional
Notes
  • The ID must be unique per page. The id has meaning only if you have multiple walls on the same page. Otherwise, omit it, and the default id will be used.
  • The template will add -wall-scrollable to the provided value.
  • On smaller screens, the horizontal scrolling controls will be added automatically.
Example
{{Card wall start|opportunity}}
... # opportunity card templates go here
{{End}}
Rendered HTML (approximation)
<div id="opportunity-wall-scrollable">
... # opportunity card templates go here
</div>