Template:InfoboxProductLine: Difference between revisions
fix noinclude Tag: Reverted |
added short description field for browser extension Tag: 2017 source edit |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 7: | Line 7: | ||
<tr> | <tr> | ||
<th colspan=2 class="infobox-table-caption" >Basic Information</th> | <th colspan=2 class="infobox-table-caption" >Basic Information</th> | ||
</tr> | |||
<tr> | |||
<th>{{nowrap|Short description}}</th> | |||
<td>{{{short_description}}}</td> | |||
</tr> | </tr> | ||
Line 33: | Line 38: | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
'''Short description:''' This appears as a browser alert when someone visits a site related to this product. Limit to 140 characters. | |||
{{InfoboxProductLine | {{InfoboxProductLine | ||
| Title = Product Name | | Title = Product Name | ||
| short_description = Brief alert text for browser extension when users visit this product’s site | |||
| Release Year = 2000 | | Release Year = 2000 | ||
| Product Type = Type of product | | Product Type = Type of product | ||
| In Production = Yes | | In Production = Yes | ||
| Official Website = | | Official Website = https://example.com/ | ||
| Logo= QuestionMark.svg | | Logo = QuestionMark.svg | ||
}} | }} | ||
<pre> | <pre> | ||
Line 47: | Line 54: | ||
{{InfoboxProductLine | {{InfoboxProductLine | ||
| Title = | | Title = | ||
| short_description = | |||
| Release Year = | | Release Year = | ||
| Product Type = | | Product Type = | ||
Line 55: | Line 63: | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
[[Category:Styling templates]] | |||
{{Clear}} | |||
== Template Data == | == Template Data == | ||
<templatedata> | <templatedata> | ||
Line 63: | Line 73: | ||
"type": "string", | "type": "string", | ||
"description": "Name of Product Line", | "description": "Name of Product Line", | ||
"required": true | |||
}, | |||
"short_description": { | |||
"type": "string", | |||
"description": "Appears in the browser extension when a user visits a site related to this product. Limit to 140 characters.", | |||
"required": true | "required": true | ||
}, | }, | ||
Line 73: | Line 88: | ||
"type": "string", | "type": "string", | ||
"description": "Classification of product (line)", | "description": "Classification of product (line)", | ||
"example": "Hardware, Software, Service,Laptop, Blender", | "example": "Hardware, Software, Service, Laptop, Blender", | ||
"required": true | "required": true | ||
}, | }, | ||
Line 88: | Line 103: | ||
}, | }, | ||
"Logo": { | "Logo": { | ||
"description": "The logo | "description": "The logo associated with this product. If there is no specific logo, use a picture of the product.", | ||
"example": "filename.[jpg|png|svg]", | "example": "filename.[jpg|png|svg]", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
Line 96: | Line 111: | ||
} | } | ||
}, | }, | ||
"description": "This is | "description": "This is a simple information box to use in product line articles. Includes structured data and a short description for external use.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"Title", | |||
"short_description", | |||
"Release Year", | |||
"Product Type", | |||
"In Production", | |||
"Official Website", | |||
"Logo" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 05:19, 12 June 2025
Usage
Short description: This appears as a browser alert when someone visits a site related to this product. Limit to 140 characters.
Basic Information | |
---|---|
Short description | Brief alert text for browser extension when users visit this product’s site |
Release Year | 2000 |
Product Type | Type of product |
In Production | Yes |
Official Website | https://example.com/ |
{{InfoboxProductLine | Title = | short_description = | Release Year = | Product Type = | In Production = | Official Website = | Logo = }}
Template Data
This is a simple information box to use in product line articles. Includes structured data and a short description for external use.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | Title | Name of Product Line | String | required |
short_description | short_description | Appears in the browser extension when a user visits a site related to this product. Limit to 140 characters. | String | required |
Release Year | Release Year | What year was the product/product line introduced | String | required |
Product Type | Product Type | Classification of product (line)
| String | required |
In Production | In Production | Determines if a product is in production currently
| String | required |
Official Website | Official Website | Website of product if it exists. (use wayback machine if necessary) | String | required |
Logo | Logo | The logo associated with this product. If there is no specific logo, use a picture of the product.
| File | required |