Template:Toy Infobox: Difference between revisions

From BoneDexter
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{| class="infobox-content"
{| class="infobox-content"
|-
|-
! colspan="2" style="text-align:center;" | {{{thumbnail|}}}
! colspan="2" style="text-align:center;" | [[File:{{{thumbnail|}}}|150px]]
|-
|-
! Name
! Name
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>
{
{
"params": {
  "description": "Infobox for toy or insertable product pages.",
"thumbnail": {},
  "params": {
"name": {},
    "thumbnail": {
"site": {},
      "label": "Thumbnail image",
"date": {}
      "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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Thumbnail imagethumbnail

Image file name to display at the top of the infobox. Do not include File: or brackets.

Stringoptional
Namename

Display name of the product.

Stringrequired
Store pagesite

External link to the official store page.

Stringoptional
Release datedate

Product release date, if known.

Stringoptional