Template:Diff2/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (+cat)
(→‎Usage: Adding note)
Line 4: Line 4:
=== Usage ===
=== Usage ===
{| class="wikitable"
{| class="wikitable"
! Code
! Output
|-
| {{tlx|diff2|123456789}}
| {{tlx|diff2|123456789}}
| {{diff2|123456789}}
| {{diff2|123456789}}
Line 16: Line 19:
| {{diff2|123456789|External links|}}
| {{diff2|123456789|External links|}}
|}
|}

Note that if <nowiki>{{{3}}}</nowiki> (the fourth parameter) does have a variable, <nowiki>{{{2}}}</nowiki> specifies the section of the page, instead, and <nowiki>{{{3}}}</nowiki> specifies the link text.


=== See also ===
=== See also ===

Revision as of 13:56, September 26, 2010

Usage

Code Output
{{diff2|123456789}} [1]
{{diff2|123456789|Pgp688's edit to "Boston Latin School"}} Pgp688's edit to "Boston Latin School"
{{diff2|123456789|External links|Pgp688's edit to "Boston Latin School"}} Pgp688's edit to "Boston Latin School"
{{diff2|123456789|External links|}} [2]

Note that if {{{3}}} (the fourth parameter) does have a variable, {{{2}}} specifies the section of the page, instead, and {{{3}}} specifies the link text.

See also