Jump to content

Template:hbc

From KDE Community Wiki
Revision as of 11:21, 29 September 2023 by Ashark (talk | contribs) (Usage examples and parameters in separate section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Parameters

  • 1 or head: the code in the top pane
  • 2 or output: the code in the bottom pane

Usage examples

With fully named parameters:

{{hbc|head=main.h|output=#include <stdio.h>}}

Without parameter names:

{{hbc|main.h|#include <stdio.h>}}

Result

main.h
#include <stdio.h>