Template documentation
This documentation is transcluded from Template:Data/doc. [edit] [history] [purge]

This template should be put near the beginning of a module's documentation page to link to a module that contains data used by the module, or to link to the module using the data contained.

Also See:

  • {{Invokes}} for templates/modules invoking/invoked by modules/templates.
  • {{Require}} for modules requiring/required by other modules.
{{Data|loads=DataModuleName}}
or
{{Data|ModuleName}}

Parameters

(1)

On a module documentation page, this parameter should be supplied with the page title for a module that uses the data (without the "Module:" namespace prefix).
For example:

{{Data|Sandbox}}

Result:

Template:Data is loaded by Module:Sandbox.

loads

Optional parameter for use on module documentation pages, used to link to a module which contains data used in the module (without the "Module:" namespace prefix).
For example:

{{Data|data=Sandbox}}

Result:

Template:Data loads data from Module:Sandbox.