Template:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
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 />
   | 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 />
   | 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|}}}
Line 10: Line 10:
   {{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc  
   {{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}} | doc  
   | [[Category:Template documentation]]
   | [[Category:Template documentation]]
   | [[Category:Templates]]{{#ifeq: {{lc: {{header|}}}} | luabased | [[Category:Lua-based templates]] }}{{#ifeq: {{lc: {{header|}}}} | luameta | [[Category:Lua-based templates]] }}
   | [[Category:Templates]]
{{#ifeq: {{lc: {{header|}}}} | luabased | [[Category:Lua-based templates]] }}{{#ifeq: {{lc: {{header|}}}} | luameta | [[Category:Lua-based templates]] }}
   }}
   }}