Template:Tutorial/error

From stencil.wiki
Revision as of 22:15, 29 January 2025 by Robertbaxter (talk | contribs) (Created page with "<noinclude>{{Class subtemplate}} This is a pass-through function for custom links in Template:Tutorial, it is the output for the errors in Form:Tutorial. It calls Template:Infobox tutorial/error to generate the infobox line to display the error. == TemplateData == <templatedata> { "params": { "error_code": { "label": "Error code", "description": "Unique error code displayed on the machine.", "type": "string", "required": true, "example": "...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning: Class subtemplate
This is a support template for the main class template Template:Tutorial—it should not invoked in other circumstances.

This is a pass-through function for custom links in Template:Tutorial, it is the output for the errors in Form:Tutorial.

It calls Template:Infobox tutorial/error to generate the infobox line to display the error.

TemplateData

Support function for the "Tutorial" class to pass through error info.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Error codeerror_code

Unique error code displayed on the machine.

Example
T19-208
Stringrequired
Error messageerror_message

The text displayed on-screen for the error.

Stringoptional