<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theblockheads.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASamp%2Fdoc</id>
	<title>Template:Samp/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theblockheads.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASamp%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://theblockheads.wiki/index.php?title=Template:Samp/doc&amp;action=history"/>
	<updated>2026-04-15T16:23:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://theblockheads.wiki/index.php?title=Template:Samp/doc&amp;diff=25072&amp;oldid=prev</id>
		<title>JarlPenguin: Created page with &quot;{{documentation header}} &lt;!-- Documentation here --&gt; {{see also|Template:Code}} This template is a simplified usage of {{code|&lt;nowiki&gt;&lt;samp&gt;...&lt;/samp&gt;&lt;/nowiki&gt;}}, which is used to format sample outputs. Usage of samp is deprecated for filenames, so use {{t|mono}} instead.  == Usage ==  The first anonymous parameter is a string to format. Note that {{code|&amp;lt;nowiki&amp;gt;...&amp;lt;/nowiki&amp;gt;}} is needed around a parameter value if it contains the pipe ({{code|{{!}}}}) or equa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theblockheads.wiki/index.php?title=Template:Samp/doc&amp;diff=25072&amp;oldid=prev"/>
		<updated>2024-08-06T20:27:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation header}} &amp;lt;!-- Documentation here --&amp;gt; {{see also|Template:Code}} This template is a simplified usage of {{code|&amp;lt;nowiki&amp;gt;&amp;lt;samp&amp;gt;...&amp;lt;/samp&amp;gt;&amp;lt;/nowiki&amp;gt;}}, which is used to format sample outputs. Usage of samp is deprecated for filenames, so use {{t|mono}} instead.  == Usage ==  The first anonymous parameter is a string to format. Note that {{code|&amp;lt;nowiki&amp;gt;...&amp;lt;/nowiki&amp;gt;}} is needed around a parameter value if it contains the pipe ({{code|{{!}}}}) or equa...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
&amp;lt;!-- Documentation here --&amp;gt;&lt;br /&gt;
{{see also|Template:Code}}&lt;br /&gt;
This template is a simplified usage of {{code|&amp;lt;nowiki&amp;gt;&amp;lt;samp&amp;gt;...&amp;lt;/samp&amp;gt;&amp;lt;/nowiki&amp;gt;}}, which is used to format sample outputs. Usage of samp is deprecated for filenames, so use {{t|mono}} instead.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
The first anonymous parameter is a string to format. Note that {{code|&amp;amp;lt;nowiki&amp;amp;gt;...&amp;amp;lt;/nowiki&amp;amp;gt;}} is needed around a parameter value if it contains the pipe ({{code|{{!}}}}) or equals ({{code|{{=}}}}) symbols, or they will be treated as a parameter separator or parameter identifier, respectively. Alternatively, you could also use {{code|&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;}} or {{code|&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;}} instead.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
*{{t|samp|text}} – {{samp|text}}&lt;br /&gt;
*{{t|samp|error|3=color=red}} – {{samp|error|color=red}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*{{t|samps}}, which can format multiple strings but does not support attributes&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwiki here --&amp;gt;&lt;br /&gt;
[[Category:Formatting templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwiki here --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>JarlPenguin</name></author>
	</entry>
</feed>