Template talk:Diff2/doc

Specifying a section but no label
Another way of conveying the same info:

Usage



 * oldid – The base ID onto which the diff is generated.
 * section – (optional) The section (anchor) within the page.
 * label – (optional) Text to display as link. No label will give a numbered link.

If 3 parameters are specified (i.e. parameter exists), parameter  is the section, and parameter  is the label. Otherwise, parameter, if present, is the label (and the link is to the whole page). Note the &lt;nowiki&gt; required to get the one with section and no label to display properly; I added &lt;nowiki&gt; to the other variants only so the /doc page's wikitext would be easier to read. I leave it to you which one's easier to read and understand.--Mathieu ottawa (talk) 01:31, 28 April 2013 (UTC)