Template:Case

From Pixar Cars Wiki
Revision as of 09:12, 18 September 2024 by RodRedlineM1 (talk | contribs)
Jump to navigation Jump to search
This template defines the Cargo table "Cases".

View table.

Usage

This template is used to display the contents of a Mattel Disney Pixar Cars case assortment. In addition to some basic identification parameters, it takes a numbered list of every car in the case. Each item is then matched to its corresponding database entry, from which it retrieves the links and photo.

Intro

First, you must fill out information about the case itself:

  • |asst=, |code=, and |letter= - These correspond to the large nine-digit number on the box. Example:
DXV29 - 958 A
asst code letter

You'll also generally need to specify the |year=, ex. 2024

List of vehicles

Writing out the contents list is straightforward; list out the names in the format |carX=name (X = line number, i.e. car1, car2). Make sure repeats each have their own line (i.e. a case of 24 cars should *always* have 24 numbered lines)

Reasons a vehicle is not showing:

  1. It is not in the database at all: info for that release is missing from their vehicle page. Once you add it there, the case list automatically updates.
  2. It is in the database, but the pairing has failed. The most likely reasons for this are:
    • You will need to make sure the listed name matches what the sort name for the corresponding release is on its home vehicle page. By default, a release's sort name is equivalent to its home page name - if |sort_name= is placed in the {{vehicle infobox}}, that value then becomes the default for all – an individually assigned sort_name inside the {{vehicle row}} overrides both.
    • Their Assortment column is empty. Except for some multipacks, the assortment code is automatically retrieved depending on the Series (and recursively '''Year'''/'''Sub''') field inputs. This probably failed if the |format= parameter is either missing or incorrectly set. For most mainline series, the Single and 2-pack values return their respective assortments – however, Deluxe single releases must have |asst= set to Deluxe in source mode.
|count= Determines number of cars, 6 per row: 12 by default; 18 for three rows, 24 for four
|car1=
|car2=
 etc.
Put name of car, up to 24
|image1=
|image2=
 etc.
Image corresponding to car number
{{Mattel case assortment
|count = 12
|car1=   |image1=
|car2=   |image2=
|car3=   |image3=
|car4=   |image4=
|car5=   |image5=
|car6=   |image6=
|car7=   |image7=
|car8=   |image8=
|car9 =  |image9=
|car10=  |image10=
|car11=  |image11=
|car12=  |image12=
}}
{{Mattel case assortment
|count = 18
|car1=   |image1=
|car2=   |image2=
|car3=   |image3=
|car4=   |image4=
|car5=   |image5=
|car6=   |image6=
|car7=   |image7=
|car8=   |image8=
|car9 =  |image9=
|car10=  |image10=
|car11=  |image11=
|car12=  |image12=
|car13=  |image13=
|car14=  |image14=
|car15=  |image15=
|car16=  |image16=
|car17=  |image17=
|car18=  |image18=
}}
{{Mattel case assortment
|count = 24
|car1=   |image1=
|car2=   |image2=
|car3=   |image3=
|car4=   |image4=
|car5=   |image5=
|car6=   |image6=
|car7=   |image7=
|car8=   |image8=
|car9 =  |image9=
|car10=  |image10=
|car11=  |image11=
|car12=  |image12=
|car13=  |image13=
|car14=  |image14=
|car15=  |image15=
|car16=  |image16=
|car17=  |image17=
|car18=  |image18=
|car19=  |image19=
|car20=  |image20=
|car21=  |image21=
|car22=  |image22=
|car23=  |image23=
|car24=  |image24=
}}