Template:Class template: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 38: | Line 38: | ||
--><includeonly>{{mbox | --><includeonly>{{mbox | ||
| title='''Warning:''' Class template | | title='''Warning:''' Class template | ||
| text=This is the main template for the ''{{{class|}}}'' class—it should | | text=This is the main template for the ''{{{class|}}}'' class—it should primarily be used with [[Form:{{{form|}}}]] to create or edit associated pages, and not invoked in other circumstances. Most of the content ''can'' be edited with the VisualEditor, but for best functionality please use the specified form. Pages which use this template are listed at [[:Category:{{{category|}}}]]. | ||
| color_bar=#FFB511 | | color_bar=#FFB511 | ||
| class=class-ambox | | class=class-ambox | ||
}}<!-- | }}<!-- | ||
--></includeonly> | --></includeonly> |
Revision as of 17:45, 14 December 2024
This template displays a message box on core class templates to warn users that they should only be used with the appropriate PageForm—and adds these templates to.
Usage
Provided fields fill out the class, form, and category names/links in the text of the message.
{{Class template|class=Ink|form=Ink|category=Inks}}
TemplateData
Used on top level class templates that should only be edited with the associated PageForm.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Class | class | Name of the class. | String | required |
Form | form | Name of the form for use with this class (do not include the "Form:" namespace). | Unknown | required |
Category | category | Name of the category used with pages in this class (do not include the "Category:" namespace). | String | required |