Template:Data/doc

From RuneRealm Wiki

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:23, 17 October 2024 (Created page with "{{Documentation}} 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: * {{T|Invokes}} for templates/modules invoking/invoked by modules/templates. * {{T|Require}} for modules requiring/required by other modules. <pre> {{Data|loads=DataModuleName}} or {{Data|ModuleName}} </pre> ==Parameters== ===(1)=== On a module documenta..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 mw.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.