Template:IncidentCargo: Difference between revisions
Appearance
Schang1146 (talk | contribs) Initial edit |
Schang1146 (talk | contribs) Make optional fields blank if no value provided |
||
(13 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
; Fields available: | ; Fields available: | ||
: '''Company:''' ( | : '''Company:''' (Optional) Related company pages | ||
: '''StartDate:''' (Optional) Start date of incident | : '''StartDate:''' (Optional) Start date of incident | ||
: '''EndDate:''' (Optional) End date of incident | : '''EndDate:''' (Optional) End date of incident | ||
: ''' | : '''Status:''' (Optional) Status of the incident (Active, Pending Resolution, Resolved) | ||
: ''' | : '''ProductLine:''' (Optional) Related product line pages | ||
: '''Product:''' (Optional) Related product pages | : '''Product:''' (Optional) Related product pages | ||
: '''ArticleType''' ( | : '''ArticleType''' (Optional) Indicates whether or not the incident is related to a "Product" or "Service" | ||
: '''Type:''' ( | : '''Type:''' (Optional) Type of incident (e.g. Repairability, Privacy, etc.) | ||
: '''Description:''' ( | : '''Description:''' (Optional) Description of the incident in 150 characters or less | ||
{{#template_params:Company (label=Company) | |||
|StartDate (label=Start Date) | |||
|EndDate (label=End Date) | |||
|Status (label=Status) | |||
|ProductLine (label=Product Line) | |||
|Product (label=Product) | |||
|ArticleType (label=Article Type) | |||
|Type (label=Type) | |||
|Description (Label=Description) | |||
}} | |||
{{#cargo_declare:_table=Incident | {{#cargo_declare:_table=Incident | ||
| Company = List (,) of Page | | Company = List (,) of Page | ||
| StartDate = | | StartDate = Start date | ||
| EndDate = | | EndDate = End date | ||
| | | Status = String (allowed values=Active,Pending Resolution,Resolved) | ||
| | | ProductLine = List (,) of Page | ||
| Product = List (,) of Page | | Product = List (,) of Page | ||
| ArticleType = String (allowed values=Product,Service | | ArticleType = String (allowed values=Product,Service) | ||
| Type = List (,) of String | | Type = List (,) of String | ||
| Description = String | | Description = String | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=Incident}} | {{#cargo_store:_table=Incident | ||
| Company = {{{Company|}}} | |||
| StartDate = {{{StartDate|}}} | |||
| EndDate = {{{EndDate|}}} | |||
| Status = {{{Status|}}} | |||
| ProductLine = {{{ProductLine|}}} | |||
| Product = {{{Product|}}} | |||
| ArticleType = {{{ArticleType|}}} | |||
| Type = {{{Type|}}} | |||
| Description = {{{Description|}}} | |||
}} | |||
</includeonly> | </includeonly> |
Latest revision as of 23:59, 2 July 2025
Important: This is a work in progress
This is the "Incident" template used with Cargo and the Wiki extension.
- Fields available
- Company: (Optional) Related company pages
- StartDate: (Optional) Start date of incident
- EndDate: (Optional) End date of incident
- Status: (Optional) Status of the incident (Active, Pending Resolution, Resolved)
- ProductLine: (Optional) Related product line pages
- Product: (Optional) Related product pages
- ArticleType (Optional) Indicates whether or not the incident is related to a "Product" or "Service"
- Type: (Optional) Type of incident (e.g. Repairability, Privacy, etc.)
- Description: (Optional) Description of the incident in 150 characters or less
This is the "IncidentCargo" template.
It should be called in the following format:
{{IncidentCargo |Company= |StartDate= |EndDate= |Status= |ProductLine= |Product= |ArticleType= |Type= |Description= }}
Edit the page to see the template text.
This template defines the table "Incident". View table.