User:Ganaram inukshuk/Template sandbox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 48: | Line 48: | ||
{{Mbox|text=<template-name> is '''deprecated'''. Further use of this template anywhere on the wiki is not advised. | {{Mbox|text=<template-name> is '''deprecated'''. Further use of this template anywhere on the wiki is not advised. | ||
Users should use the following template(s) as a replacement: Template:Newtemplate|type=delete}} | Users should use the following template(s) as a replacement: Template:Newtemplate|type=delete}}Dochead header: | ||
* invoke-only: This module's functions are not meant to be called by other modules; please use the corresponding template: <template-name> | |||
** Most lua-based templates should use this header. | |||
* module-only: This module is primarily used as a library for other modules. To use these functions, add <sample-code> to your module. | |||
** Some modules serve as libraries. Some libraries include #invoke-able functions, but if the majority of the functions are meant to be called by other modules, use this header. | |||
* one-function: This module provides one function that can be used by other modules. To use this function, add <sample-code> to your module. | |||
** Some modules only provide one function. | |||
* dual-use: This module's functions are available for other modules by adding <sample-code> to your module, or by using invoke. | |||
** Some library modules have two versions of many of its functions: one for modules and one that can be called using #invoke. If this is the case, use this header. | |||
* none: none. | |||
** No header. | |||
{{Infobox|Title={{Numlinks 2-num|Current Num 1=5|Current Num 2=12|Link Format=%sL %ss}}|Header 1='''Scale info'''|Header 2=Step Pattern|Data 2=LssLssLsssLssLsss|Header=<hr>}} | {{Infobox|Title={{Numlinks 2-num|Current Num 1=5|Current Num 2=12|Link Format=%sL %ss}}|Header 1='''Scale info'''|Header 2=Step Pattern|Data 2=LssLssLsssLssLsss|Header=<hr>}} | ||