Template:ProductCargo: Difference between revisions

Schang1146 (talk | contribs)
Initial edit
 
Schang1146 (talk | contribs)
Add template parameters
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
; Fields available:
; Fields available:
: '''Company:''' (Mandatory) Related company pages
: '''Company:''' (Mandatory) Related company pages
: '''ProductLines:''' (Optional) Related product line pages
: '''ProductLine:''' (Optional) Related product line 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 14: Line 14:
{{#cargo_declare:_table=Product
{{#cargo_declare:_table=Product
| Company        = List (,) of Page (mandatory)
| Company        = List (,) of Page (mandatory)
| ProductLines  = List (,) of Page
| ProductLine    = List (,) of Page
| 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
Line 23: Line 23:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#cargo_store:_table=Product}}
{{#cargo_store:_table=Product
| Company        = {{{Company}}}
| ProductLine    = {{{ProductLine}}}
| Category      = {{{Category}}}
| ArticleType    = {{{ArticleType}}}
| Website        = {{{Website}}}
| Logo          = {{{Logo}}}
| Description    = {{{Description}}}
}}
</includeonly>
</includeonly>