Template:Data

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:23, 17 October 2024 (Created page with "<includeonly>{{#if:{{{loads|}}}|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' loads data from [[Module:{{{loads}}}]].{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||Category:Modules using data}}}}''</div>|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' is loaded by [[Module:{{{1}}}]].{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||Category:Module data}}}}''</div>}}</includeonly><noinclude>{{/doc}}</n..."). The present address (URL) is a permanent link to this version.

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