• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Copied/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Copied
Text and/or other creative content from [nil ] was copied or moved into Template:Copied/sandbox. 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 is the template sandbox page for Template:Copied (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 21,000 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:
  • Module:Copied (sandbox)

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

  • 1 Usage
    • 1.1 Basic
    • 1.2 Full
    • 1.3 Full with notes
    • 1.4 Cut/paste model
    • 1.5 Parameters
  • 2 Examples
  • 3 Tracking categories
  • 4 TemplateData
  • 5 See also

Usage

edit
  • 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

edit
{{Copied |from= |from_oldid= |to= |date= |afd= |merge= |diff= |to_diff= |to_oldid= }}

Full

edit
{{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

edit
{{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. -->
}}

Cut/paste model

edit

For a single page, you may paste the following and substitute in the correct values:

{{Copied |from=SRC |from_oldid=SRC-REV |to=DEST |date=DATE |to_diff=DEST-COPYTO-REV |to_oldid=DEST-PREV-REV}}

Parameters

edit
  • 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
  • to is the destination page, where the content was placed. Note: if a Category page is the destination, add a leading colon to prevent categorization of the page that this template is used on.
  • 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: http://en.wikipedia.org/w/index.php?title=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.

Examples

edit
{{Copied 
|from       = Squirrel 
|from_oldid = 345129608 
|to         = Tree squirrel 
|to_diff    = 345159499 
|to_oldid   = 301353806 
|date       = 01:00, 01 January 2011
}}
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 as 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
}}
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 as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
  • Copied Complementary angles (oldid, history) → Angle (diff) on 04:36, 20 November 2013
  • Copied Supplementary angles (oldid, history) → Angle (diff) on 04:43, 20 November 2013
  • Copied Adjacent angles (oldid, history) → Angle (diff) on 04:54, 20 November 2013
  • Copied Vertical angles (oldid, history) → Angle (diff) on 05:04, 20 November 2013

Tracking categories

edit
  • Category:Wikipedia pages using copied template (40,207)
  • Category:Wikipedia pages using copied template without oldid (8,098)

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Copied in articles based on its TemplateData.

TemplateData for Copied

The parameters are as follows

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
smallsmall

If set to yes, makes it a smaller right floating message box.

Example
yes
Stringoptional
collapsecollapse

If set to yes, collapses the list.

Example
yes
Stringoptional
from_oldidfrom_oldid

The ID of the page revision of the source page from which the content was copied.

Numberrequired
fromfrom

Name of the source page, where the text originally appeared.

Page namerequired
toto

The destination page, where the content was placed.

Page namerequired
to_oldidto_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.)

Numberoptional
to_diffto_diff

The ID of the page revision of the destination page that includes the copied content. (May be omitted if diff parameter is used.)

Numbersuggested
diffdiff

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).

URLsuggested
datedate

The date, time and date, or timestamp that the copying took place at.

Stringsuggested
mergemerge

Changes the text to indicate the copying was done in the process of merging two pages if set to yes

Stringoptional
afdafd

Name of the AfD page if copying was due to an AfD closed as merge.

Stringoptional

See also

edit
  • {{Merged-from}}
  • {{Merged-to}}
  • {{Split article}}
  • {{Translated page}} for pages translated from other language Wikipedias
  • v
  • t
  • e
Templates for proposed article mergers
Article page
PAM notice
  • {{Afd-merge required}} (Post PAM merge needed; for source page but unclear destination consensus)
  • {{Afd-merge to}} (Post PAM merge needed; for source page; use {{Afd-merge from}} on destination talk page)
  • {{Merge}} (PAM; for source page)
  • {{Merge portions from}} (PAM merge request; for destination page; use {{Split portions}} on source page)
  • {{Split portions}} ((PAM merge request; for source page; use {{Merge portions from}} on destination page)
  • {{R from merge}} (Redirect from a merge)
User talk page
PAM discussion notifications
  • {{Mergenote}} (PAM notification to user talk page)
Discussion page
PAM templates
  • {{Canvassed}} (participant clarification)
  • {{Closing}} (closing in process)
  • {{Duplicate vote}} (participation clarification)
  • {{Not a ballot}} (discussion clarification)
  • {{Page creator}} (participant clarification)
  • {{Single-purpose account}} (participant clarification)
  • {{Xfd-privacy}} (sensitive discussion close)
User talk page
PAM process notifications
    • {{Uw-notvote}} (warning)
Article source talk page
PAM notice
  • {{Merge done}} (Merge after discussion notice; for source talk page)
  • {{Merge to}} (PAM merge request; for source page; use {{Merge from}} on destination talk page)
  • {{Merged-to}} (Post PAM merge completed; for source talk page)
  • {{Being merged}} (Source page merging in action notice)
  • {{Mfd-merge to}} (Post MfD merge needed; for source talk page; use {{Mfd-merge to}} on destination page)
  • {{Old merge}} (1st and subsequent nominations)
Article destination talk page
PAM notice
  • {{Blank and redirect notice}} (Post WP:BLAR; for destination talk page)
  • {{Afd-merge from}} (Post AfD merge needed; for destination talk page; use {{Afd-merge to}} on source page)
  • {{Copied}} (Post PAM merge completed; for destination talk page with attribution remaining on source page)
  • {{History merge}} (Post PAM history merge still needed; for destination talk page)
  • {{Merge from}} (PAM merge request; for destination page; use {{Merge to}} on source talk page)
  • {{Merged-from}} (Post PAM merge completed; for destination talk page)
  • {{Mfd-merge from}} (Post MfD merge needed; for destination talk page; use {{Mfd-merge to}} on source page)
  • {{Old merge}} (1st and subsequent nominations)
Miscellaneous
PAM misc.
  • {{Merge progress}} (Merge progress counter for Category:Articles to be merged subpages)
  • Templates for proposed deletions
  • Templates for speedy deletions
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.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Copied/sandbox&oldid=1283514379"
Last edited on 2 April 2025, at 00:04

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 2 April 2025, at 00:04 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop