Jump to content

Template:Documentation

From SA Docs
Revision as of 00:41, 8 October 2025 by ItsEasyActually (talk | contribs) (Created page with "<onlyinclude> <div> <p style="border: 1px outset #72777D; border-radius: 20px 20px 0px 0px; background-color: #27292D; padding: 15px;"> 30px <strong>{{{header}}}</strong> </p> <div style="border: 1px outset #72777D; padding: 15px; margin: -16px 0px;"> <div>{{{content}}}</div> </div> </div> </onlyinclude> {{Documentation|header=Template Usage|content= Syntax: <pre>{{Documenation|header=my cool header|content=that's s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{header}}}

{{{content}}}


Template Usage

Syntax:
{{Documenation|header=my cool header|content=that's some good content}}

Render As:

my cool header

that's some good content


Content can also be filled in as normal by doing the following:

{{Documentation|header=Example Code|content=
This is one sentence.

This is another sentence.

<syntaxhighlight lang="cpp">
// This is also showing that other formatting methods are available.
extern "C"
{
    void MyCoolExportFunction()
    {
        
    }
}
</syntaxhighlight>
}}

Which this will render as the following:

Example Code

This is one sentence.

This is another sentence.

// This is also showing that other formatting methods are available.
extern "C"
{
    void MyCoolExportFunction()
    {
        
    }
}