The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.

Template:Meta module/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
No edit summary
(→‎Usage: removed language interwikis)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}


Creates a notice about the module and adds it to [[:Category:Programming modules]].
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>.


==Example==
==Usage==
{{ProgrammingModule}}
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]]
}}

Latest revision as of 16:19, 2 October 2024

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}}