Template:Class template: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
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 [[Category:Class templates]].
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 [[:Category:Class templates]].


== Usage ==
== Usage ==

Revision as of 22:34, 15 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 Category:Class templates.

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}}
Warning: Class template
This is the main template for the Ink class—it should primarily be used with Form:Ink 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:Inks.

TemplateData

Used on top level class templates that should only be edited with the associated PageForm.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Classclass

Name of the class.

Stringrequired
Formform

Name of the form for use with this class (do not include the "Form:" namespace).

Unknownrequired
Categorycategory

Name of the category used with pages in this class (do not include the "Category:" namespace).

Stringrequired