User:Ganaram inukshuk/Template:Dochead: Difference between revisions
Jump to navigation
Jump to search
m Ganaram inukshuk moved page User:Ganaram inukshuk/Dochead to User:Ganaram inukshuk/Template:Dochead: Misspelled title |
No edit summary |
||
| Line 6: | Line 6: | ||
| [[:Category:Lua modules]] | | [[:Category:Lua modules]] | ||
{{#switch: {{{header}}} | {{#switch: {{{header}}} | ||
| invoke-only | | 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 | | module-only=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module is primarily used as a library for other modules. To use these functions, see [[Module:{{{modulename}}}]].</span><br /> | ||
| wrapper | | 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 | | 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 /> | ||
| none = | | none= | ||
| #default = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' Do not invoke this module directly; use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].</span><br /> | | #default=<span style{{=}}"margin-bottom: 0.5em;">'''Note:''' Do not invoke this module directly; use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].</span><br /> | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||