Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

Template:Code class

From Valve Developer Community
Jump to: navigation, search
English (en)Русский (ru)中文 (zh)


Blank image.pngTodo: Move translation from deprecated ({{Lang}} template or suf) to this one.
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history

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}}
In code, it is represented by the{{{1}}}class, defined in the{{{2}}}file.
{{code class|CSprite|Sprite.cpp}}
In code, it is represented by theCSpriteclass, defined in theSprite.cppfile.

See also

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