Difference between revisions of "Template:Free diff"
Jump to navigation
Jump to search
imported>LikeLakers2 |
imported>Amalthea (Undid revision 454438793 by LikeLakers2 (talk) Breaks links on secure server) |
||
| Line 1: | Line 1: | ||
<span class="plainlinks"><!-- | <span class="plainlinks"><!-- | ||
| − | -->[{{SERVER}}/ | + | -->[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff={{{1}}}&oldid={{{2}}}<!-- |
-->{{#ifeq: {{{4|a}}} | {{{4|b}}} | #{{anchorencode:{{{3|}}}}} }}<!-- (if four parameters are given, interpret the third one as the anchor) | -->{{#ifeq: {{{4|a}}} | {{{4|b}}} | #{{anchorencode:{{{3|}}}}} }}<!-- (if four parameters are given, interpret the third one as the anchor) | ||
--> {{#if: {{{4|{{{3|}}}}}} | {{{4|{{{3}}}}}} }}]<!-- | --> {{#if: {{{4|{{{3|}}}}}} | {{{4|{{{3}}}}}} }}]<!-- | ||
Latest revision as of 20:03, 7 October 2011
Usage
| Code | Output |
|---|---|
{{free diff|123456789|123365758}}
|
[2] |
{{free diff|387642407|387641177|Ohnoitsjamie's edit to "Boston Latin School"}}
|
Ohnoitsjamie's edit to "Boston Latin School" |
{{free diff|123456789|123365758|External links|Pgp688's edit to "Boston Latin School"}}
|
Pgp688's edit to "Boston Latin School" |
{{free diff|123456789|123365758|External links|}}
|
[3] |
Note that if {{{4}}} does have a variable, {{{3}}} specifies the section of the page, instead, and {{{4}}} specifies the link text. Also, {{{1}}} specifies the diff number, and {{{2}}} specifies the oldid number.
See also
| The above documentation is transcluded from Template: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. |