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 so long as the latter page exists. |
![]() | 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. For more information for when and why this template should be used please see Wikipedia:Copying within Wikipedia.
Contents
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=|to_diff=}}
Full
{{Copied |small = |collapse = |from1 = |from_oldid1 = |to1 = |diff1 = |to_diff1 = |to_oldid1 = |date1 = |afd1 = |merge1 = |from2 = |from_oldid2 = |to2 = |diff2 = |to_diff2 = |to_oldid2 = |date2 = |afd2 = |merge2 = }}
Full with notes
{{Copied
|small = <!-- Makes the template more compact and float to the right if set to "yes" -->
|collapse = <!-- Collapses the list of items if set to "yes". Only supported when two or more items are used -->
|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 -->
|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. -->
|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" -->
|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 -->
|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. -->
|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" -->
}}
Cut/paste model
For a single page, you may paste the following and substitute in the correct values:
{{Copied |from=SRC |from_oldid=SRC-REV |to=DEST |to_diff=DEST-COPYTO-REV |to_oldid=DEST-PREV-REV |date=DATE}}
Parameters
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:
http://en.wikipedia.org/w/index.php?title=PAGENAME&oldid=from_oldid
- From the permanent link url:
to
is the destination page, where the content was placed.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:
http://en.wikipedia.org/w/index.php?title=PAGENAME&diff=to_diff&oldid=to_oldid
- These parameters are alternatives to the above and may be omitted if
date
is the date, time and date, or timestamp that the copying took place at.
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.collapse
indicates whether the list of mergers generated when the template is used with multiple items should be collapsed or not.merge
changes the text to indicate that copying was done in the process of merging two pages if set to yes.
Example
{{Copied |from=Squirrel |from_oldid=345129608 |to=Tree squirrel |diff=http://en.wikipedia.org/w/index.php?title=Tree_squirrel&diff=345159499&oldid=301353806 |date=01:00, 01 January 2011}}
and{{Copied |from=Squirrel |from_oldid=345129608 |to=Tree squirrel |to_diff=345159499 |to_oldid=301353806 |date=01:00, 01 January 2011}}
- both display:
![]() | Text and/or other creative content from this version of Squirrel was copied or moved into Tree squirrel with this edit on 01:00, 01 January 2011. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted so long as the latter page exists. |
{{Copied |from1 = Complementary angles |from_oldid1 = 578599984 |to1 = Angle |diff1 = https://en.wikipedia.org/w/index.php?title=Angle&diff=582478251&oldid=582477194 |date1 = 04:36, 20 November 2013 |from2 = Supplementary angles |from_oldid2 = 577395663 |to2 = Angle |diff2 = https://en.wikipedia.org/w/index.php?title=Angle&diff=582478879&oldid=582478251 |date2 = 04:43, 20 November 2013 |from3 = Adjacent angles |from_oldid3 = 580661892 |to3 = Angle |diff3 = https://en.wikipedia.org/w/index.php?title=Angle&diff=582479826&oldid=582478879 |date3 = 04:54, 20 November 2013 |from4 = Vertical angles |from_oldid4 = 576327859 |to4 = Angle |diff4 = https://en.wikipedia.org/w/index.php?title=Angle&diff=582480777&oldid=582479826 |date4 = 05:04, 20 November 2013 }}
- displays as:
![]() | Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted so long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
|
Maintenance categories
- Category:Wikipedia pages using copied template
- Category:Wikipedia pages using copied template without oldid
See also
- {{Merged-from}}
- {{Merged-to}}
- {{Split article}} (listed for completeness only)
- {{Translated page}} for pages translated from other language Wikipedias
- {{Banner holder}} for pages that have numerous instances of Template:Copied
- {{Convert to transclusion}}
Template:Pam see also documentation
TemplateData
Intended for use on talk pages, this template identifies that text and/or other creative content has been copied or moved from one page to another, recording attribution dependencies as described by [[Wikipedia:Copying within Wikipedia]].
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. | String | required |
To | to | The destination page, where the content was placed. | String | 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 | optional |
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 |
The above documentation is transcluded from Template:Copied/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |