Template:Code class/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (clean up, replaced: See Also → See also, {{Documentation subpage → {{Doc/subpage)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
<!-- Please place categories where indicated at the bottom of this page.) -->
{{tdeprecated|CD}}
== Usage ==
== Usage ==
=== Parameters ===
=== Parameters ===
Line 19: Line 19:


== See also ==
== See also ==
* {{tl|Fix}}
* {{t|Fix}}
* {{tl|Codenote}}
* {{t|Codenote}}





Latest revision as of 10:18, 9 September 2024

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.
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{CD}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

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