Template:CD/doc/zh: Difference between revisions
< Template:CD | doc
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→用法: clean up, replaced: {{tip:zh-cn → {{tip) |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Doc/subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page.) --> | <!-- Please place categories where indicated at the bottom of this page.) --> | ||
此模板用于为实体生成类(Class)层次结构。 | 此模板用于为实体生成类(Class)层次结构。 | ||
== 用法 == | == 用法 == | ||
<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}} |
|