User:Ganaram inukshuk/Template:Dochead: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{#switch: {{{header}}} | {{#switch: {{{header}}} | ||
| invoke-only=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module's functions are not meant to be called by other modules. Editors are advised to use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].</span><br /> | | invoke-only=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module's functions are not meant to be called by other modules. Editors are advised to use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].</span><br /> | ||
| module-only=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module is primarily used as a library for other modules | | module-only=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module is primarily used as a library for other modules by adding <syntaxhighlight inline lang="lua">local {{{modulename}}}= require("Module:{{ucfirst: {{{modulename}}}")._{{{modulename}}}</syntaxhighlight>.</span><br /> | ||
| wrapper=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module is a wrapper for another module's functions. To use these functions, see [[Module:{{{modulename}}}]].</span><br /> | | wrapper=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module is a wrapper for another module's functions. To use these functions, see [[Module:{{{modulename}}}]].</span><br /> | ||
| dual-use=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module's functions are available for other modules to use by adding <syntaxhighlight inline lang="lua">local {{{modulename}}}= require("Module:{{ucfirst: {{{modulename}}}")._{{{modulename}}}</syntaxhighlight>, or for templates to use by using invoke.</span><br /> | | dual-use=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module's functions are available for other modules to use by adding <syntaxhighlight inline lang="lua">local {{{modulename}}}= require("Module:{{ucfirst: {{{modulename}}}")._{{{modulename}}}</syntaxhighlight>, or for templates to use by using invoke.</span><br /> | ||
Revision as of 08:27, 18 October 2025
Note: Do not invoke this module directly; use the corresponding template instead: Template:Ganaram inukshuk.