zh.m.wikipedia.org
Template:Testcases notice
(重定向自​Template:Template testcases notice
这是​Template:Testcases notice​及其​沙盒​的​测试样例​。​刷新本页​以更新内容。
如果这里有许多复杂的模板的用例,可能会因为​MediaWiki的技术限制​而出错。
您还可以用​Special:展开模板​来测试模板的使用效果。
您可以通过以下链接测试本模板在不同皮肤下的效果:
Vector MonoBook 现代 科隆香水蓝Timeless MinervaNeue
模板文档[查看] [编辑] [历史] [清除缓存]
此模板目前缺乏相關中文​使用說明​
請能清楚敘述本模板的用途及使用方法的編輯者協助​編寫說明文件​或者翻譯其他語言版本。
本模板可能使用了​模板參數​,若無完整的使用說明將不便於他人了解、引用、維護與修改。
{{Testcases notice}} is meant to be placed at the top of a /testcases page, i.e. a page where a test version (a "sandbox" version) of (usually) a template and its parameters is tested and (usually) compared with the version currently in use (the "main" version). For further information about template sandboxes and testcase pages, see Wikipedia:Template sandbox and test cases.
用法
{{Testcases notice}}, i.e. the template without any parameters, produces the notice as formatted above.
参数
You may specify the link to the associated sandbox page using the parameter sandboxlink:
{{Testcases notice |sandboxlink=../[alternate sandbox name here]}}
You may also specify that some other text is substituted for the word "sandbox" shown in the template using the parameter sandboxname:
{{Testcases notice |sandboxlink=../[alternate sandbox name here] |sandboxname=[alternate to "sandbox" here]}}
{{Testcases notice | [template name] | purgelink = | sandboxlink = | sandboxname = | category = | style = }}
{{{1}}}  (i.e. first unnamed parameter)
Full name of the template being tested on the page, including the "Template:" prefix. If omitted, the default is the base page of the test cases page. Be careful not to use any leading or trailing spaces with this parameter, as they will affect the display of the template link.
sandboxlink  (or sandbox link)
The page that the sandbox link in the message targets. Can be an absolute page name, or relative to the test cases page. The default is "../sandbox".
sandboxname  (or sandbox name)
The text shown for the sandbox link. The default is "sandbox".
category
Category and sort key to use for the test cases page instead of the default of [[Category:Template test cases|{{PAGENAME}}]]​. When using this parameter, the double square brackets and "Category:" prefix are required. To suppress the category, use |category= (i.e. category without any value).
subpage-name
(deprecated)  Sets the sandboxlink and sandboxname parameters at the same time. The value is prefixed with "../" for the sandbox link, so must be a page name relative to the base page. For example, subpage-name=sandbox3 implies sandboxlink=../sandbox3 |sandboxname=sandbox3​.
参见
上述​文档​嵌入​自​Template:Testcases notice/doc。 (编辑 | 历史)
编者可以在本模板的沙盒 (编辑 | 差异)和测试样例 (编辑)页面进行实验。
请在​/doc​子页面中添加分类。​本模板的子页面​
最后编辑于2019年9月9日 (星期一) 00:07
维基百科
除非另有声明,本网站内容采用​CC BY-SA 3.0授权。
隐私政策
使用条款
桌面版
首页随机 附近 登录 设置 资助维基百科关于维基百科免责声明
语言监视编辑