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 |
→Usage: fix doc |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<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="text-align: center; padding-top: .2em;">[[File:{{{Logo}}}|200px]]</div> | |||
<table style="width:100%;"> | <table style="width:100%;"> | ||
Line 45: | Line 47: | ||
| In Production = Yes | | In Production = Yes | ||
| Official Website = somewebsite.somewhere | | Official Website = somewebsite.somewhere | ||
| Logo= QuestionMark.svg | |||
}} | }} | ||
add this to the page with the text you wish to appear on the box when using the source editor. | add this to the page with the text you wish to appear on the box when using the source editor. | ||
Line 55: | Line 58: | ||
| In Production = | | In Production = | ||
| Official Website = | | Official Website = | ||
| Logo = | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
Line 88: | Line 92: | ||
"type": "string", | "type": "string", | ||
"description": "Website of product if it exists. (use wayback machine if necessary)", | "description": "Website of product if it exists. (use wayback machine if necessary)", | ||
"required": true | |||
}, | |||
"Logo": { | |||
"description": "The logo accociated with this product. If there is no specific logo a picture of the product.", | |||
"example": "filename.[jpg|png|svg]", | |||
"type": "wiki-file-name", | |||
"autovalue": "QuestionMark.svg", | |||
"default": "QuestionMark.svg", | |||
"required": true | "required": true | ||
} | } |
Latest revision as of 13:59, 16 January 2025
Usage[edit source]
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 = | Logo = }}
Template Data[edit source]
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 |