User:Ganaram inukshuk/Template:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
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 <syntaxhighlight inline lang="lua">local {{{modulename}}}= require("Module:{{ucfirst: {{{modulename}}}")._{{{modulename}}}</syntaxhighlight>.</span><br />
         | 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 />
         | 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 />
       }}
       }}