Template:Vehicle list
| Rules, info, and guidelines |
|---|
| Releases • Vehicles • Series • Cases Photos |
| Development notes |
| Foundation • Configuration |
This is the template used to generate a list of vehicles from the database. Per the overall design of the Diecast Project, this setup allows us to "call" and display data on multiple different pages, while only requiring one single edit to update it.
To use this template, you need to input the following:
{{Vehicle list
|type=Value
}}
Values include cast, series, and appearance. Each one requires their own additional parameters as detailed below.
Info
- Click
editnext to any data row to go directly to the corresponding entry.
Series lists
series |
component |
|series=
Add any of the following to narrow down your search as needed:
|segment=(use {{segment}} if more than one)|year=(add more with|yearX=)
asst, title for List of Mattel Disney Pixar Cars product assortments page/DB table
Appearance
appearance |
component |
|media=Name (no italics or links, just plain text i.e.Heavy Metal Mater)- To add country comparisons (China, Thailand, and/or Vietnam) do so with
|countryX=(1-3) followed by the name or abbreviation (CH,TH, orVN)
Columns
By default, each list type has its own pre-set columns to display. However, particularly with the series format, you may wish to pick and choose which ones should be added or removed.
|columnX=
Normal fields
- Photo
- Model Name
- Col. Number
- Year
- Series
- Segment
- Cast Number
- Country (Made In)
- Toy Number
- Asst. Number
- Case Number
- Notes
- Exclusive
Card displays
- Card / Card (V1)
- Card 2 / Card (V2)
- Card 3 / Card (V3)
Additional
- Format (
Single,2-packs,Multipack)
Presets
- Standard (default)
- Theme
Go in order except Case Number, Notes and Card(s), will go to end in that order
Configuration
Lastly, there are some settings to modify the behavior of the list itself.
|sort=sets which column defines the default display order; currently needed in SQL formatting (i.e.Segment,Toy_number, etc.)
|sort= Poster_ID can be used to sort by poster order; use {{poster sort}} to set (see here for example)
|card_size=changes the size of carded images. Set to an Integer followed by px (e.g. 150px, or to set a maximum height, 150x150px). Default100px|combine=whether similar rows should combine. Ideal for non-single releases. Defaultfalse|show_unreleased=whether unreleased vehicles should be included. Default isfalse.