Template:Infobox tutorial/error: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Tag: Reverted
Line 28: Line 28:
}
}
</templatedata>
</templatedata>
</noinclude><includeonly><div><code style="font-size:.75rem;">{{{1}}}</code>{{#if:{{{2|}}}|&nbsp;{{{2}}}|}}{{#if:{{{3|}}}|&nbsp;{{#info:{{{3}}}|note}}|}}</div></includeonly>
</noinclude><includeonly><div>{{#if:{{{2|}}}|{{{2}}}&nbsp;|}}<code style="font-size:.75rem;">{{{1}}}</code>{{#if:{{{3|}}}|&nbsp;{{#info:{{{3}}}|note}}|}}</div></includeonly>

Revision as of 22:41, 29 January 2025

This is a helper template for Template:Infobox tutorial, it takes information about an error and displays it as an item in the infobox.

TemplateData

A helper template to display errors in the infobox for a tutorial.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Error code1

Unique error code displayed on the machine.

Example
T19-208
Stringrequired
Error name2

A simple name for the error.

Stringoptional
Error message3

The text displayed on-screen for the error.

Stringoptional