Template:Code class

来自Valve Developer Community
跳转至: 导航搜索
English (en)Русский (ru)中文 (zh)


Blank image.png待完善: Move translation from deprecated ({{Lang}} template or suf) to this one.
Curly brackets white.png模板文档
Icon-translate.png
Info.png
文档页面 Template:Code class/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。

Usage

Parameters

  • {{{1}}} - The code class where the entity is defined.
  • {{{2}}} - The file in which the code class is defined.
Note.png注意: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}}
在源代码中,它由 class {{{1}}} 代表,定义于 {{{2}}}
{{code class|CSprite|Sprite.cpp}}
在源代码中,它由 class CSprite 代表,定义于 Sprite.cpp

See also

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