Template:ProductLineCargo: Difference between revisions
Appearance
Schang1146 (talk | contribs) Initial edit |
Schang1146 (talk | contribs) Add #template_params |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
; Fields available: | ; Fields available: | ||
: '''Company:''' ( | : '''Company:''' (Optional) Related company pages | ||
: ''' | : '''Category:''' (Optional) Categories that the product could fall under (e.g. Laptop, Desktop, Server, etc.) | ||
: '''ArticleType''' ( | : '''ArticleType''' (Optional) 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 | ||
: '''Logo:''' (Optional) Image file of the product's logo | : '''Logo:''' (Optional) Image file of the product's logo | ||
: '''Description:''' ( | : '''Description:''' (Optional) Description of the incident in 150 characters or less | ||
{{#template_params:Company (label=Company) | |||
|Category (label=Category) | |||
|ArticleType (label=Article Type) | |||
|Website (label=Website) | |||
|Logo (label=Logo) | |||
|Description (label=Description) | |||
}} | |||
{{#cargo_declare:_table=ProductLine | {{#cargo_declare:_table=ProductLine | ||
| Company = List (,) of Page | | Company = List (,) of Page | ||
| | | Category = List (,) of String | ||
| ArticleType = String (allowed values=Product,Service | | ArticleType = String (allowed values=Product,Service) | ||
| Website = List (,) of URL | | Website = List (,) of URL | ||
| Logo = File | | Logo = File | ||
| Description = String | | Description = String | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=ProductLine}} | {{#cargo_store:_table=ProductLine | ||
| Company = {{{Company}}} | |||
| Category = {{{Category}}} | |||
| ArticleType = {{{ArticleType}}} | |||
| Website = {{{Website}}} | |||
| Logo = {{{Logo}}} | |||
| Description = {{{Description}}} | |||
}} | |||
</includeonly> | </includeonly> |
Latest revision as of 00:19, 3 July 2025
Important: This is a work in progress
This is the "ProductLine" template used with Cargo and the Wiki extension.
- Fields available
- Company: (Optional) Related company pages
- Category: (Optional) Categories that the product could fall under (e.g. Laptop, Desktop, Server, etc.)
- ArticleType (Optional) 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: (Optional) Description of the incident in 150 characters or less
This is the "ProductLineCargo" template.
It should be called in the following format:
{{ProductLineCargo |Company= |Category= |ArticleType= |Website= |Logo= |Description= }}
Edit the page to see the template text.
This template defines the table "ProductLine". View table.