Template:Hc: Difference between revisions

From Buddhism Chat
Created page with "<noinclude>{{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 <nowiki>{{hc|main.h|#include <stdio.h>}}</nowiki> <nowiki>{{hc|head=main.h|output=#include <stdio.h>}}</nowiki> ==Example== {{hc|head=main.h|output=#include <stdio.h>}}</noinclu..."
 
(No difference)

Latest revision as of 23:52, 19 February 2023

This page is a template. It contains no article-related information, but should be used as part of other articles.

Please do not experiment with this template; you could ruin all pages using this template.

Block code with header.

Usage[edit source]

  • 1 or head: the code in the top pane
  • 2 or output: the code in the bottom pane
{{hc|main.h|#include <stdio.h>}}
{{hc|head=main.h|output=#include <stdio.h>}}

Example[edit source]

main.h
#include <stdio.h>