Content deleted Content added
212.252.117.47 (talk) ←Blanked the page Tag: Blanking |
|||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS 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 (<nowiki>[[</nowiki> – ]]). |
|||
'''Basic''' |
|||
<pre>{{Copied|from=|from_oldid=|to=|to_diff=}}</pre> |
|||
'''Full''' |
|||
<pre>{{Copied |
|||
|from = |
|||
|from_oldid = |
|||
|to = |
|||
|diff = |
|||
|to_diff = |
|||
|to_oldid = |
|||
|date = |
|||
|small = |
|||
}}</pre> |
|||
===Parameters=== |
|||
* <code>from</code> is the name of the source page, where the text originally appeared. |
|||
* <code>from_oldid</code> is the ID of the page revision of the source page from which the content was copied. |
|||
*: From the [[Help:Permanent link|permanent link]] url: <code><nowiki>http://en.wikipedia.org/w/index.php?title=</nowiki><span style="color:red;">PAGENAME</span>&oldid=<span style="color:red;">from_oldid</span></code> |
|||
* <code>to</code> is the destination page, where the content was placed. |
|||
* <code>diff</code> is the [[Help:Diff|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 <code>diff</code> is used (and vice versa): |
|||
*:* <code>to_diff</code> is the ID of the page revision of the destination page that includes the copied content. |
|||
*:* <code>to_oldid</code> 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: <code><nowiki>http://en.wikipedia.org/w/index.php?title=</nowiki><span style="color:red;">PAGENAME</span>&diff=<span style="color:red;">to_diff</span>&oldid=<span style="color:red;">to_oldid</span></code> |
|||
* <code>date</code> is the date, time and date, or timestamp that the copying took place at. |
|||
* <code>small</code> is passed on to the <nowiki>{{</nowiki>[[Template:Tmbox|Tmbox]]<nowiki>}}</nowiki> that is used to generate the message box. If set to yes, makes it a smaller right floating message box. |
|||
===Example=== |
|||
* <code><nowiki>{{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}}</nowiki></code> and |
|||
* <code><nowiki>{{Copied |from=Squirrel |from_oldid=345129608 |to=Tree squirrel |to_diff=345159499 |to_oldid=301353806 |date=01:00, 01 January 2011}}</nowiki></code> |
|||
::both display<nowiki>:</nowiki> |
|||
{{Copied | from=Squirrel | from_oldid=345129608 | to=Tree squirrel | to_diff=345159499 | to_oldid=301353806 |date=01:00, 01 January 2011}} |
|||
=== Maintenance categories === |
|||
* [[:Category:Wikipedia pages using copied template]] |
|||
* [[:Category:Wikipedia pages using copied template without oldid]] |
|||
===See also=== |
|||
* {{tl|Copied multi}} |
|||
<!-- *{{tl|Copied-multi}} --> |
|||
* {{tl|Merged-from}} |
|||
* {{tl|Merged-to}} |
|||
* {{tl|Split article}} (listed for completeness only) |
|||
* {{tl|Translated page}} for pages translated from other language Wikipedias |
|||
{{Pam see also documentation}} |
|||
== TemplateData == |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"small": { |
|||
"description": "If set to yes, makes it a smaller right floating message box.", |
|||
"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" |
|||
}, |
|||
"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 |
|||
} |
|||
}, |
|||
"format": "block", |
|||
"description": "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]]." |
|||
} |
|||
</templatedata> |
|||
<includeonly>{{Sandbox other|| |
|||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
|||
[[Category:Wikipedia copy templates|{{PAGENAME}}]] |
|||
[[Category:Merge templates|{{PAGENAME}}]] |
|||
[[Category:Split maintenance templates|{{PAGENAME}}]] |
|||
[[Category:Talk header templates|{{PAGENAME}}]] |
|||
}}</includeonly> |