Template:Transclude/doc: Difference between revisions
Jump to navigation
Jump to search
创建页面,内容为“{{Documentation header}} {{p|1}}填的是一个页面,如果{{p|1}}没有指定命名空间的话(且无前导冒号)就会在前面加上"Template:"。 == 示例 == *{{t|transclude|Template:Foo}} → '''{{transclude|Template:Foo}}''' *{{t|transclude|Category:Foo }} → '''{{transclude|Category:Foo}}''' *{{t|transclude|Foo }} → '''{{transclude|Foo}}''' *{{t|transclude|:Foo }} → '''{{transclude|:Foo}}''' *{{t|transclude|:File:Foo }} → '''{{transclude|:…” |
m 1 revision imported |
(No difference)
|
Latest revision as of 12:29, 1 November 2024
[ Purge ]
This is the documentation page, it should be placed in should. See Template:Documentation for more information.|1=
填的是一个页面,如果|1=
没有指定命名空间的话(且无前导冒号)就会在前面加上"Template:"。
示例
- {{transclude|Template:Foo}} → Template:Foo
- {{transclude|Category:Foo}} → Category:Foo
- {{transclude|Foo}} → Template:Foo
- {{transclude|:Foo}} → Foo
- {{transclude|:File:Foo}} → File:Foo
参见
- 维基百科上的Template:Transclude