Difference between revisions of "Template:Cross-wiki language free diff"
Jump to navigation
Jump to search
imported>LikeLakers2 |
imported>Amalthea (Undid revision 454438641 by LikeLakers2 (talk) Breaks links on secure server) |
||
Line 24: | Line 24: | ||
| {{{1}}} | | {{{1}}} | ||
− | }}.org/ | + | }}.org/w/index.php?title=&diff={{{3}}}&oldid={{{4}}}{{#ifeq: {{{6|a}}} | {{{6|b}}} | #{{anchorencode:{{{5|}}}}} }}<!-- (if six parameters are given, interpret the fifth one as the anchor) |
--> {{#if: {{{6|{{{5|}}}}}} | {{{6|{{{5}}}}}} }}]</span><noinclude> | --> {{#if: {{{6|{{{5|}}}}}} | {{{6|{{{5}}}}}} }}]</span><noinclude> | ||
Latest revision as of 20:03, 7 October 2011
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}}
|
[2] |
{{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)|}}
|
[3] |
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
The above documentation is transcluded from Template:Cross-wiki language free 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. |