Jump to content

Template:Templatecategory

From Twig Wiki
Revision as of 06:35, March 17, 2018 by FossilLord (talk | contribs) (Created page with "==Using this category== To put a template in '''Category:{{PAGENAME}}''': * Use <code><nowiki><includeonly>[[Category:</nowiki>{{PAGENAME}}<nowiki>|{{PAGENAME}}]]</includeonl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using this category[edit]

To put a template in Category:Templatecategory:

  • Use <includeonly>[[Category:Templatecategory|{{PAGENAME}}]]</includeonly> on the documentation page (see Template:Documentation for more info). The "<includeonly>" tags are necessary to prevent categorizing all pages using the template (and the documentation page) in the template category! Please also note the |{{PAGENAME}}.
  • If your template is meant to be used in-line, try and make sure that there are as few line feeds (breaks, whitespace, etc.) as possible.
  • Remember that a template can be put in multiple categories if it belongs to them all!
  • Or, if this is not quite the right category, go back to Category:Templates and try to find a better suited subcategory.
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Templatecategory/doc to edit this documentation. (How does this work?)
Description
This template is used in subcategories of Category:Templates.
Syntax
To use the template, type a short description of the template category followed by {{templatecategory{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}.