Template:Template doc page transcluded

Katty von Keksburg讨论 | 贡献2022年4月18日 (一) 14:22的版本 (建立内容为“<div class="notice plainlinks" id="template_doc_page_transcluded">''This documentation is Wikipedia:Transclusion|transclude…”的新页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Above is shown the template as it looks.

[阅读] [编辑]Template-info.png 模板文档


Use

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

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.

Test cases

If subpages named /sandbox and /testcases exist, this template generates links to them. See Wikipedia:Template test cases for more detail.