Template:GetCaseStats

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.

The getCaseStats function is used by all three Vehicle Database formatters. It returns all the cases a given release has appeared in.

Parameters

Name Type Description
namestring string The five-digit product number (or placeholder) string, for which to match against each "Contents" field in the Cases table.
asst string Raw assortment number to match against "Item_Number" column
year string Raw year value to match against "Year" column