Difference between revisions of "Template:Templatebox"
Jump to navigation
Jump to search
Neon Knight (talk | contribs) (Created page with "<includeonly>{{Navbox |title={{#switch:{{{class}}}|Administrivia=Read this first!|{{{class}}} templates}} |body={{#dpl:|category={{#switch:{{{class|}}}|Administration|Administ...") |
Neon Knight (talk | contribs) |
||
Line 4: | Line 4: | ||
}} | }} | ||
{{clear}} | {{clear}} | ||
{{Infobox/HeaderNoImage|title={{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|color_border=|color=|bgcolor=}} | {{Infobox/HeaderNoImage|title={{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|color_border=#cccccc|color=black|bgcolor=#cccccc}} | ||
{{Infobox/Row|label=Class|value={{#switch:{{{class|}}} | Administration | Administrivia = Administrivia [[Category:Administrivia]] | Infobox = Infobox [[Category:Infoboxes]] | Userbox = Userbox [[Category:Userboxes]] | Layout = Layout [[Category:Layout templates]] | Navbox = Navbox [[Category:Navboxes]] | Warning = Warning [[Category:Warnings and notices]] | Notice = Notice [[Category:Warnings and notices]] | Table = Table [[Category:Table components]] | Helper = Auxiliar [[Category:Helper templates]] | Copyright = Copyright box [[Category:Copyright tags]] | Meta = Meta [[Category:Meta templates]] | <span style="font-color:red;font-weight:bold;">Unknown</span> [[Category:Uncategorized templates]]}}|bgcolor_label=|color_label=|bgcolor=|color=}} | {{Infobox/Row|label=Class|value={{#switch:{{{class|}}} | Administration | Administrivia = Administrivia [[Category:Administrivia]] | Infobox = Infobox [[Category:Infoboxes]] | Userbox = Userbox [[Category:Userboxes]] | Layout = Layout [[Category:Layout templates]] | Navbox = Navbox [[Category:Navboxes]] | Warning = Warning [[Category:Warnings and notices]] | Notice = Notice [[Category:Warnings and notices]] | Table = Table [[Category:Table components]] | Helper = Auxiliar [[Category:Helper templates]] | Copyright = Copyright box [[Category:Copyright tags]] | Meta = Meta [[Category:Meta templates]] | <span style="font-color:red;font-weight:bold;">Unknown</span> [[Category:Uncategorized templates]]}}|bgcolor_label=|color_label=|bgcolor=|color=}} | ||
{{Infobox/Footer}}</includeonly><noinclude>{{Documentation}}{{AddCategories|type=Helper}}</noinclude> | {{Infobox/Footer}}</includeonly><noinclude>{{Documentation}}{{AddCategories|type=Helper}}</noinclude> |
Latest revision as of 23:28, 17 July 2020
Template documentation follows |
---|
Visit Template:Templatebox/doc to edit this documentation. (How does this work?) |
Meta templates |
---|
Templatebox | |
---|---|
Class | Meta |
This is a meta-template. It marks and categorizes the templates according to their overall function on the wiki.
Currently supported classes are:
- Administration or Administrivia (for Wiki administration documents)
- Infobox (for main infoboxes)
- Navbox (for navboxes)
- Table (for table components)
- Warning (for warnings about errors in pages)
- Notice (for stubs and other page-specific issues such as spoilers)
- Copyright (for copyright boxes)
- Layout (for tables and other templates used to show information which aren't infoboxes or navboxes)
- Helper (for everything else)
{{Templatebox |name= |class=Infobox/Navbox/Table/Warning/Notice/Copyright/Layout/Helper }}