Template:Data/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 11:34, 17 October 2024. The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Data.
It contains usage information, categories, and other content that is not part of the original template page.

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.