Template:Dochead: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
| template = | | template = | ||
{{#switch: {{lc: {{{header|}}}}} | {{#switch: {{lc: {{{header|}}}}} | ||
| metatemplate = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' | | metatemplate = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template is intended as a metatemplate — a template used to build other templates — and typically should not be used standalone except for testing or simple use-cases.</span><br /> | ||
| #default = {{{header|}}} | | #default = {{{header|}}} | ||
}} | }} | ||
| Line 9: | Line 9: | ||
| module = | | module = | ||
{{#switch: {{lc: {{{header|noinvoke}}}}} | {{#switch: {{lc: {{{header|noinvoke}}}}} | ||
| metamodule = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' | | metamodule = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template primarily provides functionality for other Lua modules and cannot be used by templates by using <code><nowiki>#invoke</nowiki></code>.</span><br /> | ||
| dualuse = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' | | dualuse = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template may be used by templates by using <code>#invoke</code> or [[Template:{{{temp|{{ROOTPAGENAME}}}}}]], or used directly from other modules.</span><br /> | ||
| noinvoke = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' | | noinvoke = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template provides functionality to a template and should not be invoked directly; use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].</span><br /> | ||
| none = | | none = | ||
| #default = {{{header|}}} | | #default = {{{header|}}} | ||