Difference between revisions of "Template:Australian large car sales"

From blackwiki
Jump to navigation Jump to search
imported>OSX
Line 1: Line 1:
 
{| align="{{{align|left}}}"
 
{| align="{{{align|left}}}"
 
{{#if:{{{title|}}}|{{!}}+ Australian large car sales (1991–2012)|{{!}}-}}
 
{{#if:{{{title|}}}|{{!}}+ Australian large car sales (1991–2012)|{{!}}-}}
|{{Line chart
+
|{{Graph:Chart
| color_background = white
 
 
| width = {{{width|500}}}
 
| width = {{{width|500}}}
 
| height = {{{height|300}}}
 
| height = {{{height|300}}}
| padding_left = 50
+
| x = 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
| padding_right = 15
+
| xAxisAngle=-40
| padding_top = 10
+
| yAxisFormat=s
| padding_bottom = 20
+
| colors = red, blue, green, purple, black
| number_of_series = 5
+
<!--HOLDEN-->
| number_of_x-values = 22
+
| y1=50820, 57641, 62663, 75330, 80452, 83001, 76849, 94642, 85648, 83610, 85422, 88478, 86553, 79170, 66794, 56531, 57307, 51093, 44387, 45956, 40617, 30532
| label_x1 = 1991 | label_x2 = | label_x3 = | label_x4 = | label_x5 = | label_x6 = 1996 | label_x7 = | label_x8 = | label_x9 = | label_x10 = | label_x11 = 2001
+
<!--FORD-->
| label_x12 = | label_x13 = | label_x14 = | label_x15 = | label_x16 = 2006 | label_x17 = | label_x18 = | label_x19 = | label_x20 = | label_x21 = 2011 | label_x22 =
+
| y2 = 48430, 57832, 64941, 72924, 81366, 77835, 71850, 68758, 70084, 60460, 53534, 54629, 73220, 65384, 53080, 42390, 33941, 31936, 31023, 29516, 18741, 14036
| y_max = 250000
+
<!--TOYOTA-->
| y_min = 0
+
| y3 = 0, 0, 6844, 7996, 7886, 10701, 11786, 18694, 21281, 22449, 20230, 19004, 19343, 19654, 14995, 9431, 22044, 19562, 13910, 11764
| scale = yes
+
<!--OTHER-->
| interval_primary_scale = 50000
+
| y4 = 9037, 16382, 22965, 26326, 24872, 27369, 38809, 35270, 31110, 32247, 31117, 26237, 24408, 17470, 32512, 28254, 26385, 16748, 12381, 11347
| interval_secondary_scale = 10000
+
<!--TOTAL-->
| color_series_1 = red
+
| y5 = 108287, 131855, 157413, 182576, 194576, 198906, 199294, 217364, 208123, 198766, 190303, 188348, 203524, 181678, 167381, 136606, 139677, 119339, 101701, 98583, 78077
| S01V01 = 50820 | S01V02 = 57641 | S01V03 = 62663 | S01V04 = 75330 | S01V05 = 80452 | S01V06 = 83001 | S01V07 = 76849 | S01V08 = 94642 | S01V09 = 85648 | S01V10 = 83610 | S01V11 = 85422
 
| S01V12 = 88478 | S01V13 = 86553 | S01V14 = 79170 | S01V15 = 66794 | S01V16 = 56531 | S01V17 = 57307 | S01V18 = 51093 | S01V19 = 44387 | S01V20 = 45956 | S01V21 = 40617 | S01V22 = 30532
 
| color_series_2 = blue
 
| S02V01 = 48430 | S02V02 = 57832 | S02V03 = 64941 | S02V04 = 72924 | S02V05 = 81366 | S02V06 = 77835 | S02V07 = 71850 | S02V08 = 68758 | S02V09 = 70084 | S02V10 = 60460 | S02V11 = 53534
 
| S02V12 = 54629 | S02V13 = 73220 | S02V14 = 65384 | S02V15 = 53080 | S02V16 = 42390 | S02V17 = 33941 | S02V18 = 31936 | S02V19 = 31023 | S02V20 = 29516 | S02V21 = 18741 | S02V22 = 14036
 
| color_series_3 = green
 
| S03V01 = 0 | S03V02 = 0 | S03V03 = 6844 | S03V04 = 7996 | S03V05 = 7886 | S03V06 = 10701 | S03V07 = 11786 | S03V08 = 18694 | S03V09 = 21281 | S03V10 = 22449 | S03V11 = 20230
 
| S03V12 = 19004 | S03V13 = 19343 | S03V14 = 19654 | S03V15 = 14995 | S03V16 = 9431 | S03V17 = 22044 | S03V18 = 19562 | S03V19 = 13910 | S03V20 = 11764
 
| color_series_4 = purple
 
| S04V01 = 9037 | S04V02 = 16382 | S04V03 = 22965 | S04V04 = 26326 | S04V05 = 24872 | S04V06 = 27369 | S04V07 = 38809 | S04V08 = 35270 | S04V09 = 31110 | S04V10 = 32247 | S04V11 = 31117
 
| S04V12 = 26237 | S04V13 = 24408 | S04V14 = 17470 | S04V15 = 32512 | S04V16 = 28254 | S04V17 = 26385 | S04V18 = 16748 | S04V19 = 12381 | S04V20 = 11347
 
| color_series_5 = black
 
| S05V01 = 108287 | S05V02 = 131855 | S05V03 = 157413 | S05V04 = 182576 | S05V05 = 194576 | S05V06 = 198906 | S05V07 = 199294 | S05V08 = 217364 | S05V09 = 208123 | S05V10 = 198766 | S05V11 =
 
190303
 
| S05V12 = 188348 | S05V13 = 203524 | S05V14 = 181678 | S05V15 = 167381 | S05V16 = 136606 | S05V17 = 139677 | S05V18 = 119339 | S05V19 = 101701 | S05V20 = 98583 | S05V21 = 78077
 
| points = no
 
 
}}
 
}}
 
{{#if:{{{legend|}}}|{{!}} style="font-size: 75%"{{!}} {{legend|red|Holden Commodore<br />(sedan and wagon)}}
 
{{#if:{{{legend|}}}|{{!}} style="font-size: 75%"{{!}} {{legend|red|Holden Commodore<br />(sedan and wagon)}}

Revision as of 23:56, 5 August 2019

<graph>{"legends":[],"scales":[{"type":"linear","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"range":"width","nice":true},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":false,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":["red","blue","green","purple","black"]}],"version":2,"marks":[{"type":"group","marks":[{"properties":{"hover":{"stroke":{"value":"red"}},"update":{"stroke":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"stroke":{"scale":"color","field":"series"},"strokeWidth":{"value":2.5}}},"type":"line"}],"from":{"data":"chart","transform":[{"groupby":["series"],"type":"facet"}]}}],"height":300,"axes":[{"type":"x","scale":"x","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"align":{"value":"right"},"angle":{"value":-40},"fill":{"value":"#54595d"}}},"grid":false},{"type":"y","scale":"y","format":"s","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false}],"data":[{"format":{"parse":{"y":"integer","x":"integer"},"type":"json"},"name":"chart","values":[{"y":50820,"series":"y1","x":1991},{"y":57641,"series":"y1","x":1992},{"y":62663,"series":"y1","x":1993},{"y":75330,"series":"y1","x":1994},{"y":80452,"series":"y1","x":1995},{"y":83001,"series":"y1","x":1996},{"y":76849,"series":"y1","x":1997},{"y":94642,"series":"y1","x":1998},{"y":85648,"series":"y1","x":1999},{"y":83610,"series":"y1","x":2000},{"y":85422,"series":"y1","x":2001},{"y":88478,"series":"y1","x":2002},{"y":86553,"series":"y1","x":2003},{"y":79170,"series":"y1","x":2004},{"y":66794,"series":"y1","x":2005},{"y":56531,"series":"y1","x":2006},{"y":57307,"series":"y1","x":2007},{"y":51093,"series":"y1","x":2008},{"y":44387,"series":"y1","x":2009},{"y":45956,"series":"y1","x":2010},{"y":40617,"series":"y1","x":2011},{"y":30532,"series":"y1","x":2012},{"y":48430,"series":"y2","x":1991},{"y":57832,"series":"y2","x":1992},{"y":64941,"series":"y2","x":1993},{"y":72924,"series":"y2","x":1994},{"y":81366,"series":"y2","x":1995},{"y":77835,"series":"y2","x":1996},{"y":71850,"series":"y2","x":1997},{"y":68758,"series":"y2","x":1998},{"y":70084,"series":"y2","x":1999},{"y":60460,"series":"y2","x":2000},{"y":53534,"series":"y2","x":2001},{"y":54629,"series":"y2","x":2002},{"y":73220,"series":"y2","x":2003},{"y":65384,"series":"y2","x":2004},{"y":53080,"series":"y2","x":2005},{"y":42390,"series":"y2","x":2006},{"y":33941,"series":"y2","x":2007},{"y":31936,"series":"y2","x":2008},{"y":31023,"series":"y2","x":2009},{"y":29516,"series":"y2","x":2010},{"y":18741,"series":"y2","x":2011},{"y":14036,"series":"y2","x":2012},{"y":0,"series":"y3","x":1991},{"y":0,"series":"y3","x":1992},{"y":6844,"series":"y3","x":1993},{"y":7996,"series":"y3","x":1994},{"y":7886,"series":"y3","x":1995},{"y":10701,"series":"y3","x":1996},{"y":11786,"series":"y3","x":1997},{"y":18694,"series":"y3","x":1998},{"y":21281,"series":"y3","x":1999},{"y":22449,"series":"y3","x":2000},{"y":20230,"series":"y3","x":2001},{"y":19004,"series":"y3","x":2002},{"y":19343,"series":"y3","x":2003},{"y":19654,"series":"y3","x":2004},{"y":14995,"series":"y3","x":2005},{"y":9431,"series":"y3","x":2006},{"y":22044,"series":"y3","x":2007},{"y":19562,"series":"y3","x":2008},{"y":13910,"series":"y3","x":2009},{"y":11764,"series":"y3","x":2010},{"y":9037,"series":"y4","x":1991},{"y":16382,"series":"y4","x":1992},{"y":22965,"series":"y4","x":1993},{"y":26326,"series":"y4","x":1994},{"y":24872,"series":"y4","x":1995},{"y":27369,"series":"y4","x":1996},{"y":38809,"series":"y4","x":1997},{"y":35270,"series":"y4","x":1998},{"y":31110,"series":"y4","x":1999},{"y":32247,"series":"y4","x":2000},{"y":31117,"series":"y4","x":2001},{"y":26237,"series":"y4","x":2002},{"y":24408,"series":"y4","x":2003},{"y":17470,"series":"y4","x":2004},{"y":32512,"series":"y4","x":2005},{"y":28254,"series":"y4","x":2006},{"y":26385,"series":"y4","x":2007},{"y":16748,"series":"y4","x":2008},{"y":12381,"series":"y4","x":2009},{"y":11347,"series":"y4","x":2010},{"y":108287,"series":"y5","x":1991},{"y":131855,"series":"y5","x":1992},{"y":157413,"series":"y5","x":1993},{"y":182576,"series":"y5","x":1994},{"y":194576,"series":"y5","x":1995},{"y":198906,"series":"y5","x":1996},{"y":199294,"series":"y5","x":1997},{"y":217364,"series":"y5","x":1998},{"y":208123,"series":"y5","x":1999},{"y":198766,"series":"y5","x":2000},{"y":190303,"series":"y5","x":2001},{"y":188348,"series":"y5","x":2002},{"y":203524,"series":"y5","x":2003},{"y":181678,"series":"y5","x":2004},{"y":167381,"series":"y5","x":2005},{"y":136606,"series":"y5","x":2006},{"y":139677,"series":"y5","x":2007},{"y":119339,"series":"y5","x":2008},{"y":101701,"series":"y5","x":2009},{"y":98583,"series":"y5","x":2010},{"y":78077,"series":"y5","x":2011}]}],"width":500}</graph>
Template documentation[view] [edit] [history] [purge]

Usage

To use this template
  1. Copy the blank template below to your document.
  2. Enter values for the fields as outlined in the table below.
  3. Preview.
  4. Save the page with an appropriate edit summary.

Blank template

{{ Australian large car sales
| align  = 
| title  = 
| width  = 
| height = 
| legend = 
}}

Fields

The following fields are available in this template:

Field Name Required? Description Values
align no Can be set to left or right, default is left. Plain text.
title no Set to yes to display the heading "Australian large car sales (1991–2012)" Plain text.
width no Width of chart in pixels, should not be lower than 300. Default is 500. Number.
height no Height of chart in pixels, should not be lower than 240. Default is 300. Number.
legend no Set to yes to display legend. Plain text.