模板:\sandbox
外观
This page is not a sandbox and must not be used for test editing. To experiment, use a sandbox. |
Usage
[编辑]Returns "/sandbox" if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothing.
This can be useful to e.g. switch the version of a template used in its /doc[umentation] to the version in its sandbox (by replacing {{template_name ... on the /doc page with {{template_name{{\sandbox}} ...) when that documentation is transcluded on the template's sandbox page.
上述文档嵌入自Template:\sandbox/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。 本模板的子页面。 |