Template:Copied/doc: Difference between revisions
m typo |
The documentation should recommend the optimal usage of the template. (Also, it's quite confusing otherwise, as it does not match the "from" parameter.) |
||
Line 9: | Line 9: | ||
'''Basic''' |
'''Basic''' |
||
<pre>{{Copied|from=|from_oldid=|to=| |
<pre>{{Copied|from=|from_oldid=|to=|to_diff=}}</pre> |
||
'''Full''' |
'''Full''' |
Revision as of 06:11, 25 November 2018
This is a documentation subpage for Template:Copied. It may contain usage information, categories and other content that is not part of the original template page. |
This template is meant to simplify the merge/split procedures by providing one template that can be used on the talk pages of source and destination articles or other pages. 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.
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 ([[ – ]]).
Basic
{{Copied|from=|from_oldid=|to=|to_diff=}}
Full
{{Copied |from = |from_oldid = |to = |diff = |to_diff = |to_oldid = |date = |small = }}
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.
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 as long as the latter page exists. |
Maintenance categories
- Category:Wikipedia pages using copied template
- Category:Wikipedia pages using copied template without oldid
See also
- {{Copied multi}}
- {{Merged-from}}
- {{Merged-to}}
- {{Split article}} (listed for completeness only)
- {{Translated page}} for pages translated from other language Wikipedias
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 |
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 |