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

From blackwiki
Jump to navigation Jump to search
imported>Vadmium
(→‎See also: Not really an internal link)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
{{Shortcut|Template:Cw lang diff}}
 
{{Shortcut|Template:Cw lang diff}}
 +
This template compares two consecutive revisions, the revision ID of the later revision being given in the third parameter.
  
 
=== Usage ===
 
=== Usage ===
Line 45: Line 46:
 
* [[Template:Diff2]]
 
* [[Template:Diff2]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
[[Category:Diff templates]]
 
[[Category:Diff templates]]
[[Category:Cross-reference templates]]
+
[[Category:Interwiki link templates]]
  
</includeonly>
+
}}</includeonly>

Latest 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 third parameter.

Usage

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

Note that if {{{5}}} (the fifth parameter) does have a variable, {{{4}}} specifies the section of the page, instead, and {{{5}}} specifies the link text.

Abbreviations

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

See also