Difference between revisions of "Template:Cross-wiki language diff"
Jump to navigation
Jump to search
imported>LikeLakers2 |
imported>Amalthea (Undid revision 454438507 by LikeLakers2 (talk) Breaks links on secure server) |
||
Line 24: | Line 24: | ||
| {{{1}}} | | {{{1}}} | ||
− | }}.org/ | + | }}.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><noinclude> | --> {{#if: {{{5|{{{4|}}}}}} | {{{5|{{{4}}}}}} }}]</span><noinclude> | ||
Revision as of 20:03, 7 October 2011
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. |