Template:InfoboxProductLine: Difference between revisions
No edit summary Tag: Reverted |
removed summary. the summary will go in the cargo table, which is different |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 32: | Line 32: | ||
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
== Usage == | |||
{{InfoboxProductLine | |||
| Title = Product Name | |||
| Release Year = 2000 | |||
| Product Type = Type of product | |||
| In Production = Yes | |||
| Official Website = https://example.com/ | |||
| Logo = QuestionMark.svg | |||
}} | |||
<pre> | |||
<nowiki> | |||
{{InfoboxProductLine | |||
| Title = | |||
| Release Year = | |||
| Product Type = | |||
| In Production = | |||
| Official Website = | |||
| Logo = | |||
}} | |||
</nowiki> | |||
</pre> | |||
[[Category:Styling templates]] | |||
{{Clear}} | |||
== Template Data == | == Template Data == | ||
<templatedata> | <templatedata> | ||
Line 49: | Line 75: | ||
"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 64: | Line 90: | ||
}, | }, | ||
"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 72: | Line 98: | ||
} | } | ||
}, | }, | ||
"description": "This is | "description": "This is a simple information box to use in product line articles. Includes structured data.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"Title", | |||
"Release Year", | |||
"Product Type", | |||
"In Production", | |||
"Official Website", | |||
"Logo" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |