Template:Infobox template

From stencil.wiki
Revision as of 17:07, 16 December 2024 by Robertbaxter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template displays a message box on infobox templates to warn users that they are autopopulated from the class template and paired PageFirm. It also adds them to Category:Infoboxes.

Usage

Provided fields fill out the class, form, and category names/links in the text of the message.

{{Infobox template template|class=Event|category=Events}}
Warning: Infobox template
This is an infobox template for the Event class—it is used as a display template for Template:Event, with values from the associated Form:Event, and should never be transcluded outside of that context.

Pages which use this infobox are listed at Category:Events.

TemplateData

Used as the display for top level class templates—itshould only be edited with the associated form.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Classclass

Name of the class.

Stringrequired
Categorycategory

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

Stringrequired