模板:Split article

模板页面
待春留言 | 贡献2024年3月14日 (四) 10:06的版本 (已从zhwiki:Template:Split_article导入1个版本:​[页面文字原许可:CC BY-SA 4.0;作者请参见来源页面历史])
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
文档图示 模板文档[查看] [编辑] [查看历史] [清除缓存]

When copying material from one article to another, you can put this template on the talk page of the first article (the article the material is copied from), to indicate that its page history contains the GFDL attribution to contributors of the material that lies elsewhere.

Notes also need to be put in edit summaries of both articles; see Qiuwen:拆分条目.

使用方法

{{split article
 | page = 拆分至的頁面名稱
 | diff = 修訂間的差異的網址
 | date = 拆分的時間
 }}

pagedate参数是必要的。

diff参数是选填的,但是使用此参数可让其他人更容易去追踪此拆分。Where the page was created with the split material as the first edit, the diff parameter cannot be accessed in the normal radio button, comparison mode in the page history. Instead, navigate to the permanent link for the first edit, and change the URL of that page to replace "oldid" with "diff". 例如。URL以oldid=271444811结尾,其差异连结只是改成以diff=271444811结尾。

多个拆分

每个参数都可以加上依序的数字来增加项目,所以第2个拆分将使用date2diff2page2,以此类推:

{{ split article
 | page  = 
 | diff  = 
 | date  = 
 | page2 = 
 | diff2 = 
 | date2 = 
 | page3 = 
 | diff3 = 
 | date3 = 
 }}

目前至多支援10个页面。

collapse参数可以收合数个或是全部的列表,设定collapse=yes以收合全部列表,或collapse=4以收合date4之后的项目。

参见

上述文档内容嵌入自Template:Split article/doc编辑 | 历史
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面