टेम्पलेट:Copied/doc: रिवीजन सभ के बीचा में अंतर

विकिपीडिया से
Content deleted Content added
imported>Wbm1058
→‎See also: {{Merged-from}} and {{Merged-to}}
→‎Parameters: simpler semantics
लाइन 28: लाइन 28:
* <code>to</code> is the destination page, where the text was placed.
* <code>to</code> is the destination page, where the text 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).
* <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).
* <code>to_diff</code> is the ID of the page revision of the destination page that includes the copied text. If the copy ''created'' the destination page, use <code>to_diff='''prev'''</code>.
* <code>to_diff</code> is the ID of the page revision of the destination page that includes the copied text.
* <code>to_oldid</code> is the ID of the page revision of the destination page before the text was copied.
* <code>to_oldid</code> is the ID of the page revision of the destination page before the text 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><font color=red>PAGENAME</font>&diff=<font color=red>to_diff</font>&oldid=<font color=red>to_oldid</font></code>
*: From the url: <code><nowiki>http://en.wikipedia.org/w/index.php?title=</nowiki><font color=red>PAGENAME</font>&diff=<font color=red>to_diff</font>&oldid=<font color=red>to_oldid</font></code>
* <code>date</code> is the date, time and date, or timestamp that the copying took place at.
* <code>date</code> is the date, time and date, or timestamp that the copying took place at.

12:50, 28 दिसंबर 2013 तक ले भइल बदलाव

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 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= |diff= }}

Full

{{Copied 
|from       = 
|from_oldid = 
|to         = 
|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 text 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 text 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).
  • to_diff is the ID of the page revision of the destination page that includes the copied text.
  • to_oldid is the ID of the page revision of the destination page before the text 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
  • 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:

Maintenance categories

See also