Template:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
revamp dochead so it categorizes templates and modules
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 9: Line 9:
| 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. To use this, add the following code to your module: {{{samplecode}}}</span><br />
   | metamodule = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module primarily provides functionality for other Lua modules.</span><br />
   | dualuse    = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module may be used by templates by using <code>#invoke</code> or by adding the following code to your module: {{{samplecode}}}.</span><br />
   | dualuse    = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This module may be used by templates by using <code>#invoke</code> or by calling it directly from another module.</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:''' This module 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|}}}