Template:Code class/doc

来自Valve Developer Community
跳转到导航 跳转到搜索
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Edit-copy.png
这是 Template:Code class 的文档子页面。  
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.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