Jump to content

Template:IncidentCargo: Difference between revisions

From Consumer Rights Wiki
Schang1146 (talk | contribs)
No edit summary
Schang1146 (talk | contribs)
m Protected "Template:IncidentCargo" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Important|This is a work in progress}}
This is the "Incident" template used with Cargo and the Wiki extension.
This is the "Incident" template used with Cargo and the Wiki extension.


Line 36: Line 35:
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly><!--
{{#cargo_store:_table=Incident
 
| Company        = {{{Company}}}
-->{{#cargo_store:_table=Incident
| StartDate      = {{{StartDate}}}
| Company        = {{{Company|}}}
| EndDate        = {{{EndDate}}}
| StartDate      = {{{StartDate|}}}
| Status        = {{{Status}}}
| EndDate        = {{{EndDate|}}}
| ProductLine    = {{{ProductLine}}}
| Status        = {{{Status|}}}
| Product        = {{{Product}}}
| ProductLine    = {{{ProductLine|}}}
| ArticleType    = {{{ArticleType}}}
| Product        = {{{Product|}}}
| Type          = {{{Type}}}
| ArticleType    = {{{ArticleType|}}}
| Description    = {{{Description}}}
| Type          = {{{Type|}}}
}}
| Description    = {{{Description|}}}
</includeonly>
}}<!--
 
// hacky MediaWiki HTML manipulation to prevent a <br /> tag from showing up
--><div></div></includeonly>

Latest revision as of 22:06, 22 August 2025

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.