שינויים

קפיצה לניווט קפיצה לחיפוש
אין תקציר עריכה
{{תיעוד תבנית}}

'''This graph's main version resides at [https://www.mediawiki.org/wiki/Template:Graph:Lines Template:Graph:Lines]. Please make or suggest all the changes there, and copy it everywhere else (until the copying is automated)'''

{| class="wikitable"
! style="text-align: left;" | <nowiki>{{</nowiki>{{BASEPAGENAME}}<br>
&#124; data=Earnings/US Women's weekly earnings as a percent of men's by age, annual averages.tab<br>
&#124; type=year<br>
&#124; xField=year<br>
&#124; series="age_16_24", "age_25_34", "age_35_44", "age_45_54"<br>
&#124; yZero=false<br>
&#124; title=Gender pay gap in the United States<br>
&#124; xAxis=Year<br>
&#124; yAxis=Percentage<br>
&#124; legend=Age group<br>
<nowiki>}}</nowiki>
|-
| {{{{BASEPAGENAME}}
| data=Earnings/US Women's weekly earnings as a percent of men's by age, annual averages.tab
| type=year
| xField=year
| series="age_16_24", "age_25_34", "age_35_44", "age_45_54"
| yZero=false
| title=Gender pay gap in the United States
| xAxis=Year
| yAxis=Percentage
| legend=Age group
}}
|}

<templatedata>
{
"params": {
"data": {
"description": "Data page name on Commons, without the Data: prefix. The table should contain xField column, like year or date, and one or more series columns to plot",
"type": "string",
"required": true
},
"type": {
"description": "Type of the x axis - time (e.g. \"2015-10\" or \"2013-03-08), year (integer, but treated as a year), linear (numbers), ordinal (anything)",
"type": "string",
"default": "year",
"suggested": true
},
"xField": {
"description": "Id of the data column that contains values for the X axis. If type=year, xField is also \"year\" by default.",
"type": "string",
"required": true
},
"series": {
"description": "List of the data columns to show as lines. Must be listed by field IDs: \"field1\", \"field2\", \"field3\".",
"type": "string",
"required": true
},
"xZero": {
"description": "Force to start or not to start X axis with zero. Can be either true or false",
"type": "string"
},
"yZero": {
"description": "Force to start or not to start Y axis with zero. Can be either true or false",
"type": "string"
},
"title": {
"description": "Title of the whole graph",
"type": "string"
},
"xAxis": {
"description": "Title of the X axis",
"type": "string"
},
"yAxis": {
"description": "Title of the Y axis",
"type": "string"
},
"legend": {
"description": "Title of the legend",
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"debug": {
"description": "if set, will show graph as raw JSON",
"type": "string"
}
},
"paramOrder": [
"data",
"type",
"xField",
"series",
"xZero",
"yZero",
"xAxis",
"yAxis",
"title",
"legend",
"width",
"height",
"debug"
],
"description": "This graph draws one or more independent numeric data series as lines. The data must be stored on Commons' Data namespace. "
}
</templatedata>

תפריט ניווט