模板:Hc:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第1行: 第1行:
<templatestyles src="Hc/style.css" /><noinclude>{{Documentation}}</noinclude><includeonly><div class="templ--hc__box"><pre<noinclude></noinclude> class="templ--hc__box-header">{{{head|{{{1|{{META Error}}}}}}}}</pre<noinclude></noinclude>><!-- The line break is needed, otherwise the wiki will generate extraneous paragraphs inside the 2nd pre block -->
<templatestyles src="Hc/style.css" /><noinclude>{{Documentation}}</noinclude><includeonly><div class="templ-hc"><div class="unique-title">{{head|{{{1|}}}}}}</div><div class="unique-content">{{{output|{{{2|}}}}}}</div></div></includeonly>
<div class="templ--hc__box-content">{{{output|{{{2|{{META Error}}}}}}}}</div></div></includeonly>

2026年11月25日 (三) 14:27的版本

模板文档[查看] [编辑] [历史] [刷新]

Block code with header.

Usage

  • 1 or head: the code in the top pane
  • 2 or output: the code in the bottom pane
{{hc|main.h|#include <stdio.h>}}
{{hc|head=main.h|output=<syntaxhighlight lang="bash">
#include <stdio.h></syntaxhighlight>}}

Example

#include <stdio.h>