Jump to content

Template:ProductLineCargo: Difference between revisions

From Consumer Rights Wiki
Initial edit
 
Use singular syntax
Line 5: Line 5:
; Fields available:
; Fields available:
: '''Company:''' (Mandatory) Related company pages
: '''Company:''' (Mandatory) Related company pages
: '''Categories:''' (Optional) Categories that the product could fall under (e.g. Laptop, Desktop, Server, etc.)
: '''Category:''' (Optional) Categories that the product could fall under (e.g. Laptop, Desktop, Server, etc.)
: '''ArticleType''' (Mandatory) Indicates whether or not the incident is related to a "Product" or "Service"
: '''ArticleType''' (Mandatory) Indicates whether or not the incident is related to a "Product" or "Service"
: '''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
Line 13: Line 13:
{{#cargo_declare:_table=ProductLine
{{#cargo_declare:_table=ProductLine
| Company        = List (,) of Page (mandatory)
| Company        = List (,) of Page (mandatory)
| Categories    = List (,) of String
| Category      = List (,) of String
| ArticleType    = String (allowed values=Product,Service; mandatory)
| ArticleType    = String (allowed values=Product,Service; mandatory)
| Website        = List (,) of URL
| Website        = List (,) of URL

Revision as of 23:46, 23 June 2025


Important: This is a work in progress


This is the "ProductLine" template used with Cargo and the Wiki extension.

Fields available
Company: (Mandatory) Related company pages
Category: (Optional) Categories that the product could fall under (e.g. Laptop, Desktop, Server, etc.)
ArticleType (Mandatory) Indicates whether or not the incident is related to a "Product" or "Service"
Website: (Optional) Links to a product's website - only include a website if it represents a separate top level domain (TLD) or regional variation
Logo: (Optional) Image file of the product's logo
Description: (Mandatory) Description of the incident in 150 characters or less

This template defines the table "ProductLine". View table.