Template:Cross-wiki language diff: Difference between revisions
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}}} | #{{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}}} | #{{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
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
The above documentation is transcluded from Template:Cross-wiki language diff/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |