Template:Dochead: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 10: | Line 10: | ||
{{#switch: {{lc: {{{header|noinvoke}}}}} | {{#switch: {{lc: {{{header|noinvoke}}}}} | ||
| metamodule = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' {{#ifeq: {{SUBPAGENAME}} | doc | This module | {{ARTICLEROOTPAGENAME}} }} primarily provides functionality for other Lua modules and cannot be used by templates by using <code><nowiki>#invoke</nowiki></code>.</span><br /> | | metamodule = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' {{#ifeq: {{SUBPAGENAME}} | doc | This module | {{ARTICLEROOTPAGENAME}} }} 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:''' {{#ifeq: {{SUBPAGENAME}} | doc | This module | {{ARTICLEROOTPAGENAME}} }} may be used by templates by using <code>#invoke</code> or directly from other modules.</span><br /> | | dualuse = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' {{#ifeq: {{SUBPAGENAME}} | doc | This module | {{ARTICLEROOTPAGENAME}} }} may be used by templates by using <code>#invoke</code> or its template [[Template:{{{temp|{{ROOTPAGENAME}}}}}]], or used directly from other modules.</span><br /> | ||
| noinvoke = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' {{#ifeq: {{SUBPAGENAME}} | doc | This module | {{ARTICLEROOTPAGENAME}} }} provides functionality to a template and should not be invoked directly; use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].</span><br /> | | noinvoke = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' {{#ifeq: {{SUBPAGENAME}} | doc | This module | {{ARTICLEROOTPAGENAME}} }} provides functionality to a template and should not be invoked directly; use the corresponding template instead: [[Template:{{{temp|{{ROOTPAGENAME}}}}}]].</span><br /> | ||
| none = | | none = | ||