Jump to content

Template:InfoboxProductLine: Difference between revisions

From Consumer Rights Wiki
added short description field for browser extension
Tag: 2017 source edit
removed summary. the summary will go in the cargo table, which is different
 
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 38: Line 33:
</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
Line 54: Line 47:
{{InfoboxProductLine
{{InfoboxProductLine
| Title =  
| Title =  
| short_description =
| Release Year =  
| Release Year =  
| Product Type =  
| Product Type =  
Line 73: Line 65:
"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 111: Line 98:
}
}
},
},
"description": "This is a simple information box to use in product line articles. Includes structured data and a short description for external use.",
"description": "This is a simple information box to use in product line articles. Includes structured data.",
"format": "block",
"format": "block",
"paramOrder": [
"paramOrder": [
"Title",
"Title",
"short_description",
"Release Year",
"Release Year",
"Product Type",
"Product Type",

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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
TitleTitle

Name of Product Line

Stringrequired
Release YearRelease Year

What year was the product/product line introduced

Stringrequired
Product TypeProduct Type

Classification of product (line)

Example
Hardware, Software, Service, Laptop, Blender
Stringrequired
In ProductionIn Production

Determines if a product is in production currently

Example
Yes, No
Stringrequired
Official WebsiteOfficial Website

Website of product if it exists. (use wayback machine if necessary)

Stringrequired
LogoLogo

The logo associated with this product. If there is no specific logo, use a picture of the product.

Default
QuestionMark.svg
Example
filename.[jpg|png|svg]
Auto value
QuestionMark.svg
Filerequired