Template:Class template: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 2: Line 2:
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 ==
Provided fields fill out the class, form, and category names in the text of the message.
Provided fields fill out the class, form, and category names in the text of the message.
<pre>
<pre>
Line 8: Line 8:
</pre>
</pre>
{{Class template|class=Ink|form=Ink|category=Inks}}
{{Class template|class=Ink|form=Ink|category=Inks}}
== TemplateData ==
<templatedata>
<templatedata>
{
{

Revision as of 15:10, 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 in the text of the message.

{{Class template|class=Ink|form=Ink|category=Inks}}

Template:Ambox

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