Template:Template doc page transcluded/doc

< Template:Template doc page transcluded
自由之民讨论 | 贡献2019年5月26日 (日) 07:03的版本 (创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> == Use == : <code><nowiki><includeonly>{{Te…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是Template:Template doc page transcluded的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。


Use

<includeonly>{{Template doc page transcluded}}</includeonly>
or <includeonly>{{Template doc page transcluded|pagename}}</includeonly>

Place at the top of a template documentation page (usually a "Template:Template name/doc" page) that is transcluded on the template's own page (Template:Template name). If the documentation page is not named "doc" and/or its transclusion is via another subpage (e.g. "Template:Template name/example"), use the second form of syntax above and replace pagename accordingly (i. e. with "example"; it is always supposed that the documentation is on a subpage of the template page.