Template:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
m wording
Ganaram inukshuk (talk | contribs)
No edit summary
Line 2: Line 2:
| template =  
| template =  
   {{#switch: {{lc: {{{header|}}}}}
   {{#switch: {{lc: {{{header|}}}}}
   | metatemplate = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template is intended as a metatemplate and should not be used standalone except for simple use-cases or testing.</span><br />
   | metatemplate = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' {{#ifeq: {{SUBPAGENAME}} | doc | This template | '''{{ARTICLEROOTPAGENAME}}''' }} is intended as a metatemplate and should not be used standalone except for simple use-cases or testing.</span><br />
   | #default    = {{{header|}}}
   | #default    = {{{header|}}}
   }}
   }}
   {{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc | [[Category:Template documentation]] | [[Category:Templates]] }}
   {{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc | [[Category:Template documentation]] | [[Category:Templates]] }}
{{#ifeq:


| module =  
| module =  
   {{#switch: {{lc: {{{header|noinvoke}}}}}
   {{#switch: {{lc: {{{header|noinvoke}}}}}
   | metamodule = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module 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:''' This module 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 directly from other modules.</span><br />
   | noinvoke  = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module 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 />
   | #default  = {{{header|}}}
   | #default  = {{{header|}}}
   }}
   }}