<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hackrva.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AHc</id>
	<title>Template:Hc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hackrva.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AHc"/>
	<link rel="alternate" type="text/html" href="https://wiki.hackrva.org/index.php?title=Template:Hc&amp;action=history"/>
	<updated>2026-04-15T10:15:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.hackrva.org/index.php?title=Template:Hc&amp;diff=3295&amp;oldid=prev</id>
		<title>Dfire: Created page with &quot;&lt;noinclude&gt;{{DISPLAYTITLE:Template:hc}} {{Template}}  Block code with header.  * Use Template:bc for block code without header. * Use Template:ic for inline code.  ==Usage==  * {{ic|1}} or {{ic|head}}: the code in the top pane * {{ic|2}} or {{ic|output}}: the code in the bottom pane   &lt;nowiki&gt;{{hc|main.h|#include &lt;stdio.h&gt;}}&lt;/nowiki&gt;   &lt;nowiki&gt;{{hc|head=main.h|output=#include &lt;stdio.h&gt;}}&lt;/nowiki&gt;  ==Example==  {{hc|head=main.h|output=#include &lt;stdio.h&gt;}}&lt;/noinclu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackrva.org/index.php?title=Template:Hc&amp;diff=3295&amp;oldid=prev"/>
		<updated>2024-12-03T04:20:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{DISPLAYTITLE:Template:hc}} {{Template}}  Block code with header.  * Use &lt;a href=&quot;/index.php/Template:Bc&quot; title=&quot;Template:Bc&quot;&gt;Template:bc&lt;/a&gt; for block code without header. * Use &lt;a href=&quot;/index.php/Template:Ic&quot; title=&quot;Template:Ic&quot;&gt;Template:ic&lt;/a&gt; for inline code.  ==Usage==  * {{ic|1}} or {{ic|head}}: the code in the top pane * {{ic|2}} or {{ic|output}}: the code in the bottom pane   &amp;lt;nowiki&amp;gt;{{hc|main.h|#include &amp;lt;stdio.h&amp;gt;}}&amp;lt;/nowiki&amp;gt;   &amp;lt;nowiki&amp;gt;{{hc|head=main.h|output=#include &amp;lt;stdio.h&amp;gt;}}&amp;lt;/nowiki&amp;gt;  ==Example==  {{hc|head=main.h|output=#include &amp;lt;stdio.h&amp;gt;}}&amp;lt;/noinclu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{DISPLAYTITLE:Template:hc}}&lt;br /&gt;
{{Template}}&lt;br /&gt;
&lt;br /&gt;
Block code with header.&lt;br /&gt;
&lt;br /&gt;
* Use [[Template:bc]] for block code without header.&lt;br /&gt;
* Use [[Template:ic]] for inline code.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
* {{ic|1}} or {{ic|head}}: the code in the top pane&lt;br /&gt;
* {{ic|2}} or {{ic|output}}: the code in the bottom pane&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{hc|main.h|#include &amp;lt;stdio.h&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{hc|head=main.h|output=#include &amp;lt;stdio.h&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
{{hc|head=main.h|output=#include &amp;lt;stdio.h&amp;gt;}}&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;pre&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt; style=&amp;quot;margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;&amp;quot;&amp;gt;{{{head|{{{1|{{META Error}}}}}}}}&amp;lt;/pre&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;gt;&amp;lt;!-- The line break is needed, otherwise the wiki will generate extraneous paragraphs inside the 2nd pre block --&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt; style=&amp;quot;margin-top: 0; border-top-style:dashed; padding-top: 0.8em;&amp;quot;&amp;gt;{{{output|{{{2|{{META Error}}}}}}}}&amp;lt;/pre&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!-- The &amp;amp;lt;noinclude&amp;gt;&amp;amp;lt;/noinclude&amp;gt; hack is needed to allow wiki markup inside the pre tags; reference: https://en.wikipedia.org/wiki/Help:Wikitext#Pre --&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dfire</name></author>
	</entry>
</feed>