<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.panglossian.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASrc</id>
	<title>Template:Src - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.panglossian.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASrc"/>
	<link rel="alternate" type="text/html" href="https://wiki.panglossian.net/wiki/index.php?title=Template:Src&amp;action=history"/>
	<updated>2026-07-07T21:57:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.panglossian.net/wiki/index.php?title=Template:Src&amp;diff=37&amp;oldid=prev</id>
		<title>Stuart: Template cribbed from Blue Prism (well, I wrote it) - missing {{#explode:}} at the moment</title>
		<link rel="alternate" type="text/html" href="https://wiki.panglossian.net/wiki/index.php?title=Template:Src&amp;diff=37&amp;oldid=prev"/>
		<updated>2016-08-25T20:14:40Z</updated>

		<summary type="html">&lt;p&gt;Template cribbed from Blue Prism (well, I wrote it) - missing {{#explode:}} at the moment&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://dev.blueprism.com/gitlab/development/{{{repo|{{{3|automate}}}}}}/blob/{{{branch|{{{2|master}}}}}}/{{{file|{{{1|}}}}}}{{#if:{{{line|{{{4|}}}}}}|&amp;amp;#35;L{{{line|{{{4|}}}}}}|}} {{#explode:{{#explode:{{{file|{{{1|automate}}}}}}|/|-1}}|.|-2}}{{#if:{{{line|{{{4|}}}}}}|&amp;amp;#58;{{{line|{{{4|}}}}}}|}}]&amp;lt;/span&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 If we don&amp;#039;t have &amp;quot;$wgPFEnableStringFunctions = true&amp;quot; in LocalSettings.php, we must use the following:&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://dev.blueprism.com/gitlab/development/{{{repo|{{{3|automate}}}}}}/blob/{{{branch|{{{2|master}}}}}}/{{{file|{{{1|}}}}}} {{{file|{{{1|automate}}}}}}]&amp;lt;/span&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
Link to the source for a file in git.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
* First parameter (or named {{c|file}} parameter) is the full path to the filename starting from the root of the repo, &amp;#039;&amp;#039;eg.&amp;#039;&amp;#039; {{c|Automate-3.0/AutomateInstaller.vb}}&lt;br /&gt;
* Second parameter (or named {{c|branch}} parameter) is the branch (or commit id) to link to (default: {{c|master}})&lt;br /&gt;
* Third parameter (or named {{c|repo}} parameter) is the git repo to link to  (default: {{c|automate}})&lt;br /&gt;
* Fourth parameter (or named {{c|line}} parameter) is the line number to link to (default: none)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Some examples using all four parameters&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{src|Automate-3.0/AutomateInstaller.vb}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
gives:&lt;br /&gt;
&lt;br /&gt;
{{src|Automate-3.0/AutomateInstaller.vb}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{src|BPCoreLib/Collections/CollectionUtil.vb|v5.0}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
gives:&lt;br /&gt;
&lt;br /&gt;
{{src|BPCoreLib/Collections/CollectionUtil.vb|v5.0}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{src|file=MAPIEx/MAPIMessage.cpp|repo=mapiex}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
gives:&lt;br /&gt;
&lt;br /&gt;
{{src|file=MAPIEx/MAPIMessage.cpp|repo=mapiex}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{src|Automate-3.0/AutomateAppCore/clsServerPartialClasses/clsServerCredentials.vb|b6d298f1|line=171}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
gives:&lt;br /&gt;
&lt;br /&gt;
{{src|Automate-3.0/AutomateAppCore/clsServerPartialClasses/clsServerCredentials.vb|b6d298f1|line=171}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Stuart</name></author>
	</entry>
</feed>