Template:Euro NCAP/doc

From Simple English Wikipedia, the free encyclopedia

Usage[change source]

Parameter Purpose 1997-2003 2004-2008 2009-
year Year the test was done checkY checkY checkY
description Short description of the car, usually just the vehicle name checkY checkY checkY
align The table is displayed on the left/right with other text on the other side. Uses the entire line width if the align parameter is not present. checkY checkY checkY
reference Optional reference checkY checkY checkY
reference_name Optional reference name. Don't use space or '_' checkY checkY checkY
reference_code Optional reference code checkY
reference_url Optional reference URL checkY checkY
overall_stars Overall star rating checkY
adult_points Adult points checkY
adult_percent Adult percentage checkY
adult_stars Adult rating in stars checkY checkY
adult_score Adult score checkY checkY
child_points Child score checkY
child_percent Child percentage checkY
child_stars Child rating in stars checkY
child_score Child score checkY
pedestrian_points Pedestrian score checkY
pedestrian_percent Pedestrian percentage checkY
pedestrian_stars Pedestrian rating in stars checkY checkY
pedestrian_score Pedestrian score checkY checkY
safety_points Safety assist score checkY
safety_percent Safety assist percentage checkY

2009 onwards[change source]

Here is a reference that the next example will reuse.[1]

Euro NCAP test results
Ford Transit Custom (2011)
Test Points %
Overall: 5 /5 stars
Adult occupant: 30 84%
Child occupant: 44 90%
Pedestrian: 14 48%
Safety assist: 5 71%

The code for 2009 onwards tests (including safety assist)

{{Euro NCAP |year=2011 |overall_stars=5 |description=Ford Transit Custom |reference_name=ref2011 |adult_points=30 |adult_percent=84 |child_points=44 |child_percent=90 |pedestrian_points=14 |pedestrian_percent=48 |safety_points=5 |safety_percent=71 |align=right}}
Euro NCAP test results
Nissan Leaf (2011)[2]
Test Points %
Overall: 5 /5 stars
Adult occupant: 32 89%
Child occupant: 40 83%
Pedestrian: 23 65%
Safety assist: 6 84%

For 2009 onwards, you may use the Euro NCAP's reference code (usually a 3 digit number) instead of a full reference. The template will generate a full reference for you, complete with a link to the datasheet at euroncap.com, title (based on the description parameter), and the year of the test. If the 'reference_name' param is not supplied then the template will also generate a name so that you can use <ref name=EuroNCAPxxx/> where xxx is the Euro NCAP's reference code) in other places in the article. E.g.

{{Euro NCAP |year=2011 |overall_stars=5 |description=Nissan Leaf |reference_name=EuroNCAP |reference_code=432 |adult_points=32 |adult_percent=89 |child_points=40 |child_percent=83 |pedestrian_points=23 |pedestrian_percent=65 |safety_points=6 |safety_percent=84 |align=right}}

You can find the reference code by first finding the car on Euro NCAP's website. If you look at the URL it should look similar to http://www.euroncap.com/files/432_datasheet.pdf" . The number in the middle is the reference code, for this car it is 432.

2004–2008[change source]

For pre 2009 tests (without safety assist), specify the star parameters.

{{Euro NCAP |year=2007 |description=a sample car |reference=Reference created by the template for 2007 |reference_name=ref2007 |adult_stars=5 |adult_score=37 |child_stars=3 |child_score=27 |pedestrian_stars=1 |pedestrian_score=17 |align=right}}

For pre 2009, you may give the URL of Euro NCAP's web page instead of a full reference. The template will generate a full reference for you, complete with a link to the web page at euroncap.com, title (based on the description parameter), and the year of the test. If the 'reference_name' parameter is not supplied then the template will also generate a name so that you can use <ref name=EuroNCAPxxxx/> where xxxx is the year of the test) in other places in the article.

Here is a reference created by the template that gets reused.[3]

1997–2003[change source]

Very early tests (before 2004) can omit the child scores.

{{Euro NCAP |year=1998 |description=Toyota Corolla |reference_url=http://www.euroncap.com/tests/toyota_corolla_1998/43.aspx |reference_name=ref1998 |adult_stars=3 |adult_score=23 |pedestrian_stars=2 |pedestrian_score=15 |align=right}}

Another use of 1998 reference.[4]

  1. Reference created outside of the template
  2. "Euro NCAP results for Nissan Leaf" (PDF). euroncap.com. 2011.
  3. Cite error: The named reference ref2007 was used but no text was provided for refs named (see the help page).
  4. Cite error: The named reference ref1998 was used but no text was provided for refs named (see the help page).


No description.

Template parameters

ParameterDescriptionTypeStatus
alignalign

no description

Unknownoptional
yearyear

no description

Numberoptional
descriptiondescription

no description

Unknownoptional
referencereference

no description

Unknownoptional
reference_namereference_name

no description

Unknownoptional
reference_codereference_code

no description

Unknownoptional
overall_starsoverall_stars

no description

Unknownoptional
adult_pointsadult_points

no description

Unknownoptional
adult_percentadult_percent

no description

Unknownoptional
child_pointschild_points

no description

Unknownoptional
child_percentchild_percent

no description

Unknownoptional
pedestrian_pointspedestrian_points

no description

Unknownoptional
pedestrian_percentpedestrian_percent

no description

Unknownoptional
safety_pointssafety_points

no description

Unknownoptional
safety_percentsafety_percent

no description

Unknownoptional
reference_urlreference_url

no description

Unknownoptional
adult_starsadult_stars

no description

Unknownoptional
adult_scoreadult_score

no description

Unknownoptional
child_starschild_stars

no description

Unknownoptional
child_scorechild_score

no description

Unknownoptional
pedestrian_starspedestrian_stars

no description

Unknownoptional
pedestrian_scorepedestrian_score

no description

Unknownoptional


Usage[change source]

Related pages[change source]