Template:Class template

From stencil.wiki
Revision as of 15:06, 14 December 2024 by Robertbaxter (talk | contribs)


This template displays a message box on core class templates to warn users that they should only be used with the appropriate PageForm. It also adds them to.

Usage

Include this template at the top of any top level class templates (e.g. Template:Place, Template:Ink, etc.). Provided fields fill out the class, form, and category names.

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

Template:Ambox


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.

Example
Ink
Stringrequired
Formform

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

Example
Ink
Unknownrequired
Categorycategory

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

Example
Inks
Stringrequired