Template:Infobox tutorial/part: Difference between revisions
Robertbaxter (talk | contribs) (Created page with "<noinclude> This is a helper template for Template:Infobox tutorial, it takes information about a part and displays it as an item in the infobox. == TemplateData == <templatedata> { "params": { "1": { "label": "Part number", "description": "Unique OEM number from the part.", "type": "string", "required": true, "example": "612-10010" }, "2": { "label": "Part name", "description": "Plain text name for the part (from the parts manual, or col...") |
Robertbaxter (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
} | } | ||
}, | }, | ||
"description": "A helper template to display parts in the infobox for a | "description": "A helper template to display parts in the infobox for a tutorial.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly><div>{{#if:{{{3|}}}|{{{3}}} × |}}{{{2}}} | </noinclude><includeonly><div><code style="font-size:.75rem;">{{{1}}}</code> {{#if:{{{3|}}}|{{{3}}} × |}}{{{2}}}</div></includeonly> |
Latest revision as of 17:17, 3 February 2025
This is a helper template for Template:Infobox tutorial, it takes information about a part and displays it as an item in the infobox.
TemplateData
A helper template to display parts in the infobox for a tutorial.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Part number | 1 | Unique OEM number from the part.
| String | required |
Part name | 2 | Plain text name for the part (from the parts manual, or colloquial). | String | required |
Part quantity | 3 | How many of this part are required. | String | optional |