Jump to content

Template:Infobox product: Difference between revisions

From Stationery Wiki
added released
Semantic
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| border="0" cellpadding="3" cellspacing="1" align="right" style="margin-left:1em; background:#f0f0f0;width:300px;"
{| border="0" cellpadding="3" cellspacing="1" align="right" style="margin-left:1em; background:#f0f0f0;width:300px;"
|-
|-
! colspan="2" | {{{name}}}
! colspan="2" | [[Product name::{{{name}}}]]
|- bgcolor="#ffffff"
|- bgcolor="#ffffff"
| Manufacturer: || {{{manufacturer}}}
| Manufacturer: || [[Made by::{{{manufacturer}}}]]
|- bgcolor="#ffffff"
|- bgcolor="#ffffff"
| First released: || {{{released}}}
| First released: || [[First released::{{{released}}}]]
|- bgcolor="#ffffff"
|- bgcolor="#ffffff"
| Made in : || {{{made_in}}}
| Discontinued: || {{#if: {{{discontinued}}} | [[Discontinued::{{{discontinued}}}]] | Still available}}
|- bgcolor="#ffffff"
| Made in : || [[Made in::{{{made_in}}}]]
|- bgcolor="#ffffff"
| Limited Edition: || {{#if: {{{limited_edition}}} | [[Limited edition::{{{limited_edition}}}]] | Not a limited product}}
|- bgcolor="#ffffff"
|- bgcolor="#ffffff"
|}
|}
Line 16: Line 20:
To use it in an article, copy the template below and paste it into an article.
To use it in an article, copy the template below and paste it into an article.
Empty fields won't be displayed in the article.  
Empty fields won't be displayed in the article.  
====Semantic information====
First Released and Discontinued are automatically made semantic, similar to the [[Template:Infobox product]] template.
If the product is still in production leave the discontinued field empty.


===Template===
===Template===
Line 23: Line 32:
| manufacturer =  
| manufacturer =  
| released =  
| released =  
| discontinued =
| made_in =  
| made_in =  
| limited_edition =
}}
}}
</nowiki></pre>
</nowiki></pre>

Latest revision as of 17:49, 5 July 2017

{{{name}}}
Manufacturer: {{{manufacturer}}}
First released: {{{released}}}
Discontinued: {{{discontinued}}}
Made in : {{{made_in}}}
Limited Edition: {{{limited_edition}}}


Description[edit]

This template is used to create an infobox in an article about a (generic) product. To use it in an article, copy the template below and paste it into an article. Empty fields won't be displayed in the article.

Semantic information[edit]

First Released and Discontinued are automatically made semantic, similar to the Template:Infobox product template. If the product is still in production leave the discontinued field empty.


Template[edit]

{{Infobox product
| name = 
| manufacturer = 
| released = 
| discontinued =
| made_in = 
| limited_edition =
}}