Template:InfoboxProductLine: Difference between revisions
Appearance
various style fixes, might need more modification |
add aspect-ratio to infobox picture wrapper |
||
Line 6: | Line 6: | ||
<div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc; padding-bottom: .25em;"> {{{Title|{{PAGENAME}}}}} </div> | <div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc; padding-bottom: .25em;"> {{{Title|{{PAGENAME}}}}} </div> | ||
<div style=" | <div style="aspect-ratio: 2 / 1;align-items: center;justify-content: center;display: flex;">[[File:{{{Logo}}}|200px]]</div> | ||
<table style="width:100%;"> | <table style="width:100%;"> |
Revision as of 17:24, 19 January 2025
Usage
To have this infobox appear to the right of the page, add this to the page with the text you wish to appear on the box when using the source editor.
{{InfoboxProductLine | Title = | Release Year = | Product Type = | In Production = | Official Website = | Logo = }}
Template Data
This is a a simple information box to use in product line articles. Parameters are the information displayed on the infobox.
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 accociated with this product. If there is no specific logo a picture of the product.
| File | required |