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
remove parser function, make params required |
m →Usage |
||
(3 intermediate revisions by the same user not shown) | |||
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; padding-bottom: .25em;"> {{{Title|{{PAGENAME}}}}} </div> | ||
<table style="width:100%;"> | <table style="width:100%;"> | ||
Line 36: | Line 36: | ||
== Usage == | == Usage == | ||
Add this to the page with the text you wish to appear on the box when using the source editor. | |||
<pre><nowiki>{{InfoboxProductLine | <pre><nowiki>{{InfoboxProductLine | ||
| Title = | | Title = | ||
Line 78: | Line 79: | ||
}, | }, | ||
"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 a simple information box to use in product line articles.\nParameters are the information displayed on the infobox.", | ||
"format": " | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 20:12, 14 January 2025
InfoboxProductLine
Basic Information | |
---|---|
Release Year | {{{Release Year}}} |
Product Type | {{{Product Type}}} |
In Production | {{{In Production}}} |
Official Website | {{{Official Website}}} |
Usage[edit source]
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 = }}
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 |