Template:hc

From Open Mower Wiki
Revision as of 14:06, 20 May 2024 by Damme (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Template

Block code with header.

Usage

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

Example

main.h
#include <stdio.h>