Difference between revisions of "Template:AddCategories"
Jump to navigation
Jump to search
Neon Knight (talk | contribs) (Created page with "<includeonly>Category:{{#switch:{{{type}}} | Infobox = Infoboxes | Userbox = Userboxes | Layout = Layout templates | Navbox = Navboxes | Table = Table components | Helper =...") |
Neon Knight (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:{{#switch:{{{type}}} | Infobox = Infoboxes | Userbox = Userboxes | Layout = Layout templates | Navbox = Navboxes | Table = Table components | Helper = Helper templates | Copyright = Copyright tags | Documentation | Doc = Documentation | Warning | Notice = Warnings and notices | Meta = Meta templates | }}]]{{#switch:{{{type}}} | Doc | Documentation = | [[Category:Templates]]}}</includeonly><noinclude>{{ | <includeonly>[[Category:{{#switch:{{{type}}} | Infobox = Infoboxes | Userbox = Userboxes | Layout = Layout templates | Navbox = Navboxes | Table = Table components | Helper = Helper templates | Copyright = Copyright tags | Documentation | Doc = Documentation | Warning | Notice = Warnings and notices | Meta = Meta templates | }}]]{{#switch:{{{type}}} | Doc | Documentation = | [[Category:Templates]]}}</includeonly><noinclude>{{Documentation}}{{AddCategories|type=Helper}}</noinclude> |
Latest revision as of 21:30, 17 July 2020
Template documentation follows |
---|
Visit Template:AddCategories/doc to edit this documentation. (How does this work?) |
Meta templates |
---|
AddCategories | |
---|---|
Class | Meta |
A simple categorization of templates.
Currently supported:
- Infobox: for infoboxes.
- Userbox: for userboxes.
- Layout: for layout elements.
- Meta: for meta templates (i.e. templates used for other templates).
- Navbox: for navboxes.
- Table: for table components.
- Copyright: for copyright boxes.
- Documentation or Doc: for documentation.
- Warning or Notice: for warnings and notices.
- Helper: for auxiliar templates and other templates which don't fit any other category.
{{AddCategories |type=Infobox/Layout/Navbox/Table/Copyright/Documentation/Doc/Warning/Notice/Helper}}