Template:CD/doc/zh: Difference between revisions
< Template:CD | doc
Jump to navigation
Jump to search
m (Nescius moved page Template:CD:zh-cn/doc to Template:CD/doc/zh without leaving a redirect) |
No edit summary |
||
Line 4: | Line 4: | ||
== 用法 == | == 用法 == | ||
<nowiki>{{CD | <nowiki>{{CD|<实体 class>|file1=<在哪里定义 class 的文件>}}</nowiki> | ||
{{tip|如果某些类名的模板失败,请尝试使用 [[Template:CD2]]}} | {{tip|如果某些类名的模板失败,请尝试使用 [[Template:CD2]]}} | ||
Line 10: | Line 10: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| <nowiki>{{CD | | <nowiki>{{CD|CGasCan|file1=somefile.cpp}}</nowiki> | ||
| {{CD | | {{CD|CGasCan|file1=somefile.cpp}} | ||
|} | |} |
Latest revision as of 04:52, 3 August 2024

This is a documentation subpage for Template:CD.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
此模板用于为实体生成类(Class)层次结构。
用法
{{CD|<实体 class>|file1=<在哪里定义 class 的文件>}}

示例和参数
{{CD|CGasCan|file1=somefile.cpp}} |
|