Jump to content

Template:Hbc: Difference between revisions

From KDE Community Wiki
Ashark (talk | contribs)
m Text replacement - "{{hc" to "{{hbc"
Ashark (talk | contribs)
m Edit displaytitle after renaming template
Line 1: Line 1:
<noinclude>{{DISPLAYTITLE:Template:hc}}
<noinclude>{{DISPLAYTITLE:Template:hbc}}
{{Template}}
{{Template}}



Revision as of 11:18, 29 September 2023

This page is a template, editing it will affect all the pages that make use of it, so users should be especially careful when editing it. For more details on how to use templates see "A Quick Guide to Templates"

Block code with header.

Usage

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

Example

main.h
#include <stdio.h>