Template:Cross-wiki oldid/doc

This template generates a link to a specific revision of a page on a Wikimedia site other than English Wikipedia. The template requires a minimum of two parameters in order to correctly generate a link, but does not give an error if less are provided. The template only takes positional (unnamed) parameters and does not have any named parameters. If just three parameters are specified the third parameter is used as the text to display for the link, but if four (or more) parameters are specified the third parameter is interpreted as an anchor and the fourth as the text to display for the link. Parameters beyond the fourth are ignored.

Parameters
1 2 3 4
 * The code of the site to be linked to, a list of which can be found at . Unrecognized codes are interpreted as the domain when generating the link. This functionality should not be used be to create a link to a non-Wikimedia site, as such an external link would deceptively display as an internal link.
 * The oldid of the page to be linked to.
 * For three parameters, the text to be displayed for the link. For four parameters, the section anchor to be linked to.
 * If specified, the text to display.