Template:Code class/doc

From Valve Developer Community
< Template:Code class
Revision as of 06:38, 13 December 2021 by Popcorn (talk | contribs) (Created simple doc to Template:Code Class.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Code class.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

Parameters

  • {{{1}}} - The code class where the entity is defined.
  • {{{2}}} - The file in which the code class is defined.
Note.pngNote:A problem with unnamed parameters is that no whitespace is trimmed, so do not enter any extra spaces when using this template. There is no need to enhance this detail.

Examples

{{code class}}
C++ In code, it is represented by the{{{1}}}class, defined in the{{{2}}}file.
{{code class|CSprite|Sprite.cpp}}
C++ In code, it is represented by theCSpriteclass, defined in theSprite.cppfile.

See Also

  • {{Fix}}
  • {{Codenote}}