Template:Dochead: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
{{#switch: {{lc: {{{header|}}}}} | {{#switch: {{lc: {{{header|}}}}} | ||
| metatemplate = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template is used to build other templates and should not be used standalone except for testing and simple usage.</span><br /> | | metatemplate = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template is used to build other templates and should not be used standalone except for testing and simple usage.</span><br /> | ||
| luabased = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template invokes function '''{{{func|_{{lc: {{{ROOTPAGENAME}}}}}''' in [[Module:{{{mod|{{ROOTPAGENAME}}}}}]] using Lua.</span><br /> | |||
| luameta = <span style{{=}}"margin-bottom: 0.5em;">'''Note:''' This template invokes function '''{{{func|_{{lc: {{{ROOTPAGENAME}}}}}''' in [[Module:{{{mod|{{ROOTPAGENAME}}}}}]] using Lua, and is used to build other templates. This template should not be used standalone except for testing and simple usage.</span><br /> | |||
| none = | | none = | ||
| #default = {{{header|}}} | | #default = {{{header|}}} | ||
}} | }} | ||
{{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc | {{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc | ||
| [[Category:Template documentation]] | [[Category:Templates]] | | [[Category:Template documentation]] | ||
| [[Category:Templates]]{{#ifeq: {{lc: {{header|}}}} | luabased | [[Category:Lua-based templates]] }}{{#ifeq: {{lc: {{header|}}}} | luameta | [[Category:Lua-based templates]] }} | |||
}} | }} | ||
| Line 19: | Line 22: | ||
}} | }} | ||
{{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc | {{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc | ||
| [[Category:Module documentation]] | [[Category:Lua modules]] | | [[Category:Module documentation]] | ||
| [[Category:Lua modules]] | |||
}} | }} | ||