Template:Toy Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
Euphemural (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
== Usage == | |||
The following code demonstrates the recommended usage of the <code>Toy_Infobox</code> template. | |||
Parameters shown are optional unless otherwise noted. | |||
<pre> | |||
{{Toy_Infobox | |||
| thumbnail = example_image.webp | |||
| name = Example Product Name | |||
| site = https://example.com/product | |||
| date = 2024 | |||
}} | |||
</pre> | |||
== Technical information == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Infobox for toy or insertable product pages.", | |||
"params": { | |||
"thumbnail": { | |||
"label": "Thumbnail image", | |||
"description": "Image file name to display at the top of the infobox. Do not include File: or brackets.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Display name of the product.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"site": { | |||
"label": "Store page", | |||
"description": "External link to the official store page.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"date": { | |||
"label": "Release date", | |||
"description": "Product release date, if known.", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:25, 10 January 2026
| [[File:|150px]] | |
|---|---|
| Name | |
| Store Page | |
| Release Date | |
Usage
The following code demonstrates the recommended usage of the Toy_Infobox template.
Parameters shown are optional unless otherwise noted.
{{Toy_Infobox
| thumbnail = example_image.webp
| name = Example Product Name
| site = https://example.com/product
| date = 2024
}}
Technical information
Infobox for toy or insertable product pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Thumbnail image | thumbnail | Image file name to display at the top of the infobox. Do not include File: or brackets. | String | optional |
| Name | name | Display name of the product. | String | required |
| Store page | site | External link to the official store page. | String | optional |
| Release date | date | Product release date, if known. | String | optional |