Pages which use this infobox are listed at Category:Events.
Template:Infobox template: Difference between revisions
| Robertbaxter (talk | contribs)  (Created page with "<noinclude> 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. <pre> {{Infobox template template|class=Event|category=Events}} </pre> {{Infobox template|class=Event|category=Events}}  == TemplateData == <templatedata> { 	"param...") | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 33: | Line 33: | ||
| --><includeonly>{{mbox | --><includeonly>{{mbox | ||
|   | title='''Warning:''' Infobox template |   | title='''Warning:''' Infobox template | ||
|   | text=This is an infobox template for the ''{{{class|}}}'' class—it is used as a display template for [[Template:{{{class}}}]] with values from the associated [[Form:{{{class}}}]] and should never be transcluded outside of that context.<p>Pages which use this infobox are listed at [[:Category:{{{category|}}}]].</p> |   | text=This is an infobox template for the ''{{{class|}}}'' class—it is used as a display template for [[Template:{{{class}}}]], with values from the associated [[Form:{{{class}}}]], and should never be transcluded outside of that context.<p>Pages which use this infobox are listed at [[:Category:{{{category|}}}]].</p> | ||
|   | color_bar=#FFB511 |   | color_bar=#FFB511 | ||
|   | class=class-ambox |   | class=class-ambox | ||
| }}[[Category:Infoboxes]]<!-- | }}[[Category:Infoboxes]]<!-- | ||
| --></includeonly> | --></includeonly> | ||
Revision as of 17:04, 16 December 2024
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}}
TemplateData
Used on top level class templates that should only be edited with the associated PageForm.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Class | class | Name of the class. | String | required | 
| Category | category | Name of the category used with pages in this class (do not include the "Category:" namespace). | String | required |