Please note that all submissions to the site are subject to the wiki's licence, CC 4.0 BY-SA, as found here

Template:InfoboxProductLine: Difference between revisions

From Consumer Action Taskforce
Jump to navigationJump to search
m clean up documentation
Line 1: Line 1:
<includeonly>
<div style="background: #eee;border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 0.5em; width: 400px;">
<div style="background: #eee;border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 0.5em; width: 400px;">


Line 32: Line 33:


</div>
</div>
</includeonly>


<noinclude>
<noinclude>


== Usage ==
== Usage ==
Add this to the page with the text you wish to appear on the box when using the source editor.
To have this infobox appear to the right of the page:
<pre><nowiki>{{InfoboxProductLine
{{InfoboxProductLine
| Title = Product Name
| Release Year = 2000
| Product Type = Type of product
| In Production = Yes
| Official Website = somewebsite.somewhere
}}
add this to the page with the text you wish to appear on the box when using the source editor.
<pre>
<nowiki>
{{InfoboxProductLine
| Title =  
| Title =  
| Release Year =  
| Release Year =  
Line 44: Line 56:
| Official Website =  
| Official Website =  
}}
}}
</nowiki></pre>
</nowiki>
</pre>


== Template Data ==
<templatedata>
<templatedata>
{
{

Revision as of 11:07, 16 January 2025



Usage

To have this infobox appear to the right of the page:

Product Name
Basic Information
Release Year 2000
Product Type Type of product
In Production Yes
Official Website somewebsite.somewhere


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 = 
}}

Template Data

This is a a simple information box to use in product line articles. Parameters are the information displayed on the infobox.

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