Difference between revisions of "Template:Cross-wiki diff/doc"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 57: Line 57:
 
* [[Template:Diff2]]
 
* [[Template:Diff2]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
Line 63: Line 63:
 
[[Category:Interwiki link templates]]
 
[[Category:Interwiki link templates]]
  
</includeonly>
+
}}</includeonly>

Revision as of 22:16, 24 April 2020

This template compares two consecutive revisions, the revision ID of the later revision being given in the second parameter.

Usage

Code Output
{{Cross-wiki diff|wikinews|164}} [1]
{{Cross-wiki diff|species|981|Magnoliopsida}} Magnoliopsida
{{Cross-wiki diff|wikiverst|61644|News|Edit to "School:Urban studies and planning"}} Edit to "School:Urban studies and planning"
{{Cross-wiki diff|wikiqt|1184402|Big Time Audition|}} [2]
{{Cross-wiki diff|wikt|3419089|Varsovio (esperanto)|lang=pl}} Varsovio (esperanto)

Note that if {{{4}}} (the fourth parameter) does have a variable, {{{3}}} specifies the section of the page, instead, and {{{4}}} specifies the link text. Also, this template only works for projects within the Wikimedia Foundation; see WMF:Our projects for all projects.

Abbreviations

  • cms = Commons
  • incubator = Wikimedia Incubator
    • incbtr = Wikimedia Incubator
    • WMI = Wikimedia Incubator
    • WI = Wikimedia Incubator
  • mw = MediaWiki
  • m = Meta
  • species = Species
    • spcs = Species
    • scs = Species
    • sps = Species
  • wikibks = Wikibooks
  • wikinws = Wikinews
  • wikisrc = Wikisource
  • wikiverst = Wikiversity
  • wikiqt = Wikiquote
  • wikt = Wiktionary
  • WMF = Wikimedia Foundation
    • WF = Wikimedia Foundation

See also