Bản mẫu:Copied/doc

This template is used to provide documentation that content has been copied to or from other Wikipedia pages and ensure that pages containing necessary attribution aren't deleted. Adding this template on the talk page is not a substitute for attribution in the page history using edit summaries. For more information for when and why this template should be used please see: Wikipedia:Copying within Wikipedia. 

**Usage**
 Be sure to use the exact page names of the articles.- The page names are automatically linked, so this template will not behave as expected if the names are enclosed in link brackets  ( – ).- Any number of items can be included in the same template by enumerating the parameters (from1, from2, from3 and so on). The numbering has to be consecutive. 

**Basic**


**Full**

**Full with notes**

**Tham số**
 from is the name of the source page, where the text originally appeared.- from_oldid is the ID of the page revision of the source page from which the content was copied.
*: From the permanent link url: PAGENAME&oldid=from_oldid- to is the destination page, where the content was placed.- date is the date, time and date, or timestamp that the copying took place at.- afd is the name of the AfD page if copying was due to an AfD closed as merge.- merge changes the text to indicate that copying was done in the process of merging two pages if set to yes.- diff is the diff or permanent link of the destination page edit when the text was placed (in the case of a newly created page: the permanent url of the first version of the destination page).
*: These parameters are alternatives to the above and may be omitted if diff is used (and vice versa):
*:* to_diff is the ID of the page revision of the destination page that includes the copied content.
*:* to_oldid is the ID of the page revision of the destination page before the content was copied. If the copy created the destination page, just omit to_oldid.
*:: From the url: PAGENAME&diff=to_diff&oldid=to_oldid- collapse indicates whether the list of mergers generated when the template is used with multiple items should be collapsed or not. - small is passed on to the Tmbox that is used to generate the message box. If set to yes, makes it a smaller right floating message box.

**Ví dụ**
----

**Tracking categories**
 Trang Wikipedia sử dụng bản mẫu copied- Trang Wikipedia sử dụng bản mẫu copied không chứa oldid

**TemplateData**
{
	"params": {
		"small": {
			"description": "If set to yes, makes it a smaller right floating message box.",
			"example": "yes",
			"type": "string"
		},
		"collapse": {
			"description": "If set to yes, collapses the list.",
			"example": "yes",
			"type": "string"
		},
		"from_oldid": {
			"description": "The ID of the page revision of the source page from which the content was copied.",
			"type": "number",
			"required": true
		},
		"from": {
			"description": "Name of the source page, where the text originally appeared.",
			"type": "string",
			"required": true
		},
		"to": {
			"description": "The destination page, where the content was placed.",
			"type": "string",
			"required": true
		},
		"to_oldid": {
			"description": "The ID of the page revision of the destination page before the content was copied. If the copy created the destination page, just omit to_oldid. (May be omitted if diff parameter is used.)",
			"type": "number"
		},
		"to_diff": {
			"description": "The ID of the page revision of the destination page that includes the copied content. (May be omitted if diff parameter is used.)",
			"type": "number",
			"suggested": true
		},
		"diff": {
			"description": "The diff or permanent link of the destination page edit when the text was placed (in the case of a newly created page: the permanent url of the first version of the destination page).",
			"type": "url",
			"suggested": true
		},
		"date": {
			"description": "The date, time and date, or timestamp that the copying took place at.",
			"type": "string",
			"suggested": true
		},
		"merge": {
			"description": "Changes the text to indicate the copying was done in the process of merging two pages if set to yes",
			"type": "string",
			"suggested": false
		},
		"afd": {
			"description": "Name of the AfD page if copying was due to an AfD closed as merge.",
			"type": "string",
			"suggested": false
		}
	},
	"format": "block",
	"description": "The parameters are as follows"
}

**See also**
 Merged-from- Merged-to- Split article- Translated page for pages translated from other language Wikipedias