Difference between revisions of "Template:Difflinkprev/doc"

From The Lion King Wiki
Jump to: navigation, search
 
Line 5: Line 5:
  
 
To find the difference between revision 300 and the previous revision of the same article:
 
To find the difference between revision 300 and the previous revision of the same article:
<pre>{{revlinkprev|300}}</pre>
+
<pre>{{difflinkprev|300}}</pre>
Will Output: {{revlinkprev|300}}
+
Will Output: {{difflinkprev|300}}
  
<pre>I like {{revlinkprev|300|this revision}} of the Simba article.</pre>
+
<pre>I like {{difflinkprev|300|this revision}} of the Simba article.</pre>
Will Output: I like {{revlinkprev|300|this revision}} of the Simba article.
+
Will Output: I like {{difflinkprev|300|this revision}} of the Simba article.
 
{{doc/end}}
 
{{doc/end}}

Latest revision as of 03:21, 8 April 2011

Template-info.png Documentation

This template supplies a link to diff page of a given revision and the previous revision of an article.

Usage

To find the difference between revision 300 and the previous revision of the same article:

{{difflinkprev|300}}

Will Output: 300

I like {{difflinkprev|300|this revision}} of the Simba article.

Will Output: I like this revision of the Simba article.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.