模板:GlobalClassVar/zh
外观
模板文档
| <translate> [[<tvar name=1>Special:MyLanguage/Manual:Global object variables</tvar>|Global object]]:</translate> GlobalClassVar | |
|---|---|
| Summary | |
| <translate> Class:</translate> | <translate> Unspecified</translate> |
| <translate> Located in:</translate> | <translate> Unspecified</translate> |
复制粘贴模板
- 基础使用
{{GlobalClassVar
|name =
|summary =
|class =
|source =
}}
- 所有参数
{{GlobalClassVar
|name =
|summary =
|params =
|class =
|source =
|deprecated =
|removed =
}}
用法注释
- name
- The name of the global class variable.
- summary
- A short description of the object(s) stored in the variable.
- params
- Parameters that need to be passed to the constructor to create the object
- class
- The class that the object stored in this variable in an instance
- source
- The script(s) where the class(es) can be found.
- deprecated
- The version in which the variable was deprecated
- removed
- The version in which the variable was removed