<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://graphit.ur.de/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AProgress_Graph</id>
	<title>Template:Progress Graph - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://graphit.ur.de/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AProgress_Graph"/>
	<link rel="alternate" type="text/html" href="https://graphit.ur.de/w/index.php?title=Template:Progress_Graph&amp;action=history"/>
	<updated>2026-06-29T20:15:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://graphit.ur.de/w/index.php?title=Template:Progress_Graph&amp;diff=7050&amp;oldid=prev</id>
		<title>Leonie: added legend</title>
		<link rel="alternate" type="text/html" href="https://graphit.ur.de/w/index.php?title=Template:Progress_Graph&amp;diff=7050&amp;oldid=prev"/>
		<updated>2024-04-15T15:00:04Z</updated>

		<summary type="html">&lt;p&gt;added legend&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 15:00, 15 April 2024&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-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&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;SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;[AUTO_LANGUAGE],en&amp;quot;. }&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;SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;[AUTO_LANGUAGE],en&amp;quot;. }&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;} | caption={{#username:Max Mustermann}}&amp;#039;s progress graph for {{{course|Q468}}}&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;} | caption={{#username:Max Mustermann}}&amp;#039;s progress graph for {{{course|Q468}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{QA|question=Legend|answer=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for the progress graph&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;span style=&quot;background-color:#CBFDBB&quot;&gt;green&amp;lt;/span&gt; = &quot;completed&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;span style=&quot;background-color:#CCCCCC&quot;&gt;greyed&amp;lt;/span&gt; = item was included past session&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;span style=&quot;background-color:#000000; color:#FFFFFF&quot;&gt;white&amp;lt;/span&gt; = item is included in an upcoming session&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* *star* = &quot;interested in&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [box] = item is included in an upcoming session&lt;/ins&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;}}&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;br/&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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leonie</name></author>
	</entry>
	<entry>
		<id>https://graphit.ur.de/w/index.php?title=Template:Progress_Graph&amp;diff=7047&amp;oldid=prev</id>
		<title>Leonie: created the form for a presonalized progress graph</title>
		<link rel="alternate" type="text/html" href="https://graphit.ur.de/w/index.php?title=Template:Progress_Graph&amp;diff=7047&amp;oldid=prev"/>
		<updated>2024-04-15T14:32:10Z</updated>

		<summary type="html">&lt;p&gt;created the form for a presonalized progress graph&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#widget:SPARQLquery|code=&lt;br /&gt;
#defaultView:Graph&lt;br /&gt;
PREFIX wdt: &amp;lt;https://graphit.ur.de/prop/direct/&amp;gt;&lt;br /&gt;
PREFIX wd: &amp;lt;https://graphit.ur.de/entity/&amp;gt;&lt;br /&gt;
# progress graph -&amp;gt; get all items in sessions + mark besprochen(using date) + completed &lt;br /&gt;
SELECT DISTINCT ?sessionDate ?today ?interest ?complete&lt;br /&gt;
?item ?itemLabel ?rgb1 ?shape1&lt;br /&gt;
?link ?linkLabel ?rgb2 ?shape2&lt;br /&gt;
WHERE {&lt;br /&gt;
  # get all items in all sessions of course&lt;br /&gt;
  wd:{{{course|Q468}}} wdt:P14 ?session. # use current&lt;br /&gt;
  ?session wdt:P3 wd:Q427.&lt;br /&gt;
  ?session wdt:P19 ?sessionDate. &lt;br /&gt;
  &lt;br /&gt;
  ?session wdt:P14 ?item.&lt;br /&gt;
  ?item wdt:P1 ?link. # get links between items&lt;br /&gt;
  &lt;br /&gt;
  BIND(now() as ?today)&lt;br /&gt;
  ?user rdfs:label &amp;quot;{{#username:Max Mustermann}}&amp;quot;@en.&lt;br /&gt;
&lt;br /&gt;
  # STYLING&lt;br /&gt;
  OPTIONAL { ?user wdt:P23 ?item. BIND(&amp;quot;true&amp;quot; as ?interest) } &lt;br /&gt;
  OPTIONAL { ?user wdt:P12 ?item. &lt;br /&gt;
            ?session wdt:P14 ?item. ?session wdt:P19 ?sessionDate.&lt;br /&gt;
            BIND(IF(?sessionDate &amp;lt; now(), &amp;quot;past&amp;quot;, &amp;quot;future&amp;quot;) as ?complete) }&lt;br /&gt;
  &lt;br /&gt;
  # --- color --- # &lt;br /&gt;
  BIND( IF(BOUND(?complete) &amp;amp;&amp;amp; ?complete = &amp;quot;past&amp;quot;, &amp;quot;B9CEB6&amp;quot;, # grey green if completed in past session&lt;br /&gt;
        IF(BOUND(?complete) &amp;amp;&amp;amp; ?complete = &amp;quot;future&amp;quot;, &amp;quot;CBFDBB&amp;quot;, # light green if completed in future session&lt;br /&gt;
        IF(?sessionDate &amp;lt; ?today, &amp;quot;CCCCCC&amp;quot;, &amp;quot;FFFFFF&amp;quot; ))) as ?rgb1) # grey if in past session&lt;br /&gt;
  &lt;br /&gt;
  BIND( IF(BOUND(?complete) &amp;amp;&amp;amp; ?complete = &amp;quot;past&amp;quot;, &amp;quot;B9CEB6&amp;quot;,&lt;br /&gt;
        IF(BOUND(?complete) &amp;amp;&amp;amp; ?complete = &amp;quot;future&amp;quot;, &amp;quot;CBFDBB&amp;quot;,&lt;br /&gt;
        IF(?sessionDate &amp;lt; ?today, &amp;quot;CCCCCC&amp;quot;, &amp;quot;FFFFFF&amp;quot; ))) as ?rgb2)&lt;br /&gt;
  &lt;br /&gt;
  # --- shape --- # &lt;br /&gt;
  BIND( IF(BOUND(?interest), &amp;quot;star&amp;quot;, # star if interested&lt;br /&gt;
        IF(?sessionDate &amp;lt; ?today, &amp;quot;ellipse&amp;quot;, &amp;quot;box&amp;quot; )) as ?shape1) # box if in future session&lt;br /&gt;
  &lt;br /&gt;
  BIND( IF(BOUND(?interest), &amp;quot;star&amp;quot;,&lt;br /&gt;
        IF(?sessionDate &amp;lt; ?today, &amp;quot;ellipse&amp;quot;, &amp;quot;box&amp;quot; )) as ?shape2)&lt;br /&gt;
  &lt;br /&gt;
SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;[AUTO_LANGUAGE],en&amp;quot;. }&lt;br /&gt;
} | caption={{#username:Max Mustermann}}&amp;#039;s progress graph for {{{course|Q468}}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background-color:#F5F5F5;&amp;quot;&amp;gt;&lt;br /&gt;
{{Progress Graph|course=Q468}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Can also be included into a page using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background-color:#F5F5F5;&amp;quot;&amp;gt;&lt;br /&gt;
{{Special:RunQuery/Progress Graph}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or something like&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background-color:#F5F5F5;&amp;quot;&amp;gt;&lt;br /&gt;
{{#queryformlink:form=ProgressGraph|link text=Try running the query :D|link type=button|tooltip=This is a test}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Leonie</name></author>
	</entry>
</feed>