Template:hc
Revision as of 10:06, 13 August 2018 by archwiki>Lahwaacz (revert the fix for lists because it has some problems)
This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.Block code with header.
- Use Template:bc for block code without header.
- Use Template:ic for inline code.
Usage
1
orhead
: the code in the top pane2
oroutput
: the code in the bottom pane
{{hc|main.h|#include <stdio.h>}}
{{hc|head=main.h|output=#include <stdio.h>}}
Example
main.h
#include <stdio.h>