User:Ganaram inukshuk/Template:Dochead: Difference between revisions
Jump to navigation
Jump to search
Undo revision 213440 by Ganaram inukshuk (talk) Tag: Undo |
No edit summary Tag: Reverted |
||
| 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 by adding | | 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:37, 18 October 2025
{{#switch: {{{header}}}
| invoke-only=Note: This module's functions are not meant to be called by other modules. Editors are advised to use the corresponding template instead: Template:Ganaram inukshuk.
| module-only=Note: This module is primarily used as a library for other modules by adding <syntaxhighlight inline lang="lua">local {{{modulename}}}= require("Module:{{{modulename}}}")._{{{modulename}}}</syntaxhighlight>.