Jump to content

Template:DocHeader

From SA Docs

{{{header}}}

{{{content}}}


Template Usage

This template is for displaying what is essentially a copy of the Template:Documentation header without having the corresponding box where the content is filled display as well. This allows for more customization if desired and is recommended for any purely code examples.

Usage (Header only)

{{DocHeader|header=Template Example|content=
my cool text
}}

Renders As:

Template Example

my cool text

Usage (Code example):

{{DocHeader|header=Template Example|content=
<syntaxhighlight lang="cpp">
extern "C"
{

}
</syntaxhighlight>
}}

Renders As:

Template Example

extern "C"
{

}