<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Help_talk%3ATemplates</id>
	<title>Help talk:Templates - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Help_talk%3ATemplates"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;action=history"/>
	<updated>2026-06-19T15:08:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22516&amp;oldid=prev</id>
		<title>DoggoBit: /* Use of file template vs syntaxhighlight */ Reply</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22516&amp;oldid=prev"/>
		<updated>2025-06-08T00:04:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Use of file template vs syntaxhighlight: &lt;/span&gt; Reply&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 00:04, 8 June 2025&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-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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;:I disagree, but only in nuance. Using {{template link|file}} gives us a &amp;quot;semantic handle&amp;quot; to lift and shift to whatever implementation we want in the future. In this direction, I added {{template link|code}}, which {{template link|file}} could easily use. However, I would propose we delete {{template link|bc}}, {{template link|ic}} and {{template link|commands}}, as they have no syntax highlighting, being functionally obsolete now.&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;:I disagree, but only in nuance. Using {{template link|file}} gives us a &amp;quot;semantic handle&amp;quot; to lift and shift to whatever implementation we want in the future. In this direction, I added {{template link|code}}, which {{template link|file}} could easily use. However, I would propose we delete {{template link|bc}}, {{template link|ic}} and {{template link|commands}}, as they have no syntax highlighting, being functionally obsolete now.&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;:But in general, I think we should avoid using raw tags if possible inside articles.[[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 21:04, 5 June 2025 (UTC)&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;:But in general, I think we should avoid using raw tags if possible inside articles.[[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 21:04, 5 June 2025 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;::As an update, now {{tl|file}} uses {{tl|code}} under the hood. This allowed us to lift and shift all file blocks easily to include the copy functionality. However {{tl|bc}} and {{tl|ic}} and {{tl|commands}} are no longer necessary. [[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 00:04, 8 June 2025 (UTC)&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;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;== Merge proposal between [[Template:Security Warning]] and [[Template:Warning]] ==&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;== Merge proposal between [[Template:Security Warning]] and [[Template:Warning]] ==&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;This is a notice to notify anyone interested in the topic of templates that I have proposed merging the two templates. Further information can be found at {{talk page link|talk=Template talk:Security Warning|its discussion page}} [[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 19:03, 5 June 2025 (UTC)&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;This is a notice to notify anyone interested in the topic of templates that I have proposed merging the two templates. Further information can be found at {{talk page link|talk=Template talk:Security Warning|its discussion page}} [[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 19:03, 5 June 2025 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-22503:rev-22516:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>DoggoBit</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22503&amp;oldid=prev</id>
		<title>DoggoBit: DoggoBit moved page Help talk:Template to Help talk:Templates: better name</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22503&amp;oldid=prev"/>
		<updated>2025-06-07T23:38:59Z</updated>

		<summary type="html">&lt;p&gt;DoggoBit moved page &lt;a href=&quot;/wiki/Help_talk:Template&quot; class=&quot;mw-redirect&quot; title=&quot;Help talk:Template&quot;&gt;Help talk:Template&lt;/a&gt; to &lt;a href=&quot;/wiki/Help_talk:Templates&quot; title=&quot;Help talk:Templates&quot;&gt;Help talk:Templates&lt;/a&gt;: better name&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 23:38, 7 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-22210:rev-22503 --&gt;
&lt;/table&gt;</summary>
		<author><name>DoggoBit</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22210&amp;oldid=prev</id>
		<title>DoggoBit: /* Use of file template vs syntaxhighlight */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22210&amp;oldid=prev"/>
		<updated>2025-06-05T21:04:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Use of file template vs syntaxhighlight&lt;/span&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 21:04, 5 June 2025&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-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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;The main caveat to using the syntaxhighlight tag is the koss of the filename at the top of the codeblock. That could be addresses by recommending putting it at the top of the codeblock in a comment, or ideally somehow adding a MediaWiki extension to allow the file name to be added to the top in mich the same way as the template (which afaik is possible, but I&amp;#039;ve never written MediaWiki extensions so not entirely sure what it involves yet). [[User:Fidgetingbits|Fidgetingbits]] ([[User talk:Fidgetingbits|talk]]) 13:23, 26 October 2024 (UTC)&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;The main caveat to using the syntaxhighlight tag is the koss of the filename at the top of the codeblock. That could be addresses by recommending putting it at the top of the codeblock in a comment, or ideally somehow adding a MediaWiki extension to allow the file name to be added to the top in mich the same way as the template (which afaik is possible, but I&amp;#039;ve never written MediaWiki extensions so not entirely sure what it involves yet). [[User:Fidgetingbits|Fidgetingbits]] ([[User talk:Fidgetingbits|talk]]) 13:23, 26 October 2024 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;:I disagree, but only in nuance. Using {{template link|file}} gives us a &quot;semantic handle&quot; to lift and shift to whatever implementation we want in the future. In this direction, I added {{template link|code}}, which {{template link|file}} could easily use. However, I would propose we delete {{template link|bc}}, {{template link|ic}} and {{template link|commands}}, as they have no syntax highlighting, being functionally obsolete now.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;:But in general, I think we should avoid using raw tags if possible inside articles.[[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 21:04, 5 June 2025 (UTC)&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;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;== Merge proposal between [[Template:Security Warning]] and [[Template:Warning]] ==&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;== Merge proposal between [[Template:Security Warning]] and [[Template:Warning]] ==&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;This is a notice to notify anyone interested in the topic of templates that I have proposed merging the two templates. Further information can be found at {{talk page link|talk=Template talk:Security Warning|its discussion page}} [[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 19:03, 5 June 2025 (UTC)&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;This is a notice to notify anyone interested in the topic of templates that I have proposed merging the two templates. Further information can be found at {{talk page link|talk=Template talk:Security Warning|its discussion page}} [[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 19:03, 5 June 2025 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-22158:rev-22210:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>DoggoBit</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22158&amp;oldid=prev</id>
		<title>DoggoBit: /* Merge proposal between Template:Security Warning and Template:Warning */ new section</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=22158&amp;oldid=prev"/>
		<updated>2025-06-05T19:03:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Merge proposal between Template:Security Warning and Template:Warning: &lt;/span&gt; new section&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 19:03, 5 June 2025&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-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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;The main caveat to using the syntaxhighlight tag is the koss of the filename at the top of the codeblock. That could be addresses by recommending putting it at the top of the codeblock in a comment, or ideally somehow adding a MediaWiki extension to allow the file name to be added to the top in mich the same way as the template (which afaik is possible, but I&amp;#039;ve never written MediaWiki extensions so not entirely sure what it involves yet). [[User:Fidgetingbits|Fidgetingbits]] ([[User talk:Fidgetingbits|talk]]) 13:23, 26 October 2024 (UTC)&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;The main caveat to using the syntaxhighlight tag is the koss of the filename at the top of the codeblock. That could be addresses by recommending putting it at the top of the codeblock in a comment, or ideally somehow adding a MediaWiki extension to allow the file name to be added to the top in mich the same way as the template (which afaik is possible, but I&amp;#039;ve never written MediaWiki extensions so not entirely sure what it involves yet). [[User:Fidgetingbits|Fidgetingbits]] ([[User talk:Fidgetingbits|talk]]) 13:23, 26 October 2024 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;== Merge proposal between [[Template:Security Warning]] and [[Template:Warning]] ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;This is a notice to notify anyone interested in the topic of templates that I have proposed merging the two templates. Further information can be found at {{talk page link|talk=Template talk:Security Warning|its discussion page}} [[User:DoggoBit|DoggoBit]] ([[User talk:DoggoBit|talk]]) 19:03, 5 June 2025 (UTC)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-18120:rev-22158:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>DoggoBit</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=18120&amp;oldid=prev</id>
		<title>Fidgetingbits: /* Use of file template vs syntaxhighlight */ new section</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Help_talk:Templates&amp;diff=18120&amp;oldid=prev"/>
		<updated>2024-10-26T13:23:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Use of file template vs syntaxhighlight: &lt;/span&gt; new section&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Use of file template vs syntaxhighlight ==&lt;br /&gt;
&lt;br /&gt;
This page currently recommends &amp;lt;nowiki&amp;gt;{{file}}&amp;lt;/nowiki&amp;gt; template over the &amp;lt;nowiki&amp;gt;&amp;lt;syntaxhighlight&amp;gt;&amp;lt;/nowiki&amp;gt; tag, but I&amp;#039;d like to propose we change that around for two reasons.&lt;br /&gt;
&lt;br /&gt;
1) As of the next release of MediaWiki 1.43 there will be a [https://m.mediawiki.org/wiki/Extension:SyntaxHighlight copy flag] added to the tag, which adds a button allowing you to copy the entire code block. This is especially useful for accessibility (I happen to be a voice coder, so front of mind). I would like to see all existing code blocks get auto updated to include the copy flag once the update happens.&lt;br /&gt;
&lt;br /&gt;
2) The ability to include line numbers and highlights to referenced code is much clearer (I think), so having people use the tag instead of the template makes it easier to make edits when improving other people&amp;#039;s content. For example see the highlighting added to the vscode + language support section here [http://wiki.nixos.org/wiki/Java here].&lt;br /&gt;
&lt;br /&gt;
The main caveat to using the syntaxhighlight tag is the koss of the filename at the top of the codeblock. That could be addresses by recommending putting it at the top of the codeblock in a comment, or ideally somehow adding a MediaWiki extension to allow the file name to be added to the top in mich the same way as the template (which afaik is possible, but I&amp;#039;ve never written MediaWiki extensions so not entirely sure what it involves yet). [[User:Fidgetingbits|Fidgetingbits]] ([[User talk:Fidgetingbits|talk]]) 13:23, 26 October 2024 (UTC)&lt;/div&gt;</summary>
		<author><name>Fidgetingbits</name></author>
	</entry>
</feed>