Template:Meta module/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(→Usage: removed language interwikis) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
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>. | |||
== | ==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| | {{Documentation categories| | ||
<!-- Categories and interwikis go here. --> | <!-- Categories and interwikis go here. --> | ||
[[Category:Notice templates]] | [[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}}