Template:Template-category: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{    #ifeq:{{NAMESPACE}}  |  Template  |  [[Category:{{{1|}}}{{#if:{{{nopostfix|}}}||&nbsp;templates}}  {{#if:{{{2}}}|{{!}}{{{2|}}}|}}  ]]  |    }}</includeonly><noinclude>
<includeonly>{{    #ifeq:{{NAMESPACE}}  |  Template  |  [[Category:{{{1|}}}{{#if:{{{nopostfix|}}}||&nbsp;templates}}  {{#if:{{{2}}}|{{!}}{{{2|{{PAGENAME}}}}}|}}  ]]  |    }}</includeonly><noinclude>


Parameters:
Parameters:

Latest revision as of 08:16, 7 August 2020


Parameters:

  • 1: Category to add template to
  • 2 (optional): Name under which to add the template to the category
  • nopostfix (optional): If present, suppresses the " templates" postfix