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

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

Latest revision as of 22:16, 24 April 2020

This template compares any two revisions, the revision IDs being given in the third and fourth parameters.

Usage

Code Output
{{Cross-wiki language free diff|Wikipedia|sv|1459|1454}} [1]
{{Cross-wiki language free diff|wiktionary|es|471306|471117|borda}} borda
{{Cross-wiki language free diff|wikiverst|fi|5339|5326|Tehtävät 2|Edit}} Edit
{{Cross-wiki language free diff|wikiqt|de|423279|418304|Der kleine Prinz / Le petit prince (1943)|}} [2]

Note that {{{3}}} (the third parameter) specifies the diff number and {{{4}}} specifies the oldid number. Also, if {{{6}}} does have a variable, {{{5}}} specifies the section of the page, instead, and {{{6}}} specifies the link text.

Abbreviations

  • wikibks = Wikibooks
  • wikinws = Wikinews
  • wikisrc = Wikisource
  • wikiverst = Wikiversity
  • wikiqt = Wikiquote
  • wikt = Wiktionary

See also