Template:Copied
Text and/or other creative content from [[]] was copied or moved into [[]]. The former page's [ history] now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
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.
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
{{Copied |from= |from_oldid= |to= |date= |Split portions= |diff= |to_diff= |to_oldid= }}
Full
{{Copied
|collapse =
|small =
|from1 =
|from_oldid1 =
|to1 =
|date1 =
|afd1 =
|merge1 =
|diff1 =
|to_diff1 =
|to_oldid1 =
|from2 =
|from_oldid2 =
|to2 =
|date2 =
|afd2 =
|merge2 =
|diff2 =
|to_diff2 =
|to_oldid2 =
}}
Full with notes
{{Copied
|collapse = <!-- Collapses the list of items if set to "yes". Only supported when two or more items are used -->
|small = <!-- Makes the template more compact and float to the right if set to "yes" -->
|from1 = <!-- Name of source page, where the text originally appeared -->
|from_oldid1 = <!-- ID of the page revision of the source page from which the content was copied -->
|to1 = <!-- Name of destination page, where the content was placed -->
|date1 = <!-- Date, time and date, or timestamp that the copying took place at. -->
|afd1 = <!-- Name of AfD page if copying was due to an AfD closed as merge. -->
|merge1 = <!-- If copying was done in the process of merging two pages set this to "yes" -->
|diff1 = <!-- Full URL of the diff page showing the edit when copied content was added -->
|to_diff1 = <!-- Not used if diff is provided. ID of the page revision of the destination page that includes the copied content -->
|to_oldid1 = <!-- Not used if diff is provided. ID of the page revision of the destination page before the content was copied. Omit if page creation. -->
|from2 = <!-- Name of source page, where the text originally appeared -->
|from_oldid2 = <!-- ID of the page revision of the source page from which the content was copied -->
|to2 = <!-- Name of destination page, where the content was placed -->
|date2 = <!-- Date, time and date, or timestamp that the copying took place at. -->
|afd2 = <!-- Name of AfD page if copying was due to an AfD closed as merge. -->
|merge2 = <!-- If copying was done in the process of merging two pages set this to "yes" -->
|diff2 = <!-- Full URL of the diff page showing the edit when copied content was added -->
|to_diff2 = <!-- Not used if diff is provided. ID of the page revision of the destination page that includes the copied content -->
|to_oldid2 = <!-- Not used if diff is provided. ID of the page revision of the destination page before the content was copied. Omit if page creation. -->
}}
TemplateData
TemplateData for Copied
The parameters are as follows
Parameter | Description | Type | Status | |
---|---|---|---|---|
small | small | If set to yes, makes it a smaller right floating message box.
| String | optional |
collapse | collapse | If set to yes, collapses the list.
| String | optional |
from_oldid | from_oldid | The ID of the page revision of the source page from which the content was copied. | Number | required |
from | from | Name of the source page, where the text originally appeared. | Page name | required |
to | to | The destination page, where the content was placed. | Page name | required |
to_oldid | to_oldid | 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.) | Number | optional |
to_diff | to_diff | The ID of the page revision of the destination page that includes the copied content. (May be omitted if diff parameter is used.) | Number | suggested |
diff | diff | 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). | URL | suggested |
date | date | The date, time and date, or timestamp that the copying took place at. | String | suggested |
merge | merge | Changes the text to indicate the copying was done in the process of merging two pages if set to yes | String | optional |
afd | afd | Name of the AfD page if copying was due to an AfD closed as merge. | String | optional |