User:Ganaram inukshuk/Template sandbox: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 51: Line 51:
* invoke-only: This module's functions are not meant to be called by other modules. Editors are advised to use the corresponding template: <template-name>
* invoke-only: This module's functions are not meant to be called by other modules. Editors are advised to use the corresponding template: <template-name>
* module-only: This module is primarily used as a library for other modules. To use these functions, add <sample-code> to your module.
* module-only: This module is primarily used as a library for other modules. To use these functions, add <sample-code> to your module.
* wrapper: This module serves as a wrapper for another module's functions. To use that function in another module, use <module_name>.
* wrapper: This module serves as a wrapper for another module's functions. To use that function in another module, see <module-name>.
* one-function: This module provides a function that can be used by other modules. To use this function, add <sample-code> to your module.
* one-function: This module provides a function that can be used by other modules. To use this function, add <sample-code> to your module.
* dual-use: This module's functions are available for other modules to use by adding <sample-code>, or for templates to use by using invoke.
* dual-use: This module's functions are available for other modules to use by adding <sample-code>, or for templates to use by using invoke.