<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.newstarsgame.com/history/Template:Code?feed=atom</id>
	<title>Template:Code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.newstarsgame.com/history/Template:Code?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.newstarsgame.com/history/Template:Code"/>
	<updated>2026-06-04T21:17:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.newstarsgame.com/index.php?title=Template:Code&amp;diff=592&amp;oldid=prev</id>
		<title>ADAMJR: Created page with &quot;&lt;includeonly&gt;&lt;code class=&quot;nowrap&quot; style=&quot;white-space:nowrap;&quot;&gt;{{{1|{{{code|}}}}}}&lt;/code&gt;&lt;/includeonly&gt;&lt;noinclude&gt; {{DISPLAYTITLE:Template:Code}}  Wraps a short snippet in inline &lt;code&gt;monospace&lt;/code&gt; styling. Used for file names, extensions, values, and other literal text — e.g. {{code|.png}} or {{code|preview.jpg}}.  == Usage ==  &lt;pre&gt;{{Code|your text here}}&lt;/pre&gt;  The first unnamed parameter is the text to format. You can also name it explicitly:  &lt;pre&gt;{{Code|code=y...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.newstarsgame.com/index.php?title=Template:Code&amp;diff=592&amp;oldid=prev"/>
		<updated>2026-06-03T23:08:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;&amp;lt;code class=&amp;quot;nowrap&amp;quot; style=&amp;quot;white-space:nowrap;&amp;quot;&amp;gt;{{{1|{{{code|}}}}}}&amp;lt;/code&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt; {{DISPLAYTITLE:Template:Code}}  Wraps a short snippet in inline &amp;lt;code&amp;gt;monospace&amp;lt;/code&amp;gt; styling. Used for file names, extensions, values, and other literal text — e.g. {{code|.png}} or {{code|preview.jpg}}.  == Usage ==  &amp;lt;pre&amp;gt;{{Code|your text here}}&amp;lt;/pre&amp;gt;  The first unnamed parameter is the text to format. You can also name it explicitly:  &amp;lt;pre&amp;gt;{{Code|code=y...&amp;quot;&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 class=&amp;quot;nowrap&amp;quot; style=&amp;quot;white-space:nowrap;&amp;quot;&amp;gt;{{{1|{{{code|}}}}}}&amp;lt;/code&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{DISPLAYTITLE:Template:Code}}&lt;br /&gt;
&lt;br /&gt;
Wraps a short snippet in inline &amp;lt;code&amp;gt;monospace&amp;lt;/code&amp;gt; styling. Used for file names, extensions, values, and other literal text — e.g. {{code|.png}} or {{code|preview.jpg}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Code|your text here}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first unnamed parameter is the text to format. You can also name it explicitly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Code|code=your text here}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Snippets containing &amp;quot;=&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
A snippet that contains an equals sign is mistaken for a named parameter. Number the parameter to fix this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Code|1=width=100}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Markup !! Result&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Code|.png}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{Code|.png}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Code|preview.jpg}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{Code|preview.jpg}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Code|1=width=100}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{Code|1=width=100}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
This template uses only the built-in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; HTML element, so it works on a stock MediaWiki install with no extra extensions. For multi-line or syntax-highlighted blocks, use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;syntaxhighlight&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tag (requires the SyntaxHighlight extension) instead.&lt;br /&gt;
&lt;br /&gt;
[[Category:Formatting templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>ADAMJR</name></author>
	</entry>
</feed>