Template:ProductCargo: Difference between revisions
Schang1146 (talk | contribs) Add infobox and ReleaseYear & InProduction fields |
Schang1146 (talk | contribs) Reorder fields alphabetically |
||
Line 4: | Line 4: | ||
; Fields available: | ; Fields available: | ||
: '''ArticleType''' (Optional) Indicates whether or not the incident is related to a "Product" or "Service" | |||
: '''Category:''' (Optional) Categories that the product could fall under (e.g. Laptop, Desktop, Server, etc.) | |||
: '''Company:''' (Optional) Related company pages | : '''Company:''' (Optional) Related company pages | ||
: '''Description:''' (Optional) Description of the incident in 150 characters or less | |||
: '''InProduction:''' (Optional) Whether or not the product is still being produced | |||
: '''Logo:''' (Optional) Image file of the product's logo | |||
: '''ProductLine:''' (Optional) Related product line pages | : '''ProductLine:''' (Optional) Related product line pages | ||
: ''' | : '''ReleaseYear:''' (Optional) Year that the product was released | ||
: '''Website:''' (Optional) Links to a product's website - only include a website if it represents a separate top level domain (TLD) or regional variation | : '''Website:''' (Optional) Links to a product's website - only include a website if it represents a separate top level domain (TLD) or regional variation | ||
{{#template_params:Company (label=Company) | {{#template_params:ArticleType (label=Article Type) | ||
|Category (label=Category) | |||
|Company (label=Company) | |||
|Description (label=Description) | |||
|InProduction (label=In Production) | |||
|Logo (label=Logo) | |||
|ProductLine (label=Product Line) | |ProductLine (label=Product Line) | ||
| | |ReleaseYear (label=Release Year) | ||
|Website (label=Website) | |Website (label=Website) | ||
}} | }} | ||
{{#cargo_declare:_table=Product | {{#cargo_declare:_table=Product | ||
| ArticleType = String (allowed values=Product,Service) | |||
| Category = List (,) of String | |||
| Company = List (,) of Page | | Company = List (,) of Page | ||
| Description = String | |||
| InProduction = Boolean | |||
| Logo = File | |||
| ProductLine = List (,) of Page | | ProductLine = List (,) of Page | ||
| | | ReleaseYear = Date | ||
| Website = List (,) of URL | | Website = List (,) of URL | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=Product | {{#cargo_store:_table=Product | ||
| ArticleType = {{{ArticleType|}}} | |||
| Category = {{{Category|}}} | |||
| Company = {{{Company|}}} | | Company = {{{Company|}}} | ||
| Description = {{{Description|}}} | |||
| InProduction = {{{InProduction|}}} | |||
| Logo = {{{Logo|}}} | |||
| ProductLine = {{{ProductLine|}}} | | ProductLine = {{{ProductLine|}}} | ||
| | | ReleaseYear = {{{ReleaseYear|}}} | ||
| Website = {{{Website|}}} | | Website = {{{Website|}}} | ||
}} | }} | ||