Template:Green NCAP/doc

Usage
Template will display Green NCAP score for the car. Current version uses 5 point scale.

Individual scores (HC, CO, NOx, PN and Energy Efficiency) are inputted as integer as follows:
 * 0 - Grey medal icon blank.svg n.a.
 * 1 - Red medal icon blank.svg poor
 * 2 - Brown medal icon blank.svg weak
 * 3 - Orange medal icon blank.svg marginal
 * 4 - Gold medal icon blank.svg adequate
 * 5 - Green medal icon blank.svg good

Template Data
{ "description": "Insert Green NCAP scores into the articles", "params": { "description": { "label": "Car name", "description": "Car brand and model name, as visible on the Green NCAP name", "type": "string", "example": "Hyundai Ioniq", "required": true },   "year": { "label": "Year", "description": "Model year, if not sure, it can be found on the cover of the PDF report", "type": "number", "example": "2019", "required": true },   "version": { "label": "Version", "description": "Version, appearing as a subtitle on the website", "type": "string", "example": "Electric 4x2", "required": false },   "url": { "label": "URL", "description": "URL to the website, will be used for the reference", "type": "string", "example": "https://www.greenncap.com/assessments/hyundai-iconiq-electric-4x2/", "suggested": true },   "ref_year": { "label": "Year of Publication", "description": "Year of Publication as found on the assessment website, required if url is used", "type": "number", "example": "2019", "suggested": true },   "overall_stars": { "label": "Overall rating", "description": "Number of stars received", "type": "number", "example": "2", "required": true },   "Clean_Air_Index": { "label": "Clean Air Index", "description": "Out of 10", "type": "number", "example": "10", "required": true },   "Lab_tests": { "label": "Lab tests", "description": "Clean air Laboratory Tests, medal beside the header, on a scale 0-5", "type": "number", "example": "5", "required": false },   "Cold_test_score": { "label": "Cold test score", "description": "0-9", "type": "number", "example": "8.3", "required": false },   "Cold_test_HC": { "label": "Cold test HC result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Cold_test_CO": { "label": "Cold test CO result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Cold_test_NOX": { "label": "Cold test NOx result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Cold_test_PN": { "label": "Cold test PN result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "4", "required": false },   "Warm_test_score": { "label": "Warm test score", "description": "0-3", "type": "number", "example": "3", "required": false },   "Warm_test_HC": { "label": "Warm test HC result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Warm_test_CO": { "label": "Warm test CO result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Warm_test_NOX": { "label": "Warm test NOx result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Warm_test_PN": { "label": "Warm test PN result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Eco_mode_score": { "label": "Eco mode score", "description": "0-3", "type": "number", "example": "8.3", "required": false },   "Eco_mode_HC": { "label": "Eco mode HC result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Eco_mode_CO": { "label": "Eco mode CO result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Eco_mode_NOX": { "label": "Eco mode NOx result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Eco_mode_PN": { "label": "Eco mode PN result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Sport_mode_score": { "label": "Sport Mode score", "description": "0-3", "type": "number", "example": "8.3", "required": false },   "Sport_mode_HC": { "label": "Sport Mode HC result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Sport_mode_CO": { "label": "Sport Mode CO result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Sport_mode_NOX": { "label": "Sport Mode NOx result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Sport_mode_PN": { "label": "Sport Mode PN result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Highway_score": { "label": "Highway score", "description": "0-9", "type": "number", "example": "8.3", "required": false },   "Highway_HC": { "label": "Highway HC result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Highway_CO": { "label": "Highway CO result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Highway_NOX": { "label": "Highway NOx result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Highway_PN": { "label": "Highway PN result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "4", "required": false },   "Road_tests": { "label": "Road tests", "description": "Clean air Road Tests, medal beside the header, on a scale 0-5", "type": "number", "example": "5", "required": false },   "OnRoad_drive_score": { "label": "On-Road drive score", "description": "0-7", "type": "number", "example": "8.3", "required": false },   "OnRoad_drive_HC": { "label": "On-Road drive HC result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "OnRoad_drive_CO": { "label": "On-Road drive CO result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "OnRoad_drive_NOX": { "label": "On-Road drive NOx result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "OnRoad_drive_PN": { "label": "On-Road drive PN result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Robustness": { "label": "Robustness", "description": "Clean air Robustness, medal beside the header, on a scale 0-5", "type": "number", "example": "4", "required": false },   "Energy_Efficiency_Index": { "label": "Energy Efficiency Index", "description": "Out of 10", "type": "number", "example": "8.5", "required": true },   "Lab_tests_energy": { "label": "Lab tests (EEI)", "description": "Energy Efficiency Index Laboratory Tests, medal beside the header, on a scale 0-5", "type": "number", "example": "5", "required": false },   "Cold_test_energy_score": { "label": "Cold test score (EEI)", "description": "0-9", "type": "number", "example": "8.8", "required": false },   "Cold_test_EE": { "label": "Cold test Energy Efficiency result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Warm_test_energy_score": { "label": "Warm test score (EEI)", "description": "0-3", "type": "number", "example": "8.8", "required": false },   "Warm_test_EE": { "label": "Warm test Energy Efficiency result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Eco_mode_energy_score": { "label": "Eco mode score (EEI)", "description": "0-3", "type": "number", "example": "8.8", "required": false },   "Eco_mode_EE": { "label": "Eco mode Energy Efficiency result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Sport_mode_energy_score": { "label": "Sport mode score (EEI)", "description": "0-3", "type": "number", "example": "8.8", "required": false },   "Sport_mode_EE": { "label": "sport mode Energy Efficiency result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false },   "Highway_energy_score": { "label": "Highway score (EEI)", "description": "0-10", "type": "number", "example": "8.8", "required": false },   "Highway_EE": { "label": "Highway Energy Efficiency result", "description": "0 = n.a. to 5 = good", "type": "number", "example": "5", "required": false } } }