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

From blackwiki
Jump to navigation Jump to search
imported>Heymid
m (test)
imported>Heymid
m (m)
Line 46: Line 46:
 
| wiktionary          = en.wiktionary
 
| wiktionary          = en.wiktionary
 
| wikt                = en.wiktionary
 
| wikt                = en.wiktionary
 +
 
| {{{1}}}
 
| {{{1}}}
 
}}.org/w/index.php?title=&diff=prev&oldid={{{2}}}{{#ifeq: {{{4|a}}} | {{{4|b}}} | &#35;{{anchorencode:{{{3|}}}}} }}<!-- (if four parameters are given, interpret the third one as the anchor)
 
}}.org/w/index.php?title=&diff=prev&oldid={{{2}}}{{#ifeq: {{{4|a}}} | {{{4|b}}} | &#35;{{anchorencode:{{{3|}}}}} }}<!-- (if four parameters are given, interpret the third one as the anchor)

Revision as of 16:06, 26 September 2010

[1]

50px Template documentation[view] [edit] [history] [purge]

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}} [2]
{{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|}} [3]
{{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