Jump to content

Template:InfoboxProductLine: Difference between revisions

From Consumer Rights Wiki
mNo edit summary
removed summary. the summary will go in the cargo table, which is different
 
(17 intermediate revisions by 7 users not shown)
Line 33: Line 33:
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Usage ==
== Usage ==
{{InfoboxProductLine
{{InfoboxProductLine
| Title = Product Name
| Title = Product Name
Line 38: Line 39:
| Product Type = Type of product
| Product Type = Type of product
| In Production = Yes
| In Production = Yes
| Official Website = somewebsite.somewhere
| Official Website = https://example.com/
| Logo= QuestionMark.svg
| Logo = QuestionMark.svg
}}
}}
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.


<pre>
<pre>
Line 55: Line 55:
</nowiki>
</nowiki>
</pre>
</pre>
[[Category:Styling templates]]
{{Clear}}


== Template Data ==
== Template Data ==
Line 73: 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 88: Line 90:
},
},
"Logo": {
"Logo": {
"description": "The logo accociated with this product. If there is no specific logo a picture of the product.",
"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 98:
}
}
},
},
"description": "This is a a simple information box to use in product line articles.\nParameters are the information displayed on the infobox.",
"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.

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