Difference between revisions of "Template:Green NCAP/doc"
imported>SkywalkerPL (→Usage: Added version, fixed year, added example) |
imported>Rchard2scout m (fix syntax error in json) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
Template will display [[Green NCAP]] score for the car. Current version uses 5 point [[File:Star Green.svg|10px]][[File:Star Green.svg|10px]][[File:Star Green.svg|10px]][[File:Star empty.svg|10px]][[File:Star empty.svg|10px]] scale. | Template will display [[Green NCAP]] score for the car. Current version uses 5 point [[File:Star Green.svg|10px]][[File:Star Green.svg|10px]][[File:Star Green.svg|10px]][[File:Star empty.svg|10px]][[File:Star empty.svg|10px]] scale. | ||
| − | + | Individual scores (HC, CO, NOx, PN and Energy Efficiency) are inputted as integer as follows: | |
| − | * [[File:Grey medal icon blank.svg |10px]] n.a. | + | * 0 - [[File:Grey medal icon blank.svg |10px]] n.a. |
| − | * [[File: | + | * 1 - [[File:Red medal icon blank.svg |10px]] poor |
| − | * [[File: | + | * 2 - [[File:Brown medal icon blank.svg |10px]] weak |
| − | * [[File:Orange medal icon blank.svg |10px]] marginal | + | * 3 - [[File:Orange medal icon blank.svg |10px]] marginal |
| − | * [[File: | + | * 4 - [[File:Gold medal icon blank.svg |10px]] adequate |
| − | * [[File: | + | * 5 - [[File:Green medal icon blank.svg |10px]] good |
===Example=== | ===Example=== | ||
| Line 45: | Line 45: | ||
}} | }} | ||
| + | | Code | ||
| + | | <pre> | ||
| + | <nowiki>{{Green NCAP| | ||
| + | description=VW Up!| | ||
| + | version=GTI 4x2 manual| | ||
| + | year=2019| | ||
| + | url=https://www.greenncap.com/assessments/vw-up-gti-4x2-manual/| | ||
| + | ref_year=2019| | ||
| + | overall_stars=4| | ||
| + | Clean_Air_Index=9.2| | ||
| + | Lab_tests=4| | ||
| + | Cold_test_score=8.3| | ||
| + | Cold_test_HC=5| | ||
| + | Cold_test_CO=5| | ||
| + | Cold_test_NOX=5| | ||
| + | Cold_test_PN=4| | ||
| + | Warm_test_score=3.0| | ||
| + | Warm_test_HC=5| | ||
| + | Warm_test_CO=5| | ||
| + | Warm_test_NOX=5| | ||
| + | Warm_test_PN=5| | ||
| + | Eco_mode_score=3.0| | ||
| + | Eco_mode_HC=5| | ||
| + | Eco_mode_CO=5| | ||
| + | Eco_mode_NOX=5| | ||
| + | Eco_mode_PN=5| | ||
| + | Sport_mode_score=3.0| | ||
| + | Sport_mode_HC=5| | ||
| + | Sport_mode_CO=5| | ||
| + | Sport_mode_NOX=5| | ||
| + | Sport_mode_PN=5| | ||
| + | Highway_score=7.0| | ||
| + | Highway_HC=5| | ||
| + | Highway_CO=2| | ||
| + | Highway_NOX=5| | ||
| + | Highway_PN=3| | ||
| + | Road_tests=5| | ||
| + | OnRoad_drive_score=7.0| | ||
| + | OnRoad_drive_HC=0| | ||
| + | OnRoad_drive_CO=5| | ||
| + | OnRoad_drive_NOX=5| | ||
| + | OnRoad_drive_PN=5| | ||
| + | Robustness=4| | ||
| + | Energy_Efficiency_Index=6.7| | ||
| + | Lab_tests_energy=4| | ||
| + | Cold_test_energy_score=8.8| | ||
| + | Cold_test_EE=4| | ||
| + | Warm_test_energy_score=2.7| | ||
| + | Warm_test_EE=4| | ||
| + | Eco_mode_energy_score=2.7| | ||
| + | Eco_mode_EE=4| | ||
| + | Sport_mode_energy_score=2.7| | ||
| + | Sport_mode_EE=4| | ||
| + | Highway_energy_score=5.7| | ||
| + | Highway_EE=3| | ||
| + | }}</nowiki> | ||
| + | </pre> | ||
| + | |||
| + | | Result | ||
| + | | | ||
| + | {{Green NCAP| | ||
| + | description=VW Up!| | ||
| + | version=GTI 4x2 manual| | ||
| + | year=2019| | ||
| + | url=https://www.greenncap.com/assessments/vw-up-gti-4x2-manual/| | ||
| + | ref_year=2019| | ||
| + | overall_stars=4| | ||
| + | Clean_Air_Index=9.2| | ||
| + | Lab_tests=4| | ||
| + | Cold_test_score=8.3| | ||
| + | Cold_test_HC=5| | ||
| + | Cold_test_CO=5| | ||
| + | Cold_test_NOX=5| | ||
| + | Cold_test_PN=4| | ||
| + | Warm_test_score=3.0| | ||
| + | Warm_test_HC=5| | ||
| + | Warm_test_CO=5| | ||
| + | Warm_test_NOX=5| | ||
| + | Warm_test_PN=5| | ||
| + | Eco_mode_score=3.0| | ||
| + | Eco_mode_HC=5| | ||
| + | Eco_mode_CO=5| | ||
| + | Eco_mode_NOX=5| | ||
| + | Eco_mode_PN=5| | ||
| + | Sport_mode_score=3.0| | ||
| + | Sport_mode_HC=5| | ||
| + | Sport_mode_CO=5| | ||
| + | Sport_mode_NOX=5| | ||
| + | Sport_mode_PN=5| | ||
| + | Highway_score=7.0| | ||
| + | Highway_HC=5| | ||
| + | Highway_CO=2| | ||
| + | Highway_NOX=5| | ||
| + | Highway_PN=3| | ||
| + | Road_tests=5| | ||
| + | OnRoad_drive_score=7.0| | ||
| + | OnRoad_drive_HC=0| | ||
| + | OnRoad_drive_CO=5| | ||
| + | OnRoad_drive_NOX=5| | ||
| + | OnRoad_drive_PN=5| | ||
| + | Robustness=4| | ||
| + | Energy_Efficiency_Index=6.7| | ||
| + | Lab_tests_energy=4| | ||
| + | Cold_test_energy_score=8.8| | ||
| + | Cold_test_EE=4| | ||
| + | Warm_test_energy_score=2.7| | ||
| + | Warm_test_EE=4| | ||
| + | Eco_mode_energy_score=2.7| | ||
| + | Eco_mode_EE=4| | ||
| + | Sport_mode_energy_score=2.7| | ||
| + | Sport_mode_EE=4| | ||
| + | Highway_energy_score=5.7| | ||
| + | Highway_EE=3| | ||
| + | }} | ||
}}<!--(end Aligned table)--> | }}<!--(end Aligned table)--> | ||
{{reflist}} | {{reflist}} | ||
| Line 52: | Line 166: | ||
}}</includeonly> | }}</includeonly> | ||
| + | ===Template Data=== | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 104: | Line 219: | ||
"example": "10", | "example": "10", | ||
"required": true | "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": { | "Energy_Efficiency_Index": { | ||
| Line 112: | Line 458: | ||
"required": true | "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 | ||
| + | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 10:09, 11 October 2019
| This is a documentation subpage for Template:Green NCAP. It contains usage information, categories and other content that is not part of the original template page. |
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:
Example
Script error: No such module "aligned table".
Template Data
Insert Green NCAP scores into the articles
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Car name | description | Car brand and model name, as visible on the Green NCAP name
| String | required |
| Year | year | Model year, if not sure, it can be found on the cover of the PDF report
| Number | required |
| Version | version | Version, appearing as a subtitle on the website
| String | optional |
| URL | url | URL to the website, will be used for the reference
| String | suggested |
| Year of Publication | ref_year | Year of Publication as found on the assessment website, required if url is used
| Number | suggested |
| Overall rating | overall_stars | Number of stars received
| Number | required |
| Clean Air Index | Clean_Air_Index | Out of 10
| Number | required |
| Lab tests | Lab_tests | Clean air Laboratory Tests, medal beside the header, on a scale 0-5
| Number | optional |
| Cold test score | Cold_test_score | 0-9
| Number | optional |
| Cold test HC result | Cold_test_HC | 0 = n.a. to 5 = good
| Number | optional |
| Cold test CO result | Cold_test_CO | 0 = n.a. to 5 = good
| Number | optional |
| Cold test NOx result | Cold_test_NOX | 0 = n.a. to 5 = good
| Number | optional |
| Cold test PN result | Cold_test_PN | 0 = n.a. to 5 = good
| Number | optional |
| Warm test score | Warm_test_score | 0-3
| Number | optional |
| Warm test HC result | Warm_test_HC | 0 = n.a. to 5 = good
| Number | optional |
| Warm test CO result | Warm_test_CO | 0 = n.a. to 5 = good
| Number | optional |
| Warm test NOx result | Warm_test_NOX | 0 = n.a. to 5 = good
| Number | optional |
| Warm test PN result | Warm_test_PN | 0 = n.a. to 5 = good
| Number | optional |
| Eco mode score | Eco_mode_score | 0-3
| Number | optional |
| Eco mode HC result | Eco_mode_HC | 0 = n.a. to 5 = good
| Number | optional |
| Eco mode CO result | Eco_mode_CO | 0 = n.a. to 5 = good
| Number | optional |
| Eco mode NOx result | Eco_mode_NOX | 0 = n.a. to 5 = good
| Number | optional |
| Eco mode PN result | Eco_mode_PN | 0 = n.a. to 5 = good
| Number | optional |
| Sport Mode score | Sport_mode_score | 0-3
| Number | optional |
| Sport Mode HC result | Sport_mode_HC | 0 = n.a. to 5 = good
| Number | optional |
| Sport Mode CO result | Sport_mode_CO | 0 = n.a. to 5 = good
| Number | optional |
| Sport Mode NOx result | Sport_mode_NOX | 0 = n.a. to 5 = good
| Number | optional |
| Sport Mode PN result | Sport_mode_PN | 0 = n.a. to 5 = good
| Number | optional |
| Highway score | Highway_score | 0-9
| Number | optional |
| Highway HC result | Highway_HC | 0 = n.a. to 5 = good
| Number | optional |
| Highway CO result | Highway_CO | 0 = n.a. to 5 = good
| Number | optional |
| Highway NOx result | Highway_NOX | 0 = n.a. to 5 = good
| Number | optional |
| Highway PN result | Highway_PN | 0 = n.a. to 5 = good
| Number | optional |
| Road tests | Road_tests | Clean air Road Tests, medal beside the header, on a scale 0-5
| Number | optional |
| On-Road drive score | OnRoad_drive_score | 0-7
| Number | optional |
| On-Road drive HC result | OnRoad_drive_HC | 0 = n.a. to 5 = good
| Number | optional |
| On-Road drive CO result | OnRoad_drive_CO | 0 = n.a. to 5 = good
| Number | optional |
| On-Road drive NOx result | OnRoad_drive_NOX | 0 = n.a. to 5 = good
| Number | optional |
| On-Road drive PN result | OnRoad_drive_PN | 0 = n.a. to 5 = good
| Number | optional |
| Robustness | Robustness | Clean air Robustness, medal beside the header, on a scale 0-5
| Number | optional |
| Energy Efficiency Index | Energy_Efficiency_Index | Out of 10
| Number | required |
| Lab tests (EEI) | Lab_tests_energy | Energy Efficiency Index Laboratory Tests, medal beside the header, on a scale 0-5
| Number | optional |
| Cold test score (EEI) | Cold_test_energy_score | 0-9
| Number | optional |
| Cold test Energy Efficiency result | Cold_test_EE | 0 = n.a. to 5 = good
| Number | optional |
| Warm test score (EEI) | Warm_test_energy_score | 0-3
| Number | optional |
| Warm test Energy Efficiency result | Warm_test_EE | 0 = n.a. to 5 = good
| Number | optional |
| Eco mode score (EEI) | Eco_mode_energy_score | 0-3
| Number | optional |
| Eco mode Energy Efficiency result | Eco_mode_EE | 0 = n.a. to 5 = good
| Number | optional |
| Sport mode score (EEI) | Sport_mode_energy_score | 0-3
| Number | optional |
| sport mode Energy Efficiency result | Sport_mode_EE | 0 = n.a. to 5 = good
| Number | optional |
| Highway score (EEI) | Highway_energy_score | 0-10
| Number | optional |
| Highway Energy Efficiency result | Highway_EE | 0 = n.a. to 5 = good
| Number | optional |