<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.osnexus.com/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.osnexus.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ACode"/>
	<link rel="alternate" type="text/html" href="https://wiki.osnexus.com/index.php?title=Template:Code&amp;action=history"/>
	<updated>2026-10-03T06:05:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.osnexus.com/index.php?title=Template:Code&amp;diff=27376&amp;oldid=prev</id>
		<title>Qadmin: Create: inline code styled dark blue on a light blue ground, companion to Template:Navigation</title>
		<link rel="alternate" type="text/html" href="https://wiki.osnexus.com/index.php?title=Template:Code&amp;diff=27376&amp;oldid=prev"/>
		<updated>2026-09-02T22:45:13Z</updated>

		<summary type="html">&lt;p&gt;Create: inline code styled dark blue on a light blue ground, companion to Template:Navigation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;code style=&amp;quot;color: #123a63; background-color: #e8eef5; border: 1px solid #b8c9dd; padding: 0 3px; border-radius: 2px;&amp;quot;&amp;gt;{{{1}}}&amp;lt;/code&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
Inline code -- a command, a file path, a configuration key, a literal value --&lt;br /&gt;
rendered in dark blue on a light blue ground so it separates from the prose. The&lt;br /&gt;
companion to [[Template:Navigation]]; both keep their styling in one place&lt;br /&gt;
rather than repeating it inline on every use.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Always pass the content as &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt;.&amp;#039;&amp;#039;&amp;#039; Inline code very often contains&lt;br /&gt;
an equals sign (&amp;lt;code&amp;gt;param=deprecated&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tunable-option=reset&amp;lt;/code&amp;gt;),&lt;br /&gt;
and without the explicit &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt; MediaWiki reads everything before the&lt;br /&gt;
&amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; as a parameter name and the snippet disappears.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;font-size: smaller&amp;quot;&amp;gt;&lt;br /&gt;
{{Code|1=/var/log/qs/qs_audit.log}}&lt;br /&gt;
{{Code|1=param_units=B}}&lt;br /&gt;
{{Code|1=[[QuantaStor CLI Command Reference#alert-list{{!}}qs alert-list]]}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Renders as: {{Code|1=/var/log/qs/qs_audit.log}}, {{Code|1=param_units=B}}.&lt;br /&gt;
&lt;br /&gt;
For multi-line examples use a &amp;lt;code&amp;gt;&amp;amp;lt;pre&amp;amp;gt;&amp;lt;/code&amp;gt; block instead -- and note&lt;br /&gt;
a &amp;lt;code&amp;gt;&amp;amp;lt;pre&amp;amp;gt;&amp;lt;/code&amp;gt; cannot carry wiki links, so anything that needs to be&lt;br /&gt;
clickable belongs in this template.&lt;br /&gt;
&lt;br /&gt;
The colours survive dark mode: the DarkMode extension applies&lt;br /&gt;
&amp;lt;code&amp;gt;filter: invert(1) hue-rotate(180deg)&amp;lt;/code&amp;gt;, which flips lightness and&lt;br /&gt;
preserves hue, so dark blue on pale blue becomes light blue on dark blue.&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Qadmin</name></author>
	</entry>
</feed>