Template:Class template: Difference between revisions

From stencil.wiki
(Created page with "{{ambox|text={{{class|}}}|color_bar=yellow|class=class-ambox}}")
 
No edit summary
Line 1: Line 1:
{{ambox|text={{{class|}}}|color_bar=yellow|class=class-ambox}}
<noinclude>
<noinclude>
This template displays a message box on core class templates to warn users that they should only be used with the appropriate page form.
 
==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.
<pre>
{{Class template|class=Ink|form=Ink|category=Inks}}
</pre>
{{Class template|class=Ink|form=Ink|category=Inks}}
</noinclude><!--
--><includeonly>{{ambox
| text='''Warning:''' This is the main template for the {{{class|}}} class—it should only be used with the [[Form:{{{form|}}}]] PageForm 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
| class=class-ambox
}}</includeonly>

Revision as of 14:25, 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 page form.

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}}

{{ambox

| text=Warning: This is the main template for the Ink class—it should only be used with the Form:Ink PageForm 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.
| color_bar=#FFB511
| class=class-ambox

}}