<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.linuxize.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ABox</id>
	<title>Template:Box - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linuxize.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ABox"/>
	<link rel="alternate" type="text/html" href="https://wiki.linuxize.net/index.php?title=Template:Box&amp;action=history"/>
	<updated>2026-10-16T23:17:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://wiki.linuxize.net/index.php?title=Template:Box&amp;diff=795&amp;oldid=prev</id>
		<title>Datanasov: Fix class concatenation: #ifeq strips whitespace, so lz-warn fused with lz-note</title>
		<link rel="alternate" type="text/html" href="https://wiki.linuxize.net/index.php?title=Template:Box&amp;diff=795&amp;oldid=prev"/>
		<updated>2026-08-09T21:05:27Z</updated>

		<summary type="html">&lt;p&gt;Fix class concatenation: #ifeq strips whitespace, so lz-warn fused with lz-note&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 21:05, 9 August 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;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&quot;lz-note{{#ifeq:{{{type|}}}|warning| lz-warn|}}&quot;&amp;gt;{{{1|{{{text|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;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;includeonly&amp;gt;&amp;lt;div class=&quot;lz-note {{#ifeq:{{{type|}}}|warning|lz-warn|}}&quot;&amp;gt;{{{1|{{{text|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;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;div&gt;== Template:Box ==&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;== Template:Box ==&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 my_wiki:diff:1.41:old-794:rev-795:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Datanasov</name></author>
	</entry>
	<entry>
		<id>https://wiki.linuxize.net/index.php?title=Template:Box&amp;diff=794&amp;oldid=prev</id>
		<title>Datanasov: Callout template replacing the removed inline #ae8c55 wrapper</title>
		<link rel="alternate" type="text/html" href="https://wiki.linuxize.net/index.php?title=Template:Box&amp;diff=794&amp;oldid=prev"/>
		<updated>2026-08-09T21:04:32Z</updated>

		<summary type="html">&lt;p&gt;Callout template replacing the removed inline #ae8c55 wrapper&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;div class=&amp;quot;lz-note{{#ifeq:{{{type|}}}|warning| lz-warn|}}&amp;quot;&amp;gt;{{{1|{{{text|}}}}}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Template:Box ==&lt;br /&gt;
&lt;br /&gt;
A callout for a note or a warning. Renders the &amp;lt;code&amp;gt;lz-note&amp;lt;/code&amp;gt; style&lt;br /&gt;
defined in [[MediaWiki:Common.css]].&lt;br /&gt;
&lt;br /&gt;
This replaced the old hand-pasted&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;lt;div style=&amp;quot;border:3px solid #ae8c55…&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt; wrapper, which was&lt;br /&gt;
removed from all 22 articles on 2026-08-09. That wrapper enclosed the whole&lt;br /&gt;
article body and had been rendered invisible by the site CSS; this template is&lt;br /&gt;
for actual callouts instead.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt;) || yes || The note text. Positional works for plain prose.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; || no || &amp;lt;code&amp;gt;warning&amp;lt;/code&amp;gt; gives the red treatment. Anything else, or omitted, gives the default amber note.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Box|Keep rootCA-key.pem on the CA host only.}}&lt;br /&gt;
&lt;br /&gt;
{{Box|type=warning|Any process running as this user can take root without a challenge.}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== A caveat worth knowing ===&lt;br /&gt;
&lt;br /&gt;
Template parameters treat &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; as syntax. Text&lt;br /&gt;
containing either — which is common here, e.g. &amp;lt;code&amp;gt;on | off&amp;lt;/code&amp;gt; or&lt;br /&gt;
&amp;lt;code&amp;gt;ALL=(ALL)&amp;lt;/code&amp;gt; — must be escaped:&lt;br /&gt;
&lt;br /&gt;
* use &amp;lt;code&amp;gt;&amp;amp;amp;#124;&amp;lt;/code&amp;gt; in place of a literal &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt;&lt;br /&gt;
* use &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt; to name the first parameter when the text contains &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Box|1=Set underscores_in_headers on &amp;amp;#124; off; the default is off.}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is precisely why article bodies were never wrapped in this template — a&lt;br /&gt;
whole page of shell commands passed through a parameter would break in dozens&lt;br /&gt;
of places. Keep &amp;lt;code&amp;gt;Box&amp;lt;/code&amp;gt; for short callouts.&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Datanasov</name></author>
	</entry>
</feed>