Template:InfoboxProductLine: Difference between revisions
Appearance
→Usage: fix doc |
removed summary. the summary will go in the cargo table, which is different |
||
(24 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="infobox"> | ||
<div style=" | <div style="display:flex;gap:8px;flex-direction:column;"> | ||
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div> | |||
<div | <div class="infobox-image">[[File:{{{Logo}}}|200px]]</div> | ||
<table class="infobox-table"> | |||
<div | |||
<table | |||
<tr> | <tr> | ||
<th colspan=2 | <th colspan=2 class="infobox-table-caption" >Basic Information</th> | ||
</tr> | </tr> | ||
Line 29: | Line 26: | ||
<tr> | <tr> | ||
<th>{{nowrap|Official Website}}</th> | <th>{{nowrap|Official Website}}</th> | ||
<td> | <td>{{{Official Website}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
</includeonly> | </div></includeonly><noinclude> | ||
== Usage == | |||
<noinclude> | |||
{{InfoboxProductLine | {{InfoboxProductLine | ||
| Title = Product Name | | Title = Product Name | ||
| 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> | ||
<nowiki> | <nowiki> | ||
Line 62: | Line 55: | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
[[Category:Styling templates]] | |||
{{Clear}} | |||
== Template Data == | == Template Data == | ||
Line 80: | 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 95: | 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 103: | 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> |
Latest revision as of 09:53, 22 June 2025
Usage
Product Name
Basic Information | |
---|---|
Release Year | 2000 |
Product Type | Type of product |
In Production | Yes |
Official Website | https://example.com/ |
{{InfoboxProductLine | Title = | 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | Title | Name of Product Line | 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 |