الگو:Euro NCAP/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

Usage[ویرایش]

Parameter Purpose 1997-2003 2004-2008 2009-
year Year the test was done ✔Y ✔Y ✔Y
description Short description of the car, usually just the vehicle name ✔Y ✔Y ✔Y
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. ✔Y ✔Y ✔Y
reference Optional reference ✔Y ✔Y ✔Y
reference_name Optional reference name. Don't use space or '_' ✔Y ✔Y ✔Y
reference_code Optional reference code ✔Y
reference_url Optional reference URL ✔Y ✔Y
overall_stars Overall star rating ✔Y
adult_points Adult points ✔Y
adult_percent Adult percentage ✔Y
adult_stars Adult rating in stars ✔Y ✔Y
adult_score Adult score ✔Y ✔Y
child_points Child score ✔Y
child_percent Child percentage ✔Y
child_stars Child rating in stars ✔Y
child_score Child score ✔Y
pedestrian_points Pedestrian score ✔Y
pedestrian_percent Pedestrian percentage ✔Y
pedestrian_stars Pedestrian rating in stars ✔Y ✔Y
pedestrian_score Pedestrian score ✔Y ✔Y
safety_points Safety assist score ✔Y
safety_percent Safety assist percentage ✔Y

2009 onwards[ویرایش]

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

نتایج آزمون یورو ان‌سی‌ای‌پی
Ford Transit Custom (۲۰۱۱)
آزمون امتیاز %
کل: 5/5 ستاره
سرنشین بالغ: 30 84%
سرنشین کودک: 44 90%
عابر پیاده: 14 48%
کمک ایمنی: 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}}
نتایج آزمون یورو ان‌سی‌ای‌پی
Nissan Leaf (۲۰۱۱)[۲]
آزمون امتیاز %
کل: 5/5 ستاره
سرنشین بالغ: 32 89%
سرنشین کودک: 40 83%
عابر پیاده: 23 65%
کمک ایمنی: 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_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[ویرایش]

نتایج آزمون یورو ان‌سی‌ای‌پی
a sample car (۲۰۰۷)[۳]
آزمون امتیاز رتبه
سرنشین بالغ: 37 5/5 ستاره
سرنشین کودک: 27 3/5 ستاره
عابر پیاده: 17 1/4 ستاره

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.[۳]

1997–2003[ویرایش]

نتایج آزمون یورو ان‌سی‌ای‌پی
Toyota Corolla (۱۹۹۸)[۴]
آزمون امتیاز رتبه
سرنشین بالغ: 23 3/5 ستاره
عابر پیاده: 15 2/4 ستاره

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.[۴]

  1. Reference created outside of the template
  2. "Euro NCAP results for Nissan Leaf" (PDF). euroncap.com. 2011.
  3. ۳٫۰ ۳٫۱ Reference created by the template for 2007
  4. ۴٫۰ ۴٫۱ "Euro NCAP results for Toyota Corolla". euroncap.com. 1998.


بدون توصیف.

پارامترهای الگو

پارامترتوضیحاتنوعوضعیت
alignalign

بدون توصیف

ناشناختهاختیاری
yearyear

بدون توصیف

شمارهاختیاری
descriptiondescription

بدون توصیف

ناشناختهاختیاری
referencereference

بدون توصیف

ناشناختهاختیاری
reference_namereference_name

بدون توصیف

ناشناختهاختیاری
reference_codereference_code

بدون توصیف

ناشناختهاختیاری
overall_starsoverall_stars

بدون توصیف

ناشناختهاختیاری
adult_pointsadult_points

بدون توصیف

ناشناختهاختیاری
adult_percentadult_percent

بدون توصیف

ناشناختهاختیاری
child_pointschild_points

بدون توصیف

ناشناختهاختیاری
child_percentchild_percent

بدون توصیف

ناشناختهاختیاری
pedestrian_pointspedestrian_points

بدون توصیف

ناشناختهاختیاری
pedestrian_percentpedestrian_percent

بدون توصیف

ناشناختهاختیاری
safety_pointssafety_points

بدون توصیف

ناشناختهاختیاری
safety_percentsafety_percent

بدون توصیف

ناشناختهاختیاری
reference_urlreference_url

بدون توصیف

ناشناختهاختیاری
adult_starsadult_stars

بدون توصیف

ناشناختهاختیاری
adult_scoreadult_score

بدون توصیف

ناشناختهاختیاری
child_starschild_stars

بدون توصیف

ناشناختهاختیاری
child_scorechild_score

بدون توصیف

ناشناختهاختیاری
pedestrian_starspedestrian_stars

بدون توصیف

ناشناختهاختیاری
pedestrian_scorepedestrian_score

بدون توصیف

ناشناختهاختیاری