Template:Tutorial/part: Difference between revisions

From stencil.wiki
(Created page with "<noinclude>{{Class subtemplate}} This is a pass-through function for custom links in Template:Tutorial, it is the output for the parts in Form:Tutorial. It calls Template:Infobox tutorial/part to generate the infobox line to display the part. == TemplateData == <templatedata> { "params": { "part_number": { "label": "Part number", "description": "Unique OEM number from the part.", "type": "string", "required": true, "example": "612-10010"...")
 
No edit summary
 
Line 30: Line 30:
}
}
</templatedata>
</templatedata>
</noinclude><includeonly>{{Infobox tutorial/part|{{{tool_name|}}}|{{{tool_req|}}}}}</includeonly>
</noinclude><includeonly>{{Infobox tutorial/part|{{{part_number|}}}|{{{part_name|}}}|{{{part_qty|}}}}}</includeonly>

Latest revision as of 21:58, 29 January 2025

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 parts in Form:Tutorial.

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

TemplateData

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Part numberpart_number

Unique OEM number from the part.

Example
612-10010
Stringrequired
Part namepart_name

Plain text name for the part (from the parts manual, or colloquial).

Stringrequired
Part quantitypart_qty

How many of this part are required.

Stringoptional