User:Mathglot/sandbox/Templates/linkone

{{documentation|content= Returns a diff link given either a revision id or a full diff url.

Parameters

 * 1 - either a full diff url, or a numeric revision id (oldid) (required)
 * 2 - anchor (optional)}}