Jump to content

Template:Diff/doc: Difference between revisions

(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Bharatdata. --> {{High-use}} {{Twinkle standard installation}} This template is intended to be useful for creating links to "diffs"; that is, links to pages that show the differences between two versions of a wiki page. Every version of a page has a revision ID, which you can find from the history of the page by looking at the timestamp link...")
 
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 70: Line 70:
| <code><nowiki>{{</nowiki>'''{{uu|Diff}}'''<nowiki>|</nowiki>''Wikipedia:Pagediff''<nowiki>|</nowiki>''204934693''<nowiki>|</nowiki>''204901573''<nowiki>|</nowiki>''Diff between two numbered versions of a <!-- Pagediff --> page in Wikipedia namespace''<nowiki>}}</nowiki></code>
| <code><nowiki>{{</nowiki>'''{{uu|Diff}}'''<nowiki>|</nowiki>''Wikipedia:Pagediff''<nowiki>|</nowiki>''204934693''<nowiki>|</nowiki>''204901573''<nowiki>|</nowiki>''Diff between two numbered versions of a <!-- Pagediff --> page in Wikipedia namespace''<nowiki>}}</nowiki></code>
::''<code>{{font color|brown|<nowiki>{{</nowiki>'''{{uu|Diff}}'''<nowiki>|</nowiki>page<nowiki>|</nowiki>diff<nowiki>|</nowiki>oldid<nowiki>|</nowiki>label<nowiki>}}</nowiki>}}</code>''
::''<code>{{font color|brown|<nowiki>{{</nowiki>'''{{uu|Diff}}'''<nowiki>|</nowiki>page<nowiki>|</nowiki>diff<nowiki>|</nowiki>oldid<nowiki>|</nowiki>label<nowiki>}}</nowiki>}}</code>''
| {{Diff|Wikipedia:Pagediff|204934693|204901573|Diff between two numbered versions of a <!-- Pagediff --> page in Wikipedia namespace}}
| {{Diff|Wikipedia:Pagediff|204934693|204901573|Diff between two numbered versions of a <!-- Pagediff --> page in Bharatpedia namespace}}
* The '''title=''' parameter (parameter number 1) should be a name of a page, for instance [[:Wikipedia:Pagediff]].
* The '''title=''' parameter (parameter number 1) should be a name of a page, for instance [[:Bharatpedia:Pagediff]].
* The '''diff=''' parameter (parameter number 2) should be the page revision to appear on the right (proposed change).
* The '''diff=''' parameter (parameter number 2) should be the page revision to appear on the right (proposed change).
* The '''oldid=''' parameter (parameter number 3) should be the page revision to appear on the left (original).
* The '''oldid=''' parameter (parameter number 3) should be the page revision to appear on the left (original).