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 Again fix focs |
Remove picture until determining if external images are enabled. Remove multiple checks to avoid empty header, add nowrap to website |
||
Line 1: | Line 1: | ||
<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;"> | ||
<div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc;">{{{Title|{{PAGENAME}}}}}</div> | <div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc;">{{{Title|{{PAGENAME}}}}}</div> | ||
<table style="width:100%;"> | |||
<table style="width:100%;">{{#if:{{{Release Year|}}}{{{Product Type|}}}{{{In Production|}}}{{{Official Website|}}}|<tr> | {{#if:{{{Release Year|}}}{{{Product Type|}}}{{{In Production|}}}{{{Official Website|}}}|<tr> | ||
<th colspan=2 style="text-align: left; border-bottom: 1px solid #ccc; font-size:125%; padding-top: 1.5em;">Basic Information</th> | <th colspan=2 style="text-align: left; border-bottom: 1px solid #ccc; font-size:125%; padding-top: 1.5em;">Basic Information</th> | ||
</tr>}} | </tr>}} | ||
Line 16: | Line 16: | ||
</tr>}}{{#if:{{{Official Website|}}}|<tr> | </tr>}}{{#if:{{{Official Website|}}}|<tr> | ||
<th>{{nowrap|Official Website}}</th> | <th>{{nowrap|Official Website}}</th> | ||
<td>{{{Official Website}}}</td> | <td>{{nowrap|{{{Official Website}}}}}</td> | ||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
Line 26: | Line 26: | ||
<pre><nowiki>{{InfoboxProductLine | <pre><nowiki>{{InfoboxProductLine | ||
| Title = | | Title = | ||
| Release Year = | | Release Year = | ||
| Product Type = | | Product Type = | ||
Line 41: | Line 40: | ||
"type": "string", | "type": "string", | ||
"description": "Name of Product Line" | "description": "Name of Product Line" | ||
}, | }, | ||
"Release Year": { | "Release Year": { |
Revision as of 18:57, 13 January 2025
InfoboxProductLine
{{#if:|}}
{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}
Basic Information | |
---|---|
Release Year | {{{Release Year}}} |
Product Type | {{{Product Type}}} |
In Production | {{{In Production}}} |
Official Website | {{{Official Website}}} |
Usage
{{InfoboxProductLine | Title = | Release Year = | Product Type = | In Production = | Official Website = }}
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 | optional |
Release Year | Release Year | What year was the product/product line introduced | String | optional |
Product Type | Product Type | Classification of product (line)
| String | optional |
In Production | In Production | Determines if a product is in production currently
| String | optional |
Official Website | Official Website | Website of product if it exists. (use wayback machine if necessary) | String | optional |