Template:hc
Utseende
{{[[Mall:{{{1}}}|{{{1}}}]]}}
Block code with header.
- Use Template:bc for block code without header.
- Use Template:ic for inline code.
Usage
[redigera wikitext]1orhead: the code in the top pane2oroutput: the code in the bottom pane
{{hc|main.h|#include <stdio.h>}}
{{hc|head=main.h|output=#include <stdio.h>}}
Example
[redigera wikitext]main.h
#include <stdio.h>