<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vasp.at/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACL</id>
	<title>Template:CL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vasp.at/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACL"/>
	<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=Template:CL&amp;action=history"/>
	<updated>2026-04-11T20:01:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=Template:CL&amp;diff=35019&amp;oldid=prev</id>
		<title>Singraber at 13:18, 18 March 2026</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=Template:CL&amp;diff=35019&amp;oldid=prev"/>
		<updated>2026-03-18T13:18:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:18, 18 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{2|}}}{| style=&quot;width:100%; table-layout: fixed; border-spacing: 0; padding: 0; margin: 0; background-color: #f8f9fa; color: #000; border-width: 1px; border-style: solid; border-color: rgb(234, 236, 240);&quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{2|}}}{| style=&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;white-space: pre; &lt;/ins&gt;width:100%; table-layout: fixed&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; font-family: monospace; line-height: 1em&lt;/ins&gt;; border-spacing: 0; padding: 0; margin: 0; background-color: #f8f9fa; color: #000; border-width: 1px; border-style: solid; border-color: rgb(234, 236, 240);&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{#tag:pre|{{{1}}}|&lt;/del&gt;style=&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;margin: 0; padding&lt;/del&gt;: {{{3|1em}}}&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; background: none; border: none; white-space: pre&lt;/del&gt;; overflow-x: auto; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;font-family&lt;/del&gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;monospace&lt;/del&gt;;&quot;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div &lt;/ins&gt;style=&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;width&lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;calc(100% - 3*&lt;/ins&gt;{{{3|1em}}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;; overflow-x: auto; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;float&lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;left&lt;/ins&gt;; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;padding: {{{3|1em}}}&lt;/ins&gt;&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;{{{1}&lt;/ins&gt;}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-vw:diff::1.12:old-35017:rev-35019 --&gt;
&lt;/table&gt;</summary>
		<author><name>Singraber</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=Template:CL&amp;diff=35017&amp;oldid=prev</id>
		<title>Singraber at 13:18, 18 March 2026</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=Template:CL&amp;diff=35017&amp;oldid=prev"/>
		<updated>2026-03-18T13:18:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:18, 18 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  MY_SPECIAL_TAG = A B C&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  MY_SPECIAL_TAG = A B C&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;However, this syntax does not allow indenting, e.g., in lists. The &amp;lt;code&amp;gt;CL&amp;lt;/code&amp;gt; (as in &#039;&#039;&#039;C&#039;&#039;&#039;ode &#039;&#039;&#039;L&#039;&#039;&#039;ine) template allows the box to be indented any level. At the same time usage of nested templates, e.g., using [[Template:TAG]] inside works (does not work with &amp;lt;code&amp;gt;:&amp;lt;pre&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;.{{NB|mind|This template is intended for a single line only! The For multi-line code blocks use [[Template:CB]] instead, however, this does not support nested templates.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;However, this syntax does not allow indenting, e.g., in lists. The &amp;lt;code&amp;gt;CL&amp;lt;/code&amp;gt; (as in &#039;&#039;&#039;C&#039;&#039;&#039;ode &#039;&#039;&#039;L&#039;&#039;&#039;ine) template allows the box to be indented any level. At the same time usage of nested templates, e.g., using [[Template:TAG]] inside works (does not work with &amp;lt;code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&amp;lt;nowiki&lt;/ins&gt;&amp;gt;:&amp;lt;pre&amp;gt;...&amp;lt;/pre&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&amp;lt;/nowiki&lt;/ins&gt;&amp;gt;&amp;lt;/code&amp;gt;.{{NB|mind|This template is intended for a single line only! The For multi-line code blocks use [[Template:CB]] instead, however, this does not support nested templates.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Parameters ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Parameters ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;nowiki&amp;gt; {{CL|&amp;lt;content&amp;gt;|&amp;lt;&amp;lt;indent&amp;gt;&amp;gt;|&amp;lt;&amp;lt;padding&amp;gt;&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;nowiki&amp;gt; {{CL|&amp;lt;content&amp;gt;|&amp;lt;&amp;lt;indent&amp;gt;&amp;gt;|&amp;lt;&amp;lt;padding&amp;gt;&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt;: The content of the code &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;block&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt;: The content of the code &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;line&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;indent&amp;lt;/code&amp;gt;: (&amp;#039;&amp;#039;&amp;#039;optional&amp;#039;&amp;#039;&amp;#039;) Allows to indent the whole box with regular colon sign. Use multiple &amp;quot;:&amp;quot; signs to get any level of indentation. Can be left empty if no indentation is needed but &amp;lt;code&amp;gt;padding&amp;lt;/code&amp;gt; is required. Any other character than &amp;quot;:&amp;quot; may produce unexpected results!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;indent&amp;lt;/code&amp;gt;: (&amp;#039;&amp;#039;&amp;#039;optional&amp;#039;&amp;#039;&amp;#039;) Allows to indent the whole box with regular colon sign. Use multiple &amp;quot;:&amp;quot; signs to get any level of indentation. Can be left empty if no indentation is needed but &amp;lt;code&amp;gt;padding&amp;lt;/code&amp;gt; is required. Any other character than &amp;quot;:&amp;quot; may produce unexpected results!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;padding&amp;lt;/code&amp;gt;: (&amp;#039;&amp;#039;&amp;#039;optional&amp;#039;&amp;#039;&amp;#039;) Specifies the padding of the code box, the default is &amp;lt;code&amp;gt;1em&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;padding&amp;lt;/code&amp;gt;: (&amp;#039;&amp;#039;&amp;#039;optional&amp;#039;&amp;#039;&amp;#039;) Specifies the padding of the code box, the default is &amp;lt;code&amp;gt;1em&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-vw:diff::1.12:old-35016:rev-35017 --&gt;
&lt;/table&gt;</summary>
		<author><name>Singraber</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=Template:CL&amp;diff=35016&amp;oldid=prev</id>
		<title>Singraber: Created page with &quot;{{{2|}}}{| style=&quot;width:100%; table-layout: fixed; border-spacing: 0; padding: 0; margin: 0; background-color: #f8f9fa; color: #000; border-width: 1px; border-style: solid; border-color: rgb(234, 236, 240);&quot; |{{#tag:pre|{{{1}}}|style=&quot;margin: 0; padding: {{{3|1em}}}; background: none; border: none; white-space: pre; overflow-x: auto; font-family: monospace;&quot;}} |}&lt;noinclude&gt;  == Purpose == Create a code line which can be indented with the usual &lt;code&gt;:&lt;/code&gt; indentation...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=Template:CL&amp;diff=35016&amp;oldid=prev"/>
		<updated>2026-03-18T13:16:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{{2|}}}{| style=&amp;quot;width:100%; table-layout: fixed; border-spacing: 0; padding: 0; margin: 0; background-color: #f8f9fa; color: #000; border-width: 1px; border-style: solid; border-color: rgb(234, 236, 240);&amp;quot; |{{#tag:pre|{{{1}}}|style=&amp;quot;margin: 0; padding: {{{3|1em}}}; background: none; border: none; white-space: pre; overflow-x: auto; font-family: monospace;&amp;quot;}} |}&amp;lt;noinclude&amp;gt;  == Purpose == Create a code line which can be indented with the usual &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; indentation...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{{2|}}}{| style=&amp;quot;width:100%; table-layout: fixed; border-spacing: 0; padding: 0; margin: 0; background-color: #f8f9fa; color: #000; border-width: 1px; border-style: solid; border-color: rgb(234, 236, 240);&amp;quot;&lt;br /&gt;
|{{#tag:pre|{{{1}}}|style=&amp;quot;margin: 0; padding: {{{3|1em}}}; background: none; border: none; white-space: pre; overflow-x: auto; font-family: monospace;&amp;quot;}}&lt;br /&gt;
|}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
Create a code line which can be indented with the usual &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; indentation marker. Normally, a preformatted text block can be inserted with an additional space in the beginning, e.g.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; MY_SPECIAL_TAG = A B C&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will print as:&lt;br /&gt;
&lt;br /&gt;
 MY_SPECIAL_TAG = A B C&lt;br /&gt;
&lt;br /&gt;
However, this syntax does not allow indenting, e.g., in lists. The &amp;lt;code&amp;gt;CL&amp;lt;/code&amp;gt; (as in &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;ode &amp;#039;&amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;#039;ine) template allows the box to be indented any level. At the same time usage of nested templates, e.g., using [[Template:TAG]] inside works (does not work with &amp;lt;code&amp;gt;:&amp;lt;pre&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;.{{NB|mind|This template is intended for a single line only! The For multi-line code blocks use [[Template:CB]] instead, however, this does not support nested templates.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; {{CL|&amp;lt;content&amp;gt;|&amp;lt;&amp;lt;indent&amp;gt;&amp;gt;|&amp;lt;&amp;lt;padding&amp;gt;&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt;: The content of the code block.&lt;br /&gt;
* &amp;lt;code&amp;gt;indent&amp;lt;/code&amp;gt;: (&amp;#039;&amp;#039;&amp;#039;optional&amp;#039;&amp;#039;&amp;#039;) Allows to indent the whole box with regular colon sign. Use multiple &amp;quot;:&amp;quot; signs to get any level of indentation. Can be left empty if no indentation is needed but &amp;lt;code&amp;gt;padding&amp;lt;/code&amp;gt; is required. Any other character than &amp;quot;:&amp;quot; may produce unexpected results!&lt;br /&gt;
* &amp;lt;code&amp;gt;padding&amp;lt;/code&amp;gt;: (&amp;#039;&amp;#039;&amp;#039;optional&amp;#039;&amp;#039;&amp;#039;) Specifies the padding of the code box, the default is &amp;lt;code&amp;gt;1em&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Without optional arguments the following example&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{CL|MY_SPECIAL_TAG {{=}} A B C}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives:&lt;br /&gt;
&lt;br /&gt;
{{CL|MY_SPECIAL_TAG {{=}} A B C}}&lt;br /&gt;
&lt;br /&gt;
This should be very close to the regular preformatted text boxes we can obtain via MediaWiki syntax. Here are two examples for indentation levels:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{CL|MY_SPECIAL_TAG {{=}} A B C|:}}&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{CL|MY_SPECIAL_TAG {{=}} A B C|::}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
results in:&lt;br /&gt;
&lt;br /&gt;
{{CL|MY_SPECIAL_TAG {{=}} A B C|:}}&lt;br /&gt;
{{CL|MY_SPECIAL_TAG {{=}} A B C|::}}&lt;br /&gt;
&lt;br /&gt;
Note that the boxes are correctly indented one and two levels. The padding can be reduced with the optional argument, e.g.:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{CL|MY_SPECIAL_TAG {{=}} A B C|:|0.5em}}&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{CL|MY_SPECIAL_TAG {{=}} A B C|::|0.5em}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives this:&lt;br /&gt;
&lt;br /&gt;
{{CL|MY_SPECIAL_TAG {{=}} A B C|:|0.5em}}&lt;br /&gt;
{{CL|MY_SPECIAL_TAG {{=}} A B C|::|0.5em}}&lt;br /&gt;
&lt;br /&gt;
Finally, the padding can also be specified without any indentation:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{CL|MY_SPECIAL_TAG {{=}} A B C||0.5em}}&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
shows as:&lt;br /&gt;
&lt;br /&gt;
{{CL|MY_SPECIAL_TAG {{=}} A B C||0.5em}}&lt;br /&gt;
&lt;br /&gt;
== Problems and workarounds ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt; cannot contain the &amp;quot;=&amp;quot; or &amp;quot;|&amp;quot; character because this has a special meaning for named template parameters. Therefore, we have to use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; template, respectively.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Singraber</name></author>
	</entry>
</feed>