Template:Documentation: Difference between revisions
Appearance
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..." |
(No difference)
|
Revision as of 00:41, 8 October 2025
Syntax:
{{Documenation|header=my cool header|content=that's some good content}}
Render As:
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: