Template:Cross-wiki language diff: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (Fixing template)
m (Restore)
 
Line 25: Line 25:
| {{{1}}}
| {{{1}}}
}}.org/w/index.php?title=&diff=prev&oldid={{{3}}}{{#ifeq: {{{5|a}}} | {{{5|b}}} | &#35;{{anchorencode:{{{4|}}}}} }}<!-- (if five parameters are given, interpret the fourth one as the anchor)
}}.org/w/index.php?title=&diff=prev&oldid={{{3}}}{{#ifeq: {{{5|a}}} | {{{5|b}}} | &#35;{{anchorencode:{{{4|}}}}} }}<!-- (if five parameters are given, interpret the fourth one as the anchor)
--> {{#if: {{{5|{{{4|}}}}}} | {{{5|{{{4}}}}}} }}]</span>
--> {{#if: {{{5|{{{4|}}}}}} | {{{5|{{{4}}}}}} }}]</span><noinclude>
 
{{Documentation}}
 
</noinclude>

Latest revision as of 23:36, 15 February 2015

[1]

Documentation icon Template documentation[view] [edit] [history] [purge]
Shortcut:

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

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