<?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%3ACode</id>
	<title>Template:Code - 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%3ACode"/>
	<link rel="alternate" type="text/html" href="https://wiki.panglossian.net/wiki/index.php?title=Template:Code&amp;action=history"/>
	<updated>2026-07-07T20:52:23Z</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:Code&amp;diff=3&amp;oldid=prev</id>
		<title>Stuart: Template cribbed from Blue Prism (well, I wrote it)</title>
		<link rel="alternate" type="text/html" href="https://wiki.panglossian.net/wiki/index.php?title=Template:Code&amp;diff=3&amp;oldid=prev"/>
		<updated>2016-08-25T17:41:59Z</updated>

		<summary type="html">&lt;p&gt;Template cribbed from Blue Prism (well, I wrote it)&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;code style=&amp;quot;background-color: #f7f7f7; border: 1px dashed #ccf; padding: 2px 3px; color:{{{2|black}}}&amp;quot;&amp;gt;{{{1}}}&amp;lt;/code&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
Template for providing code within a paragraph of a wiki page.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
An anonymous first parameter provides the text to wrap into a code element. An optional second parameter can set the colour of the output.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;#039;&amp;#039;eg. &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; {{code|IsItemInQueue([Queue Name], [Item Key])}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Gives&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{code|IsItemInQueue([Queue Name], [Item Key])}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The second parameter sets the colour of the output, &amp;#039;&amp;#039;eg.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; {{code|Dim|blue}} {{code|str}} {{code|As}} {{code|String|teal}} {{code|{{=}}}} {{code|&amp;quot;This is a test&amp;quot;|#800}} &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will emit:&lt;br /&gt;
&lt;br /&gt;
{{code|Dim|blue}} {{code|str}} {{code|As|#00f}} {{code|String|teal}} {{code|{{=}}}} {{code|&amp;quot;This is a test&amp;quot;|#800}}&lt;br /&gt;
&lt;br /&gt;
Note the use of the {{code|&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;}} template to pass a literal &amp;#039;=&amp;#039; character. It is treated as a &amp;#039;name=value&amp;#039; operator by mediawiki without that.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Stuart</name></author>
	</entry>
</feed>