<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AGraph%3ALines%2Fdoc</id>
	<title>Template:Graph:Lines/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AGraph%3ALines%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Graph:Lines/doc&amp;action=history"/>
	<updated>2026-04-12T06:28:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.tiffa.net/w/index.php?title=Template:Graph:Lines/doc&amp;diff=4999&amp;oldid=prev</id>
		<title>Fire at 22:46, 22 January 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Graph:Lines/doc&amp;diff=4999&amp;oldid=prev"/>
		<updated>2023-01-22T22:46:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:46, 23 January 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{documentation subpage}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{documentation subpage}}  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{二次利用}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{二次利用}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--{{warning|As of 4 October 2019 (and since early July 2019 at least), the graph extension no longer works when linked to a wikidata query. Until a solution is found, this template should not be used with a wikidata query in articles. See [https://phabricator.wikimedia.org/T226250 the Phabricator ticket] for more information. }}--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!--{{warning|As of 4 October 2019 (and since early July 2019 at least), the graph extension no longer works when linked to a wikidata query. Until a solution is found, this template should not be used with a wikidata query in articles. See [https://phabricator.wikimedia.org/T226250 the Phabricator ticket] for more information. }}--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fire</name></author>
	</entry>
	<entry>
		<id>https://wiki.tiffa.net/w/index.php?title=Template:Graph:Lines/doc&amp;diff=648&amp;oldid=prev</id>
		<title>imported&gt;Fire: ページの作成:「{{documentation subpage}} {{二次利用}} &lt;!--{{warning|As of 4 October 2019 (and since early July 2019 at least), the graph extension no longer works when linked to a w…」</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Graph:Lines/doc&amp;diff=648&amp;oldid=prev"/>
		<updated>2021-01-31T02:13:37Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「{{documentation subpage}} {{二次利用}} &amp;lt;!--{{warning|As of 4 October 2019 (and since early July 2019 at least), the graph extension no longer works when linked to a w…」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
{{二次利用}}&lt;br /&gt;
&amp;lt;!--{{warning|As of 4 October 2019 (and since early July 2019 at least), the graph extension no longer works when linked to a wikidata query. Until a solution is found, this template should not be used with a wikidata query in articles. See [https://phabricator.wikimedia.org/T226250 the Phabricator ticket] for more information. }}--&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;This graph&amp;#039;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)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This graph draws one or more independent numeric data series as lines. The data must be stored on Commons&amp;#039; Data namespace or come from Wikidata Query Service.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot; | &amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;{{Graph:Lines&lt;br /&gt;
| table=bls.gov/US Women&amp;#039;s weekly earnings as a percent of men&amp;#039;s by age, annual averages.tab&lt;br /&gt;
| type=year | xField=year&lt;br /&gt;
| series=&amp;quot;age_16_24&amp;quot;, &amp;quot;age_25_34&amp;quot;, &amp;quot;age_35_44&amp;quot;, &amp;quot;age_45_54&amp;quot;&lt;br /&gt;
| title=Gender pay gap in the United States&lt;br /&gt;
| yZero=false | xAxis=Year | yAxis=Percentage | yMax=100 | yGrid=y | width=500 | legend=Age group&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot; | &amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;{{Graph:Lines&lt;br /&gt;
| tabletype=query | table=&lt;br /&gt;
&lt;br /&gt;
SELECT ?decade (COUNT(?decade) AS ?count) WHERE {&lt;br /&gt;
  ?item wdt:P31 wd:Q3305213 .&lt;br /&gt;
  ?item wdt:P571 ?inception .&lt;br /&gt;
  BIND( year(?inception) as ?year ). &lt;br /&gt;
  BIND( ROUND(?year/10)*10 as ?decade ) .&lt;br /&gt;
  FILTER( ?year &amp;gt; 1400)&lt;br /&gt;
} GROUP BY ?decade ORDER BY ?decade&lt;br /&gt;
&lt;br /&gt;
| series=&amp;quot;count&amp;quot; | type=year | xField=decade&lt;br /&gt;
| title=Paintings by decade&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| {{{{BASEPAGENAME}}&lt;br /&gt;
| table=bls.gov/US Women&amp;#039;s weekly earnings as a percent of men&amp;#039;s by age, annual averages.tab&lt;br /&gt;
| type=year&lt;br /&gt;
| xField=year&lt;br /&gt;
| series=&amp;quot;age_16_24&amp;quot;, &amp;quot;age_25_34&amp;quot;, &amp;quot;age_35_44&amp;quot;, &amp;quot;age_45_54&amp;quot;&lt;br /&gt;
| yZero=false&lt;br /&gt;
| title=Gender pay gap in the United States&lt;br /&gt;
| xAxis=Year&lt;br /&gt;
| yAxis=Percentage&lt;br /&gt;
| yMax=100&lt;br /&gt;
| yGrid=y&lt;br /&gt;
| width=500&lt;br /&gt;
| legend=Age group&lt;br /&gt;
}}&lt;br /&gt;
| {{{{BASEPAGENAME}}&lt;br /&gt;
|tabletype=query&lt;br /&gt;
|table=&lt;br /&gt;
SELECT ?decade (COUNT(?decade) AS ?count) WHERE {&lt;br /&gt;
  ?item wdt:P31 wd:Q3305213 .&lt;br /&gt;
  ?item wdt:P571 ?inception .&lt;br /&gt;
  BIND( year(?inception) as ?year ). &lt;br /&gt;
  BIND( ROUND(?year/10)*10 as ?decade ) .&lt;br /&gt;
  FILTER( ?year &amp;gt; 1400)&lt;br /&gt;
} GROUP BY ?decade ORDER BY ?decade&lt;br /&gt;
|series=&amp;quot;count&amp;quot;&lt;br /&gt;
|type=year&lt;br /&gt;
|xField=decade&lt;br /&gt;
|title=Paintings by decade&lt;br /&gt;
}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot; | Wikidata query produces three columns - year, population size, and country name. This graph shows one line per country.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;{{Graph:Lines&lt;br /&gt;
| tabletype=query | table=&lt;br /&gt;
&lt;br /&gt;
#Population of countries sharing a border with Germany&lt;br /&gt;
SELECT ?year ?population ?countryLabel WHERE {&lt;br /&gt;
  {&lt;br /&gt;
    SELECT ?country ?year (AVG(?populations) AS ?population) WHERE {&lt;br /&gt;
      {&lt;br /&gt;
        SELECT ?country (YEAR(?date) AS ?year) ?populations WHERE {&lt;br /&gt;
          ?country wdt:P47 wd:Q183.&lt;br /&gt;
          ?country p:P1082 ?populationStatement.&lt;br /&gt;
          ?populationStatement ps:P1082 ?populations.&lt;br /&gt;
          ?populationStatement pq:P585 ?date.&lt;br /&gt;
        }  FILTER( ?year &amp;gt;= 1900)&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    GROUP BY ?country ?year&lt;br /&gt;
  }&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;{{CONTENTLANGUAGE}}&amp;quot;. }&lt;br /&gt;
}&lt;br /&gt;
| type=year | xField=year | group=countryLabel | value=population&lt;br /&gt;
| title=Population of countries bordering Germany&lt;br /&gt;
| legend=- | xGrid=y | yGrid=y | yTicks=7 | width=600&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| {{{{BASEPAGENAME}}&lt;br /&gt;
| tabletype=query&lt;br /&gt;
| table=&lt;br /&gt;
#Population of countries sharing a border with Germany, fixed&lt;br /&gt;
SELECT ?year ?population ?countryLabel WHERE {&lt;br /&gt;
  {&lt;br /&gt;
    SELECT ?country ?year (AVG(?populations) AS ?population) WHERE {&lt;br /&gt;
      {&lt;br /&gt;
        SELECT ?country (YEAR(?date) AS ?year) ?populations WHERE {&lt;br /&gt;
          ?country wdt:P47 wd:Q183.&lt;br /&gt;
          ?country p:P1082 ?populationStatement.&lt;br /&gt;
          ?populationStatement ps:P1082 ?populations.&lt;br /&gt;
          ?populationStatement pq:P585 ?date.&lt;br /&gt;
        }&lt;br /&gt;
      }   FILTER( ?year &amp;gt;= 1900)&lt;br /&gt;
    }&lt;br /&gt;
    GROUP BY ?country ?year&lt;br /&gt;
  }&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;{{CONTENTLANGUAGE}}&amp;quot;. }&lt;br /&gt;
}&lt;br /&gt;
| type=year | xField=year&lt;br /&gt;
| group=countryLabel | value=population&lt;br /&gt;
| title=Population of countries bordering Germany&lt;br /&gt;
| legend=- | xGrid=y | yGrid=y | yTicks=7 | width=600&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{#invoke:TNT|doc|Graph:Lines}}&amp;lt;!-- Translations are at https://commons.wikimedia.org/wiki/Data:Templatedata/Graph:Lines.tab --&amp;gt;&lt;br /&gt;
{{Template:Graph, chart and plot templates}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:ウィキペディアのテンプレート]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Fire</name></author>
	</entry>
</feed>