Template:Wikipedia port/doc

This is the Wikipedia port template. It is meant to be added to the top of documentation for templates or modules that were ported over from Wikipedia. It automatically fills in the information for the links from the template's or module's page name, although this can be optionally overriden with a parameter.

Usage
Results in:

Note that, when viewed on the documentation page itself, the Wikipedia links link to the /doc subpage instead of the standard page, due to the way the template works. They show up correctly when viewed on the template or module page.

Parameters
This template accepts up to four optional parameters, one unnamed and three named.

To provide links to a different template or module, the name of the page can be provided as an unnamed parameter, like so:

To specify if the template or module was modified, provide the  parameter:

To specify if the template or module was ported from an old revision, provide the  parameter with the ID of the revision as provided in the revision's URL.

To specify if the template's or module's documentation was also ported from Wikipedia, provide the  parameter: