Template:Box tips/doc

The box tips template adds The templates Pro kit box statistics mini table and Pro kit box statistics mini table mincards provide a compact table of selected Pro Kit cards and their statistical distribution in the most common Pro Kit Boxes in Asphalt 8: Airborne.

Both templates have the same appearance and parameters, except that
 * Pro kit box statistics mini table displays average relative frequencies of cards per box, and
 * Pro kit box statistics mini table mincards displays the number of trials (revealed cards) a player needs until the desired card is obtained with a probability of at least 90 %.

The tables can be inserted on special event pages like R&D, Championship or other pages to help players obtain Pro Kits for a vehicle. They do not need any maintenance. All data is extracted from the included Pro kit box templates and updated automatically.

Pages containing these templates are categorized under Category:Pages containing WikiProject Statistics data.

Usage
gives

The indicator lights after the icons show the sample size for each box. See Sample size for details.

When one of the templates is inserted, the disclaimer Wikiproject statistics should also be added at the bottom of the page.

Parameters

 * – optional, defaults to
 * – optional, defaults to
 * – optional, text, will add an extra cell at the top of the table to display the text. One of the following variants: – displays "Average relative frequency (%) of a card per box"  – displays "Trials (cards) needed to get at least 1 card with 90 % probability"  – text to be displayed
 * – optional, string containing the first letters of the main card types, in any order, case-insensitive – Blueprints  – Engines  – Tech  – Parts Example:   would display Engines and Tech.
 * – optional, usually the official name without "engine", case-insensitive
 * – optional, string containing the first letters of all tech cards the vehicle needs, in any order, case-insensitive – Early Tech  – Initial Tech  – Mid-Tech  – Advanced Tech  – Common Tech  – Rare Tech  – Pro Tech Example:   would display Initial, Early and Mid-Tech.
 * – optional, string containing the letters of all classes, in any order, case-insensitive – Class D  – Class C (adds the  which contains only C-Class parts)  – Class B  – Class A  – Class S Example:   would display Class B, C and A.

Further example
The templates can also be used in Pro Kit Box articles, for example when general engine drop rates ( parameter) are compared with those of a specific engine.



With each other
Both templates can be combined with a tabber to save space on a page. There is a CSS class called "simpletabber" that can be assigned to an invisible wrapper table. The wrapper prevents the tabber from taking the whole width of the page. The design of the tabber fits the design of the tables, without extra lines or frames.



Please note that the  property of the tables inside the tabber has to be set to 0 in order to override the default setting of   and avoid extra space.

With other templates
On special event pages, the templates are usually shown together with Pro kit box guarantees which provides a list of boxes with guarantees for the specified cards. This can be done manually by adding Pro kit box guarantees and A8box table statistics mini/A8box table statistics mini mincards with the same,   and   parameters.

However, it is recommended to simply add box tips instead. This template combines all three templates with standard additional text and provides a ready-made, simple to use solution that is easy to add.

gives

Sub-templates
The templates use A8box table header statistics mini, A8box table statistics mini/A8box table statistics mini mincards and Pro kit box templates to build the table.

Adding boxes
New boxes (e. g. a box named New Box) can be added by inserting the following line at the correct place in the alphabetical order of the table:

New Box should only be included if its sample size has a status better than. Boxes with acceptable, good or excellent sample size can be found in
 * Category:Boxes with acceptable sample size,
 * Category:Boxes with good sample size,
 * Category:Boxes with excellent sample size.