Template:Meta module/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(Created page with "Creates a notice about the module and adds it to Category:Programming modules. ==Example== {{ProgrammingModule|category=}}")
 
No edit summary
Tag: Manual revert
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Creates a notice about the module and adds it to [[:Category:Programming modules]].
{{Documentation subpage}}


==Example==
This template displays a notice that the module it appears on is a [[:Category:Meta modules|meta module]], meant to be used ''only'' by other modules. Meta modules may be loaded with <code>[[mw:Extension:Scribunto/Lua_reference_manual#require|require()]]</code> or <code>[[mw:Extension:Scribunto/Lua_reference_manual#mw.loadData|mw.loadData()]]</code>, but they should not be called in wikitext with <code><nowiki>{{#invoke:}}</nowiki></code>.
{{ProgrammingModule|category=}}
 
==Usage==
This template should be placed at the top of a meta module's documentation subpage. That module will automatically be added to [[:Category:Meta modules]].
 
<pre>{{Meta module}}</pre>
 
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Notice templates]]
[[de:Vorlage:Programmiermodul]]
}}

Latest revision as of 18:16, 10 June 2023

This subpage provides documentation for Template:Meta module.

This template displays a notice that the module it appears on is a meta module, meant to be used only by other modules. Meta modules may be loaded with require() or mw.loadData(), but they should not be called in wikitext with {{#invoke:}}.

Usage

This template should be placed at the top of a meta module's documentation subpage. That module will automatically be added to Category:Meta modules.

{{Meta module}}